Skip to content

Commit 2900dce

Browse files
author
james
committed
docs: add link to module resolution in ql spec
(cherry picked from commit f2320bb)
1 parent a974bcc commit 2900dce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/language/ql-handbook/modules.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ into the :ref:`namespace <namespaces>` of the current module.
160160
Import statements
161161
=================
162162

163-
Import statements are used for importing modules and are of the form::
163+
Import statements are used for importing modules. They are of the form::
164164

165165
import <module_expression1> as <name>
166166
import <module_expression2>
@@ -175,3 +175,6 @@ for example ``import javascript as js``.
175175

176176
The ``<module_expression>`` itself can be a module name, a selection, or a qualified
177177
reference. See :ref:`name-resolution` for more details.
178+
179+
For information about how import statements are looked up, see `Module resolution <https://help.semmle.com/QL/ql-spec/language.html#module-resolution>`__
180+
in the QL language specification.

0 commit comments

Comments
 (0)