@@ -178,7 +178,7 @@ A QL module definition has the following syntax:
178
178
179
179
module ::= annotation* "module" modulename parameters? implements? "{" moduleBody "}"
180
180
181
- parameters ::= "<" signatureExpr simpleId ("," signatureExpr simpleId )* ">"
181
+ parameters ::= "<" signatureExpr parameterName ("," signatureExpr parameterName )* ">"
182
182
183
183
implements ::= "implements" moduleSignatureExpr ("," moduleSignatureExpr)*
184
184
@@ -640,6 +640,7 @@ Identifiers are used in following syntactic constructs:
640
640
predicateRef ::= (moduleExpr "::")? literalId
641
641
signatureExpr ::= (moduleExpr "::")? simpleId ("/" Integer | arguments)?;
642
642
predicateName ::= lowerId
643
+ parameterName ::= simpleId
643
644
varname ::= lowerId
644
645
literalId ::= lowerId | atLowerId
645
646
@@ -2107,7 +2108,7 @@ The complete grammar for QL is as follows:
2107
2108
2108
2109
module ::= annotation* "module" modulename parameters? implements? "{" moduleBody "}"
2109
2110
2110
- parameters ::= "<" signatureExpr simpleId ("," signatureExpr simpleId )* ">"
2111
+ parameters ::= "<" signatureExpr parameterName ("," signatureExpr parameterName )* ">"
2111
2112
2112
2113
implements ::= "implements" moduleSignatureExpr ("," moduleSignatureExpr)*
2113
2114
@@ -2323,6 +2324,8 @@ The complete grammar for QL is as follows:
2323
2324
2324
2325
predicateName ::= lowerId
2325
2326
2327
+ parameterName ::= simpleId
2328
+
2326
2329
varname ::= lowerId
2327
2330
2328
2331
literalId ::= lowerId | atLowerId | "any" | "none"
0 commit comments