Skip to content

Commit 61b8cee

Browse files
committed
reference module expression documentation
1 parent c21ca8f commit 61b8cee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/codeql/ql-language-reference/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ that applies them one after the other:
156156
157157
Parameterized modules cannot be directly referenced.
158158
Instead, you instantiate a parameterized module by passing arguments enclosed in angle brackets (``<`` and ``>``) to the module.
159-
Instantiated parameterized modules can be used as a module expression, identical to explicit module references.
159+
Instantiated parameterized modules can be used as a :ref:`module expression <name-resolution>`, identical to explicit module references.
160160

161161
For example, we can instantiate ``ApplyFooThenBar`` with two identical arguments ``increment``, creating a module
162162
containing a predicate that adds 2:

docs/codeql/ql-language-reference/name-resolution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In summary, the kinds of expressions are:
2121
- **Module expressions**
2222
- These refer to modules.
2323
- They can be simple :ref:`names <names>`, :ref:`qualified references <qualified-references>`
24-
(in import statements), or :ref:`selections <selections>`.
24+
(in import statements), :ref:`selections <selections>`, or :ref:`instantiations <parameterized-modules>`.
2525
- **Type expressions**
2626
- These refer to types.
2727
- They can be simple :ref:`names <names>` or :ref:`selections <selections>`.

0 commit comments

Comments
 (0)