expressir 2.4.48-aarch64-linux → 2.4.50-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/_guides/reference/grammar-crosswalk.adoc +1 -0
- data/expressir.gemspec +1 -1
- data/grammar-parg/atoms_to_parg.rb +2 -2
- data/grammar-parg/express-grammar.artifact.json +1 -1
- data/grammar-parg/express-grammar.parg +2 -1
- data/lib/expressir/express/grammar/express-grammar.artifact.json +1 -1
- data/lib/expressir/express/grammar/parser.rb +17 -1
- data/lib/expressir/reference/grammar_crosswalk.yml +3 -0
- data/lib/expressir/version.rb +1 -1
- metadata +4 -4
|
@@ -15,7 +15,7 @@ grammar ExpressSyntax version "0.1.0" edition 2 {
|
|
|
15
15
|
anyKeyword = tABS / tABSTRACT / tACOS / tAGGREGATE / tALIAS / tAND / tANDOR / tARRAY / tAS / tASIN / tATAN / tBAG / tBASED_ON / tBEGIN / tBINARY / tBLENGTH / tBOOLEAN / tBY / tCASE / tCONSTANT / tCONST_E / tCOS / tDERIVE / tDIV / tELSE / tEND / tEND_ALIAS / tEND_CASE / tEND_CONSTANT / tEND_ENTITY / tEND_FUNCTION / tEND_IF / tEND_LOCAL / tEND_PROCEDURE / tEND_REPEAT / tEND_RULE / tEND_SCHEMA / tEND_SUBTYPE_CONSTRAINT / tEND_TYPE / tENTITY / tENUMERATION / tESCAPE / tEXISTS / tEXP / tEXTENSIBLE / tFALSE / tFIXED / tFOR / tFORMAT / tFROM / tFUNCTION / tGENERIC / tGENERIC_ENTITY / tHIBOUND / tHIINDEX / tIF / tIN / tINSERT / tINTEGER / tINVERSE / tLENGTH / tLIKE / tLIST / tLOBOUND / tLOCAL / tLOG / tLOG10 / tLOG2 / tLOGICAL / tLOINDEX / tMOD / tNOT / tNUMBER / tNVL / tODD / tOF / tONEOF / tOPTIONAL / tOR / tOTHERWISE / tPI / tPROCEDURE / tQUERY / tREAL / tREFERENCE / tREMOVE / tRENAMED / tREPEAT / tRETURN / tROLESOF / tRULE / tSCHEMA / tSELECT / tSELF / tSET / tSIN / tSIZEOF / tSKIP / tSQRT / tSTRING / tSUBTYPE / tSUBTYPE_CONSTRAINT / tSUPERTYPE / tTAN / tTHEN / tTO / tTRUE / tTYPE / tTYPEOF / tTOTAL_OVER / tUNIQUE / tUNKNOWN / tUNTIL / tUSE / tUSEDIN / tVALUE / tVALUE_IN / tVALUE_UNIQUE / tVAR / tWITH / tWHERE / tWHILE / tXOR
|
|
16
16
|
arrayType = (tARRAY boundSpec tOF [ tOPTIONAL ] [ tUNIQUE ] instantiableType) as arrayType
|
|
17
17
|
assignmentStmt = (generalRef (0* qualifier) as qualifier op_decl expression op_delim) as assignmentStmt
|
|
18
|
-
attributeDecl = (
|
|
18
|
+
attributeDecl = (redeclaredAttribute / (simpleId / unguardedId) as attributeId) as attributeDecl
|
|
19
19
|
attributeId = (simpleId) as attributeId
|
|
20
20
|
attributeQualifier = (op_period attributeRef) as attributeQualifier
|
|
21
21
|
attributeRef = (attributeId) as attributeRef
|
|
@@ -365,6 +365,7 @@ grammar ExpressSyntax version "0.1.0" edition 2 {
|
|
|
365
365
|
typeRef = (typeId) as typeRef
|
|
366
366
|
unaryOp = (op_plus / op_minus / tNOT) as unaryOp
|
|
367
367
|
underlyingType = (concreteTypes / constructedTypes) as underlyingType
|
|
368
|
+
atomic unguardedId = (spaces (((%x41-5A / %x61-7A / %x5F) 0* (%x30-39 / %x41-5A / %x61-7A / %x5F))) as str) as simpleId
|
|
368
369
|
uniqueClause = (tUNIQUE (uniqueRule op_delim 0* (uniqueRule (op_delim) as op_delim2)) as listOf_uniqueRule) as uniqueClause
|
|
369
370
|
uniqueRule = ([ (ruleLabelId op_colon) ] (referencedAttribute 0* (op_comma referencedAttribute)) as listOf_referencedAttribute) as uniqueRule
|
|
370
371
|
untilControl = (tUNTIL logicalExpression) as untilControl
|