File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
docs/codeql/ql-language-reference Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ that applies them one after the other:
156
156
157
157
Parameterized modules cannot be directly referenced.
158
158
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.
160
160
161
161
For example, we can instantiate ``ApplyFooThenBar `` with two identical arguments ``increment ``, creating a module
162
162
containing a predicate that adds 2:
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ In summary, the kinds of expressions are:
21
21
- **Module expressions **
22
22
- These refer to modules.
23
23
- 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 >`.
25
25
- **Type expressions **
26
26
- These refer to types.
27
27
- They can be simple :ref: `names <names >` or :ref: `selections <selections >`.
You can’t perform that action at this time.
0 commit comments