@@ -351,7 +351,7 @@ A QL signature definition has the following syntax:
351
351
352
352
typeSignature ::= qldoc? annotations "signature" "class" upperId ("extends" type ("," type)*)? (";" | "{" signaturePredicate* "}")
353
353
354
- moduleSignature ::= qldoc? annotation* "signature" "module" upperId parameters? "{" moduleSignatureBody "}"
354
+ moduleSignature ::= qldoc? annotation* "signature" "module" moduleSignatureName parameters? "{" moduleSignatureBody "}"
355
355
356
356
moduleSignatureBody ::= (signaturePredicate | defaultPredicate | signatureType)*
357
357
@@ -632,14 +632,15 @@ Identifiers are used in following syntactic constructs:
632
632
633
633
::
634
634
635
- simpleId ::= lowerId | upperId
636
- modulename ::= simpleId
637
- classname ::= upperId
638
- dbasetype ::= atLowerId
639
- predicateRef ::= (moduleExpr "::")? literalId
640
- predicateName ::= lowerId
641
- varname ::= lowerId
642
- literalId ::= lowerId | atLowerId
635
+ simpleId ::= lowerId | upperId
636
+ modulename ::= simpleId
637
+ moduleSignatureName ::= upperId
638
+ classname ::= upperId
639
+ dbasetype ::= atLowerId
640
+ predicateRef ::= (moduleExpr "::")? literalId
641
+ predicateName ::= lowerId
642
+ varname ::= lowerId
643
+ literalId ::= lowerId | atLowerId
643
644
644
645
Integer literals (int)
645
646
~~~~~~~~~~~~~~~~~~~~~~
@@ -2127,7 +2128,7 @@ The complete grammar for QL is as follows:
2127
2128
2128
2129
typeSignature ::= qldoc? annotations "signature" "class" upperId ("extends" type ("," type)*)? (";" | "{" signaturePredicate* "}")
2129
2130
2130
- moduleSignature ::= qldoc? annotation* "signature" "module" upperId parameters? "{" moduleSignatureBody "}"
2131
+ moduleSignature ::= qldoc? annotation* "signature" "module" moduleSignatureName parameters? "{" moduleSignatureBody "}"
2131
2132
2132
2133
moduleSignatureBody ::= (signaturePredicate | defaultPredicate | signatureType)*
2133
2134
@@ -2184,7 +2185,7 @@ The complete grammar for QL is as follows:
2184
2185
2185
2186
moduleExpr ::= simpleId arguments? | moduleExpr "::" simpleId arguments?
2186
2187
2187
- moduleSignatureExpr ::= (moduleExpr "::")? upperId arguments?
2188
+ moduleSignatureExpr ::= (moduleExpr "::")? moduleSignatureName arguments?
2188
2189
2189
2190
signatureExpr : (moduleExpr "::")? simpleId ("/" Integer | arguments)?;
2190
2191
@@ -2311,6 +2312,8 @@ The complete grammar for QL is as follows:
2311
2312
2312
2313
modulename ::= simpleId
2313
2314
2315
+ moduleSignatureName ::= upperId
2316
+
2314
2317
classname ::= upperId
2315
2318
2316
2319
dbasetype ::= atLowerId
0 commit comments