Skip to content

Commit 4cbf7d2

Browse files
authored
Merge pull request #2789 from jf205/codeql-178
QL language handbook: add link to information about module resolution in QL spec
2 parents 389e626 + f2320bb commit 4cbf7d2

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)