Skip to content

Commit b707815

Browse files
committed
do not use simpleId directly in module expression rules
1 parent 7ace4cd commit b707815

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ An import directive refers to a module identifier:
216216

217217
qualId ::= simpleId | qualId "." simpleId
218218

219-
importModuleExpr ::= qualId | importModuleExpr "::" simpleId arguments?
219+
importModuleExpr ::= qualId | importModuleExpr "::" modulename arguments?
220220

221221
arguments ::= "<" argument ("," argument)* ">"
222222

@@ -289,7 +289,7 @@ With the exception of class domain types and character types (which cannot be re
289289

290290
type ::= (moduleExpr "::")? classname | dbasetype | "boolean" | "date" | "float" | "int" | "string"
291291

292-
moduleExpr ::= simpleId arguments? | moduleExpr "::" simpleId arguments?
292+
moduleExpr ::= modulename arguments? | moduleExpr "::" modulename arguments?
293293

294294
A type reference is resolved to a type as follows:
295295

@@ -2116,7 +2116,7 @@ The complete grammar for QL is as follows:
21162116

21172117
qualId ::= simpleId | qualId "." simpleId
21182118

2119-
importModuleExpr ::= qualId | importModuleExpr "::" simpleId arguments?
2119+
importModuleExpr ::= qualId | importModuleExpr "::" modulename arguments?
21202120

21212121
arguments ::= "<" argument ("," argument)* ">"
21222122

@@ -2183,7 +2183,7 @@ The complete grammar for QL is as follows:
21832183

21842184
field ::= qldoc? annotations var_decl ";"
21852185

2186-
moduleExpr ::= simpleId arguments? | moduleExpr "::" simpleId arguments?
2186+
moduleExpr ::= modulename arguments? | moduleExpr "::" modulename arguments?
21872187

21882188
moduleSignatureExpr ::= (moduleExpr "::")? moduleSignatureName arguments?
21892189

0 commit comments

Comments
 (0)