expressir 2.4.46-aarch64-linux → 2.4.48-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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -1
  3. data/expressir.gemspec +6 -3
  4. data/grammar-parg/CONVENTIONS.md +90 -0
  5. data/grammar-parg/RULE-INVENTORY.txt +252 -0
  6. data/grammar-parg/atoms_to_parg.rb +232 -0
  7. data/grammar-parg/bisect.sh +37 -0
  8. data/grammar-parg/ddmin.sh +39 -0
  9. data/grammar-parg/dsl-dump.json +1 -0
  10. data/grammar-parg/entries.parg.frag +12 -0
  11. data/grammar-parg/express-grammar.artifact.json +1 -0
  12. data/grammar-parg/express-grammar.parg +380 -0
  13. data/grammar-parg/express.json +1 -0
  14. data/grammar-parg/express.parg +57 -0
  15. data/grammar-parg/express_keywords.parg +132 -0
  16. data/grammar-parg/express_literals.parg +14 -0
  17. data/grammar-parg/express_operators.parg +34 -0
  18. data/grammar-parg/express_remarks.parg +19 -0
  19. data/grammar-parg/express_structure.parg +11 -0
  20. data/grammar-parg/generate-terminals.rb +55 -0
  21. data/grammar-parg/keywords.parg.frag +130 -0
  22. data/grammar-parg/literals.parg.frag +9 -0
  23. data/grammar-parg/operators.parg.frag +34 -0
  24. data/grammar-parg/parity-model.rb +68 -0
  25. data/grammar-parg/parity-vm.rb +60 -0
  26. data/grammar-parg/parity.sh +66 -0
  27. data/grammar-parg/parser-dsl-reference.rb.txt +757 -0
  28. data/grammar-parg/splice.rb +16 -0
  29. data/grammar-parg/tree_diff.rb +62 -0
  30. data/lib/expressir/express/grammar/express-grammar.artifact.json +1 -0
  31. data/lib/expressir/express/grammar/parser.rb +38 -0
  32. data/lib/expressir/express/parser.rb +3 -3
  33. data/lib/expressir/express/remark_attacher.rb +4 -2
  34. data/lib/expressir/model/exp_file.rb +1 -1
  35. data/lib/expressir/model/model_element.rb +3 -0
  36. data/lib/expressir/p28/configuration.rb +3 -1
  37. data/lib/expressir/version.rb +1 -1
  38. metadata +37 -16
@@ -0,0 +1,380 @@
1
+ grammar ExpressSyntax version "0.1.0" edition 2 {
2
+ # The DSL's trivia channel (match[" \r\n\t\f"].repeat(1)) is
3
+ # emitted below from the live rule; remarks stay product data.
4
+ abstractEntityDeclaration = (tABSTRACT) as abstractEntityDeclaration
5
+ abstractSupertype = ((tABSTRACT tSUPERTYPE op_delim) / (tABSTRACT op_delim)) as abstractSupertype
6
+ abstractSupertypeDeclaration = (tABSTRACT tSUPERTYPE [ subtypeConstraint ]) as abstractSupertypeDeclaration
7
+ actualParameterList = (op_leftparen [ ((parameter 0* (op_comma parameter)) as listOf_parameter) ] op_rightparen) as actualParameterList
8
+ addLikeOp = (op_plus / op_minus / tOR / tXOR) as addLikeOp
9
+ aggregateInitializer = (op_leftbracket [ ((element 0* (op_comma element)) as listOf_element) ] op_rightbracket) as aggregateInitializer
10
+ aggregateSource = (simpleExpression) as aggregateSource
11
+ aggregateType = (tAGGREGATE [ (op_colon typeLabel) ] tOF parameterType) as aggregateType
12
+ aggregationTypes = (arrayType / bagType / listType / setType) as aggregationTypes
13
+ algorithmHead = ((0* declaration) as declaration [ constantDecl ] [ localDecl ]) as algorithmHead
14
+ aliasStmt = (tALIAS variableId tFOR generalRef (0* qualifier) as qualifier op_delim (1* stmt) as stmt tEND_ALIAS (op_delim) as op_delim2) as aliasStmt
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
+ arrayType = (tARRAY boundSpec tOF [ tOPTIONAL ] [ tUNIQUE ] instantiableType) as arrayType
17
+ assignmentStmt = (generalRef (0* qualifier) as qualifier op_decl expression op_delim) as assignmentStmt
18
+ attributeDecl = (attributeId / redeclaredAttribute) as attributeDecl
19
+ attributeId = (simpleId) as attributeId
20
+ attributeQualifier = (op_period attributeRef) as attributeQualifier
21
+ attributeRef = (attributeId) as attributeRef
22
+ bagType = (tBAG [ boundSpec ] tOF instantiableType) as bagType
23
+ binaryLiteral = (spaces ("%" 1* bit) as str) as binaryLiteral
24
+ binaryType = (tBINARY [ widthSpec ]) as binaryType
25
+ bit = %x30-31
26
+ booleanType = (tBOOLEAN) as booleanType
27
+ bound1 = (numericExpression) as bound1
28
+ bound2 = (numericExpression) as bound2
29
+ boundSpec = (op_leftbracket bound1 op_colon bound2 op_rightbracket) as boundSpec
30
+ builtInConstant = (tCONST_E / tPI / tSELF / op_question_mark) as builtInConstant
31
+ builtInFunction = (tABS / tACOS / tASIN / tATAN / tBLENGTH / tCOS / tEXISTS / tEXP / tFORMAT / tHIBOUND / tHIINDEX / tLENGTH / tLOBOUND / tLOINDEX / tLOG2 / tLOG10 / tLOG / tNVL / tODD / tROLESOF / tSIN / tSIZEOF / tSQRT / tTAN / tTYPEOF / tUSEDIN / tVALUE_IN / tVALUE_UNIQUE / tVALUE) as builtInFunction
32
+ builtInProcedure = (tINSERT / tREMOVE) as builtInProcedure
33
+ caseAction = ((caseLabel 0* (op_comma caseLabel)) as listOf_caseLabel op_colon stmt) as caseAction
34
+ caseLabel = (expression) as caseLabel
35
+ caseStmt = (tCASE selector tOF (0* caseAction) as caseAction [ (tOTHERWISE op_colon stmt) ] tEND_CASE op_delim) as caseStmt
36
+ compoundStmt = (tBEGIN (1* stmt) as stmt tEND op_delim) as compoundStmt
37
+ concreteTypes = (aggregationTypes / simpleTypes / typeRef) as concreteTypes
38
+ constantBody = (constantId op_colon instantiableType op_decl expression op_delim) as constantBody
39
+ constantDecl = (tCONSTANT (1* constantBody) as constantBody tEND_CONSTANT op_delim) as constantDecl
40
+ constantFactor = (builtInConstant / constantRef) as constantFactor
41
+ constantId = (simpleId) as constantId
42
+ constantRef = (constantId) as constantRef
43
+ constructedTypes = (enumerationType / selectType) as constructedTypes
44
+ declaration = (entityDecl / functionDecl / procedureDecl / subtypeConstraintDecl / typeDecl) as declaration
45
+ delim = spaces (";") as delim
46
+ deriveClause = (tDERIVE (1* derivedAttr) as derivedAttr) as deriveClause
47
+ derivedAttr = (attributeDecl op_colon parameterType op_decl expression op_delim) as derivedAttr
48
+ digit = %x30-39
49
+ atomic digits = digit 0* digit
50
+ domainRule = ([ (ruleLabelId op_colon) ] expression) as domainRule
51
+ element = (expression [ (op_colon repetition) ]) as element
52
+ atomic embeddedRemark = ("(" "*" ")" / ("(" "*" 0* (!("*" ")") (embeddedRemark / %x01-10FFFF)) "*" ")")) as embeddedRemark
53
+ encodedCharacter = octet octet octet octet
54
+ encodedStringLiteral = (spaces (%x22 1* encodedCharacter %x22) as str) as encodedStringLiteral
55
+ entityBody = ((0* explicitAttr) as explicitAttr [ deriveClause ] [ inverseClause ] [ uniqueClause ] [ whereClause ]) as entityBody
56
+ entityConstructor = (entityRef op_leftparen [ ((expression 0* (op_comma expression)) as listOf_expression) ] op_rightparen) as entityConstructor
57
+ entityDecl = (entityHead entityBody tEND_ENTITY op_delim) as entityDecl
58
+ entityHead = (tENTITY entityId subsuper [ entityHeaderTail ]) as entityHead
59
+ entityHeaderTail = (0* space [ op_delim ]) as entityHeaderTail
60
+ entityId = (simpleId) as entityId
61
+ entityRef = (entityId) as entityRef
62
+ enumerationExtension = (tBASED_ON typeRef [ (tWITH enumerationItems) ]) as enumerationExtension
63
+ enumerationId = (simpleId) as enumerationId
64
+ enumerationItem = (enumerationId) as enumerationItem
65
+ enumerationItems = (op_leftparen (enumerationItem 0* (op_comma enumerationItem)) as listOf_enumerationItem op_rightparen) as enumerationItems
66
+ enumerationRef = (enumerationId) as enumerationRef
67
+ enumerationReference = ([ (typeRef op_period) ] enumerationRef) as enumerationReference
68
+ enumerationType = ([ tEXTENSIBLE ] tENUMERATION [ ((tOF enumerationItems) / enumerationExtension) ]) as enumerationType
69
+ escapeStmt = (tESCAPE op_delim) as escapeStmt
70
+ explicitAttr = ((attributeDecl 0* (op_comma attributeDecl)) as listOf_attributeDecl op_colon [ tOPTIONAL ] parameterType op_delim) as explicitAttr
71
+ expression = (simpleExpression [ (relOpExtended (simpleExpression) as rhs) ]) as expression
72
+ factor = (simpleFactor [ (op_double_asterisk (simpleFactor) as rhs) ]) as factor
73
+ formalParameter = ((parameterId 0* (op_comma parameterId)) as listOf_parameterId op_colon parameterType) as formalParameter
74
+ functionCall = ((builtInFunction / functionRef) [ actualParameterList ]) as functionCall
75
+ functionDecl = (functionHead algorithmHead (1* stmt) as stmt tEND_FUNCTION op_delim) as functionDecl
76
+ functionHead = (tFUNCTION functionId ([ (op_leftparen [ ((formalParameter 0* (op_delim formalParameter)) as listOf_formalParameter) ] op_rightparen) ]) as function_head_parameter_group op_colon parameterType (op_delim) as op_delim2) as functionHead
77
+ functionId = (simpleId) as functionId
78
+ functionRef = (functionId) as functionRef
79
+ generalAggregationTypes = (generalArrayType / generalBagType / generalListType / generalSetType) as generalAggregationTypes
80
+ generalArrayType = (tARRAY [ boundSpec ] tOF [ tOPTIONAL ] [ tUNIQUE ] parameterType) as generalArrayType
81
+ generalBagType = (tBAG [ boundSpec ] tOF parameterType) as generalBagType
82
+ generalListType = (tLIST [ boundSpec ] tOF [ tUNIQUE ] parameterType) as generalListType
83
+ generalRef = (parameterRef / variableId) as generalRef
84
+ generalSetType = (tSET [ boundSpec ] tOF parameterType) as generalSetType
85
+ generalizedTypes = (aggregateType / generalAggregationTypes / genericEntityType / genericType) as generalizedTypes
86
+ genericEntityType = (tGENERIC_ENTITY [ (op_colon typeLabel) ]) as genericEntityType
87
+ genericType = (tGENERIC [ (op_colon typeLabel) ]) as genericType
88
+ groupQualifier = (op_double_backslash entityRef) as groupQualifier
89
+ hexDigit = (%x30-39 / %x61-66 / %x41-46)
90
+ ifStmt = (tIF logicalExpression tTHEN ifStmtStatements [ (tELSE ifStmtElseStatements) ] tEND_IF op_delim) as ifStmt
91
+ ifStmtElseStatements = ((1* stmt) as stmt) as ifStmtElseStatements
92
+ ifStmtStatements = ((1* stmt) as stmt) as ifStmtStatements
93
+ increment = (numericExpression) as increment
94
+ incrementControl = (variableId op_decl bound1 tTO bound2 [ (tBY increment) ]) as incrementControl
95
+ index = (numericExpression) as index
96
+ index1 = (index) as index1
97
+ index2 = (index) as index2
98
+ indexQualifier = (op_leftbracket index1 [ (op_colon index2) ] op_rightbracket) as indexQualifier
99
+ instantiableType = (concreteTypes / entityRef) as instantiableType
100
+ integerLiteral = (spaces (digits) as str) as integerLiteral
101
+ integerType = (tINTEGER) as integerType
102
+ interfaceSpecification = (referenceClause / useClause) as interfaceSpecification
103
+ interval = (op_left_curly_brace intervalLow intervalOp intervalItem (intervalOp) as intervalOp2 intervalHigh op_right_curly_brace) as interval
104
+ intervalHigh = (simpleExpression) as intervalHigh
105
+ intervalItem = (simpleExpression) as intervalItem
106
+ intervalLow = (simpleExpression) as intervalLow
107
+ intervalOp = (op_less_equal / op_less_than) as intervalOp
108
+ inverseAttr = (attributeDecl op_colon inverseAttrType tFOR [ (entityRef op_period) ] attributeRef op_delim) as inverseAttr
109
+ inverseAttrType = ([ ((tSET / tBAG) [ boundSpec ] tOF) ] entityRef) as inverseAttrType
110
+ inverseClause = (tINVERSE (1* inverseAttr) as inverseAttr) as inverseClause
111
+ letter = (%x61-7A / %x41-5A)
112
+ listType = (tLIST [ boundSpec ] tOF [ tUNIQUE ] instantiableType) as listType
113
+ literal = (binaryLiteral / logicalLiteral / realLiteral / integerLiteral / stringLiteral) as literal
114
+ localDecl = (tLOCAL (1* localVariable) as localVariable tEND_LOCAL op_delim) as localDecl
115
+ localVariable = ((variableId 0* (op_comma variableId)) as listOf_variableId op_colon parameterType [ (op_decl expression) ] op_delim) as localVariable
116
+ logicalExpression = (expression) as logicalExpression
117
+ logicalLiteral = (tFALSE / tTRUE / tUNKNOWN) as logicalLiteral
118
+ logicalType = (tLOGICAL) as logicalType
119
+ multiplicationLikeOp = (op_asterisk / op_slash / tDIV / tMOD / tAND / op_double_pipe) as multiplicationLikeOp
120
+ namedTypeOrRename = (namedTypes [ (tAS (entityId / typeId)) ]) as namedTypeOrRename
121
+ namedTypes = (entityRef / typeRef) as namedTypes
122
+ nullStmt = (op_delim) as nullStmt
123
+ numberType = (tNUMBER) as numberType
124
+ numericExpression = (simpleExpression) as numericExpression
125
+ octet = hexDigit hexDigit
126
+ oneOf = (tONEOF op_leftparen (supertypeExpression 0* (op_comma supertypeExpression)) as listOf_supertypeExpression op_rightparen) as oneOf
127
+ op_asterisk = (spaces ("*") as str) as op_asterisk
128
+ op_colon = (spaces (":") as str) as op_colon
129
+ op_colon_equals_colon = (spaces (":" "=" ":") as str) as op_colon_equals_colon
130
+ op_colon_less_greater_colon = (spaces (":" "<" ">" ":") as str) as op_colon_less_greater_colon
131
+ op_comma = (spaces (",") as str) as op_comma
132
+ op_decl = (spaces (":" "=") as str) as op_decl
133
+ op_delim = (spaces (";") as str) as op_delim
134
+ op_double_asterisk = (spaces ("*" "*") as str) as op_double_asterisk
135
+ op_double_backslash = (spaces (%x5C) as str) as op_double_backslash
136
+ op_double_pipe = (spaces ("|" "|") as str) as op_double_pipe
137
+ op_equals = (spaces ("=") as str) as op_equals
138
+ op_greater_equal = (spaces (">" "=") as str) as op_greater_equal
139
+ op_greater_than = (spaces (">") as str) as op_greater_than
140
+ op_left_curly_brace = (spaces ("{") as str) as op_left_curly_brace
141
+ op_leftbracket = (spaces ("[") as str) as op_leftbracket
142
+ op_leftparen = (spaces ("(") as str) as op_leftparen
143
+ op_less_equal = (spaces ("<" "=") as str) as op_less_equal
144
+ op_less_greater = (spaces ("<" ">") as str) as op_less_greater
145
+ op_less_than = (spaces ("<") as str) as op_less_than
146
+ op_minus = (spaces ("-") as str) as op_minus
147
+ op_period = (spaces (".") as str) as op_period
148
+ op_pipe = (spaces ("|") as str) as op_pipe
149
+ op_plus = (spaces ("+") as str) as op_plus
150
+ op_query_begin = (spaces ("<" "*") as str) as op_query_begin
151
+ op_query_end = (spaces ("*" ">") as str) as op_query_end
152
+ op_question_mark = (spaces ("?") as str) as op_question_mark
153
+ op_right_curly_brace = (spaces ("}") as str) as op_right_curly_brace
154
+ op_rightbracket = (spaces ("]") as str) as op_rightbracket
155
+ op_rightparen = (spaces (")") as str) as op_rightparen
156
+ op_slash = (spaces (%x2F) as str) as op_slash
157
+ parameter = (expression) as parameter
158
+ parameterId = (simpleId) as parameterId
159
+ parameterRef = (parameterId) as parameterRef
160
+ parameterType = (generalizedTypes / namedTypes / simpleTypes) as parameterType
161
+ population = (entityRef) as population
162
+ precisionSpec = (numericExpression) as precisionSpec
163
+ primary = (literal / (qualifiableFactor (0* qualifier) as qualifier)) as primary
164
+ procedureCallStmt = ((builtInProcedure / procedureRef) [ actualParameterList ] op_delim) as procedureCallStmt
165
+ procedureDecl = (procedureHead algorithmHead (0* stmt) as stmt tEND_PROCEDURE op_delim) as procedureDecl
166
+ procedureHead = (tPROCEDURE procedureId ([ (op_leftparen [ ((procedureHeadParameter 0* (op_delim procedureHeadParameter)) as listOf_procedureHeadParameter) ] op_rightparen) ]) as function_head_parameter_group (op_delim) as op_delim2) as procedureHead
167
+ procedureHeadParameter = ([ tVAR ] formalParameter) as procedureHeadParameter
168
+ procedureId = (simpleId) as procedureId
169
+ procedureRef = (procedureId) as procedureRef
170
+ qualifiableFactor = (functionCall / attributeRef / constantFactor / generalRef / population) as qualifiableFactor
171
+ qualifiedAttribute = (tSELF groupQualifier attributeQualifier) as qualifiedAttribute
172
+ qualifier = (attributeQualifier / groupQualifier / indexQualifier) as qualifier
173
+ queryExpression = (tQUERY op_leftparen variableId op_query_begin aggregateSource op_pipe logicalExpression op_rightparen) as queryExpression
174
+ realLiteral = (spaces (digits "." [ digits ] [ ((%x65 / %x45) [ sign ] digits) ]) as str) as realLiteral
175
+ realType = (tREAL [ (op_leftparen precisionSpec op_rightparen) ]) as realType
176
+ redeclaredAttribute = (qualifiedAttribute [ (tRENAMED attributeId) ]) as redeclaredAttribute
177
+ referenceClause = (tREFERENCE tFROM schemaRef [ (op_leftparen (resourceOrRename 0* (op_comma resourceOrRename)) as listOf_resourceOrRename op_rightparen) ] op_delim) as referenceClause
178
+ referencedAttribute = (attributeRef / qualifiedAttribute) as referencedAttribute
179
+ relOp = (op_less_equal / op_greater_equal / op_less_greater / op_less_than / op_greater_than / op_equals / op_colon_less_greater_colon / op_colon_equals_colon) as relOp
180
+ relOpExtended = (relOp / tIN / tLIKE) as relOpExtended
181
+ renameId = (constantId / entityId / functionId / procedureId / typeId) as renameId
182
+ repeatControl = ([ incrementControl ] [ whileControl ] [ untilControl ]) as repeatControl
183
+ repeatStmt = (tREPEAT repeatControl op_delim (1* stmt) as stmt tEND_REPEAT (op_delim) as op_delim2) as repeatStmt
184
+ repetition = (numericExpression) as repetition
185
+ resourceOrRename = (resourceRef [ (tAS renameId) ]) as resourceOrRename
186
+ resourceRef = (constantRef / entityRef / functionRef / procedureRef / typeRef) as resourceRef
187
+ returnStmt = (tRETURN [ (op_leftparen expression op_rightparen) ] op_delim) as returnStmt
188
+ ruleDecl = (ruleHead algorithmHead (0* stmt) as stmt whereClause tEND_RULE op_delim) as ruleDecl
189
+ ruleHead = (tRULE ruleId tFOR op_leftparen (entityRef 0* (op_comma entityRef)) as listOf_entityRef op_rightparen op_delim) as ruleHead
190
+ ruleId = (simpleId) as ruleId
191
+ ruleLabelId = (simpleId) as ruleLabelId
192
+ ruleLabelRef = (ruleLabelId) as ruleLabelRef
193
+ ruleRef = (ruleId) as ruleRef
194
+ schemaBody = ((0* interfaceSpecification) as interfaceSpecification [ constantDecl ] (0* schemaBodyDeclaration) as schemaBodyDeclaration) as schemaBody
195
+ schemaBodyDeclaration = (declaration / ruleDecl) as schemaBodyDeclaration
196
+ schemaDecl = (tSCHEMA schemaId [ schemaVersionId ] op_delim schemaBody tEND_SCHEMA (op_delim) as op_delim2) as schemaDecl
197
+ schemaId = (simpleId) as schemaId
198
+ schemaRef = (schemaId) as schemaRef
199
+ schemaVersionId = (stringLiteral) as schemaVersionId
200
+ selectExtension = (tBASED_ON typeRef [ (tWITH selectList) ]) as selectExtension
201
+ selectList = (op_leftparen (namedTypes 0* (op_comma namedTypes)) as listOf_namedTypes op_rightparen) as selectList
202
+ selectType = ([ (tEXTENSIBLE [ tGENERIC_ENTITY ]) ] tSELECT [ (selectList / selectExtension) ]) as selectType
203
+ selector = (expression) as selector
204
+ setType = (tSET [ boundSpec ] tOF instantiableType) as setType
205
+ sign = (%x2B / %x2D)
206
+ simpleExpression = (term (0* (((addLikeOp) as operator term) as item)) as rhs) as simpleExpression
207
+ simpleFactor = (simpleFactorExpression / aggregateInitializer / entityConstructor / interval / queryExpression / stringLiteral / simpleFactorUnaryExpression / enumerationReference) as simpleFactor
208
+ simpleFactorExpression = ((op_leftparen expression op_rightparen) / primary) as simpleFactorExpression
209
+ simpleFactorUnaryExpression = (unaryOp simpleFactorExpression) as simpleFactorUnaryExpression
210
+ atomic simpleId = !(anyKeyword) (spaces (((%x41-5A / %x61-7A / %x5F) 0* (%x30-39 / %x41-5A / %x61-7A / %x5F))) as str) as simpleId
211
+ simpleStringLiteral = (spaces ("'" 0* (!("'") %x01-10FFFF) "'") as str) as simpleStringLiteral
212
+ simpleTypes = (binaryType / booleanType / integerType / logicalType / numberType / realType / stringType) as simpleTypes
213
+ skipStmt = (tSKIP op_delim) as skipStmt
214
+ atomic space = (%x20 / %x0D / %x0A / %x09 / %x0C) / embeddedRemark / tailRemark
215
+ atomic spaces = (0* space) as spaces
216
+ stmt = (aliasStmt / assignmentStmt / caseStmt / compoundStmt / escapeStmt / ifStmt / nullStmt / procedureCallStmt / repeatStmt / returnStmt / skipStmt) as stmt
217
+ stringLiteral = (simpleStringLiteral / encodedStringLiteral) as stringLiteral
218
+ stringType = (tSTRING [ widthSpec ]) as stringType
219
+ subsuper = ([ supertypeConstraint ] [ subtypeDeclaration ]) as subsuper
220
+ subtypeConstraint = (tOF op_leftparen supertypeExpression op_rightparen) as subtypeConstraint
221
+ subtypeConstraintBody = ([ abstractSupertype ] [ totalOver ] [ (supertypeExpression op_delim) ]) as subtypeConstraintBody
222
+ subtypeConstraintDecl = (subtypeConstraintHead subtypeConstraintBody tEND_SUBTYPE_CONSTRAINT op_delim) as subtypeConstraintDecl
223
+ subtypeConstraintHead = (tSUBTYPE_CONSTRAINT subtypeConstraintId tFOR entityRef op_delim) as subtypeConstraintHead
224
+ subtypeConstraintId = (simpleId) as subtypeConstraintId
225
+ subtypeConstraintRef = (subtypeConstraintId) as subtypeConstraintRef
226
+ subtypeDeclaration = ((tSUBTYPE tOF op_leftparen entityRef 0* (op_comma entityRef) op_rightparen) as listOf_entityRef) as subtypeDeclaration
227
+ supertypeConstraint = (abstractSupertypeDeclaration / abstractEntityDeclaration / supertypeRule) as supertypeConstraint
228
+ supertypeExpression = (supertypeFactor (0* (((tANDOR) as operator supertypeFactor) as item)) as rhs) as supertypeExpression
229
+ supertypeFactor = (supertypeTerm (0* (((tAND) as operator supertypeTerm) as item)) as rhs) as supertypeFactor
230
+ supertypeRule = (tSUPERTYPE subtypeConstraint) as supertypeRule
231
+ supertypeTerm = (entityRef / oneOf / (op_leftparen supertypeExpression op_rightparen)) as supertypeTerm
232
+ syntax = ((spaces) as spaces (0* schemaDecl) as schemaDecl (spaces) as trailer) as syntax
233
+ tABS = (spaces ((%x41 / %x61) (%x42 / %x62) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tABS
234
+ tABSTRACT = (spaces ((%x41 / %x61) (%x42 / %x62) (%x53 / %x73) (%x54 / %x74) (%x52 / %x72) (%x41 / %x61) (%x43 / %x63) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tABSTRACT
235
+ tACOS = (spaces ((%x41 / %x61) (%x43 / %x63) (%x4F / %x6F) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tACOS
236
+ tAGGREGATE = (spaces ((%x41 / %x61) (%x47 / %x67) (%x47 / %x67) (%x52 / %x72) (%x45 / %x65) (%x47 / %x67) (%x41 / %x61) (%x54 / %x74) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tAGGREGATE
237
+ tALIAS = (spaces ((%x41 / %x61) (%x4C / %x6C) (%x49 / %x69) (%x41 / %x61) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tALIAS
238
+ tAND = (spaces ((%x41 / %x61) (%x4E / %x6E) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tAND
239
+ tANDOR = (spaces ((%x41 / %x61) (%x4E / %x6E) (%x44 / %x64) (%x4F / %x6F) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tANDOR
240
+ tARRAY = (spaces ((%x41 / %x61) (%x52 / %x72) (%x52 / %x72) (%x41 / %x61) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tARRAY
241
+ tAS = (spaces ((%x41 / %x61) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tAS
242
+ tASIN = (spaces ((%x41 / %x61) (%x53 / %x73) (%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tASIN
243
+ tATAN = (spaces ((%x41 / %x61) (%x54 / %x74) (%x41 / %x61) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tATAN
244
+ tBAG = (spaces ((%x42 / %x62) (%x41 / %x61) (%x47 / %x67) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBAG
245
+ tBASED_ON = (spaces ((%x42 / %x62) (%x41 / %x61) (%x53 / %x73) (%x45 / %x65) (%x44 / %x64) (%x5F / %x5F) (%x4F / %x6F) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBASED_ON
246
+ tBEGIN = (spaces ((%x42 / %x62) (%x45 / %x65) (%x47 / %x67) (%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBEGIN
247
+ tBINARY = (spaces ((%x42 / %x62) (%x49 / %x69) (%x4E / %x6E) (%x41 / %x61) (%x52 / %x72) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBINARY
248
+ tBLENGTH = (spaces ((%x42 / %x62) (%x4C / %x6C) (%x45 / %x65) (%x4E / %x6E) (%x47 / %x67) (%x54 / %x74) (%x48 / %x68) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBLENGTH
249
+ tBOOLEAN = (spaces ((%x42 / %x62) (%x4F / %x6F) (%x4F / %x6F) (%x4C / %x6C) (%x45 / %x65) (%x41 / %x61) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBOOLEAN
250
+ tBY = (spaces ((%x42 / %x62) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tBY
251
+ tCASE = (spaces ((%x43 / %x63) (%x41 / %x61) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tCASE
252
+ tCONSTANT = (spaces ((%x43 / %x63) (%x4F / %x6F) (%x4E / %x6E) (%x53 / %x73) (%x54 / %x74) (%x41 / %x61) (%x4E / %x6E) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tCONSTANT
253
+ tCONST_E = (spaces ((%x43 / %x63) (%x4F / %x6F) (%x4E / %x6E) (%x53 / %x73) (%x54 / %x74) (%x5F / %x5F) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tCONST_E
254
+ tCOS = (spaces ((%x43 / %x63) (%x4F / %x6F) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tCOS
255
+ tDERIVE = (spaces ((%x44 / %x64) (%x45 / %x65) (%x52 / %x72) (%x49 / %x69) (%x56 / %x76) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tDERIVE
256
+ tDIV = (spaces ((%x44 / %x64) (%x49 / %x69) (%x56 / %x76) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tDIV
257
+ tELSE = (spaces ((%x45 / %x65) (%x4C / %x6C) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tELSE
258
+ tEND = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND
259
+ tEND_ALIAS = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x41 / %x61) (%x4C / %x6C) (%x49 / %x69) (%x41 / %x61) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_ALIAS
260
+ tEND_CASE = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x43 / %x63) (%x41 / %x61) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_CASE
261
+ tEND_CONSTANT = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x43 / %x63) (%x4F / %x6F) (%x4E / %x6E) (%x53 / %x73) (%x54 / %x74) (%x41 / %x61) (%x4E / %x6E) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_CONSTANT
262
+ tEND_ENTITY = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x45 / %x65) (%x4E / %x6E) (%x54 / %x74) (%x49 / %x69) (%x54 / %x74) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_ENTITY
263
+ tEND_FUNCTION = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x46 / %x66) (%x55 / %x75) (%x4E / %x6E) (%x43 / %x63) (%x54 / %x74) (%x49 / %x69) (%x4F / %x6F) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_FUNCTION
264
+ tEND_IF = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x49 / %x69) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_IF
265
+ tEND_LOCAL = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x4C / %x6C) (%x4F / %x6F) (%x43 / %x63) (%x41 / %x61) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_LOCAL
266
+ tEND_PROCEDURE = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x50 / %x70) (%x52 / %x72) (%x4F / %x6F) (%x43 / %x63) (%x45 / %x65) (%x44 / %x64) (%x55 / %x75) (%x52 / %x72) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_PROCEDURE
267
+ tEND_REPEAT = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x52 / %x72) (%x45 / %x65) (%x50 / %x70) (%x45 / %x65) (%x41 / %x61) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_REPEAT
268
+ tEND_RULE = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x52 / %x72) (%x55 / %x75) (%x4C / %x6C) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_RULE
269
+ tEND_SCHEMA = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x53 / %x73) (%x43 / %x63) (%x48 / %x68) (%x45 / %x65) (%x4D / %x6D) (%x41 / %x61) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_SCHEMA
270
+ tEND_SUBTYPE_CONSTRAINT = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x53 / %x73) (%x55 / %x75) (%x42 / %x62) (%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) (%x5F / %x5F) (%x43 / %x63) (%x4F / %x6F) (%x4E / %x6E) (%x53 / %x73) (%x54 / %x74) (%x52 / %x72) (%x41 / %x61) (%x49 / %x69) (%x4E / %x6E) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_SUBTYPE_CONSTRAINT
271
+ tEND_TYPE = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x44 / %x64) (%x5F / %x5F) (%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEND_TYPE
272
+ tENTITY = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x54 / %x74) (%x49 / %x69) (%x54 / %x74) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tENTITY
273
+ tENUMERATION = (spaces ((%x45 / %x65) (%x4E / %x6E) (%x55 / %x75) (%x4D / %x6D) (%x45 / %x65) (%x52 / %x72) (%x41 / %x61) (%x54 / %x74) (%x49 / %x69) (%x4F / %x6F) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tENUMERATION
274
+ tESCAPE = (spaces ((%x45 / %x65) (%x53 / %x73) (%x43 / %x63) (%x41 / %x61) (%x50 / %x70) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tESCAPE
275
+ tEXISTS = (spaces ((%x45 / %x65) (%x58 / %x78) (%x49 / %x69) (%x53 / %x73) (%x54 / %x74) (%x53 / %x73) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEXISTS
276
+ tEXP = (spaces ((%x45 / %x65) (%x58 / %x78) (%x50 / %x70) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEXP
277
+ tEXTENSIBLE = (spaces ((%x45 / %x65) (%x58 / %x78) (%x54 / %x74) (%x45 / %x65) (%x4E / %x6E) (%x53 / %x73) (%x49 / %x69) (%x42 / %x62) (%x4C / %x6C) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tEXTENSIBLE
278
+ tFALSE = (spaces ((%x46 / %x66) (%x41 / %x61) (%x4C / %x6C) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFALSE
279
+ tFIXED = (spaces ((%x46 / %x66) (%x49 / %x69) (%x58 / %x78) (%x45 / %x65) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFIXED
280
+ tFOR = (spaces ((%x46 / %x66) (%x4F / %x6F) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFOR
281
+ tFORMAT = (spaces ((%x46 / %x66) (%x4F / %x6F) (%x52 / %x72) (%x4D / %x6D) (%x41 / %x61) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFORMAT
282
+ tFROM = (spaces ((%x46 / %x66) (%x52 / %x72) (%x4F / %x6F) (%x4D / %x6D) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFROM
283
+ tFUNCTION = (spaces ((%x46 / %x66) (%x55 / %x75) (%x4E / %x6E) (%x43 / %x63) (%x54 / %x74) (%x49 / %x69) (%x4F / %x6F) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tFUNCTION
284
+ tGENERIC = (spaces ((%x47 / %x67) (%x45 / %x65) (%x4E / %x6E) (%x45 / %x65) (%x52 / %x72) (%x49 / %x69) (%x43 / %x63) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tGENERIC
285
+ tGENERIC_ENTITY = (spaces ((%x47 / %x67) (%x45 / %x65) (%x4E / %x6E) (%x45 / %x65) (%x52 / %x72) (%x49 / %x69) (%x43 / %x63) (%x5F / %x5F) (%x45 / %x65) (%x4E / %x6E) (%x54 / %x74) (%x49 / %x69) (%x54 / %x74) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tGENERIC_ENTITY
286
+ tHIBOUND = (spaces ((%x48 / %x68) (%x49 / %x69) (%x42 / %x62) (%x4F / %x6F) (%x55 / %x75) (%x4E / %x6E) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tHIBOUND
287
+ tHIINDEX = (spaces ((%x48 / %x68) (%x49 / %x69) (%x49 / %x69) (%x4E / %x6E) (%x44 / %x64) (%x45 / %x65) (%x58 / %x78) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tHIINDEX
288
+ tIF = (spaces ((%x49 / %x69) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tIF
289
+ tIN = (spaces ((%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tIN
290
+ tINSERT = (spaces ((%x49 / %x69) (%x4E / %x6E) (%x53 / %x73) (%x45 / %x65) (%x52 / %x72) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tINSERT
291
+ tINTEGER = (spaces ((%x49 / %x69) (%x4E / %x6E) (%x54 / %x74) (%x45 / %x65) (%x47 / %x67) (%x45 / %x65) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tINTEGER
292
+ tINVERSE = (spaces ((%x49 / %x69) (%x4E / %x6E) (%x56 / %x76) (%x45 / %x65) (%x52 / %x72) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tINVERSE
293
+ tLENGTH = (spaces ((%x4C / %x6C) (%x45 / %x65) (%x4E / %x6E) (%x47 / %x67) (%x54 / %x74) (%x48 / %x68) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLENGTH
294
+ tLIKE = (spaces ((%x4C / %x6C) (%x49 / %x69) (%x4B / %x6B) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLIKE
295
+ tLIST = (spaces ((%x4C / %x6C) (%x49 / %x69) (%x53 / %x73) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLIST
296
+ tLOBOUND = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x42 / %x62) (%x4F / %x6F) (%x55 / %x75) (%x4E / %x6E) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOBOUND
297
+ tLOCAL = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x43 / %x63) (%x41 / %x61) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOCAL
298
+ tLOG = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x47 / %x67) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOG
299
+ tLOG10 = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x47 / %x67) (%x31 / %x31) (%x30 / %x30) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOG10
300
+ tLOG2 = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x47 / %x67) (%x32 / %x32) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOG2
301
+ tLOGICAL = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x47 / %x67) (%x49 / %x69) (%x43 / %x63) (%x41 / %x61) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOGICAL
302
+ tLOINDEX = (spaces ((%x4C / %x6C) (%x4F / %x6F) (%x49 / %x69) (%x4E / %x6E) (%x44 / %x64) (%x45 / %x65) (%x58 / %x78) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tLOINDEX
303
+ tMOD = (spaces ((%x4D / %x6D) (%x4F / %x6F) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tMOD
304
+ tNOT = (spaces ((%x4E / %x6E) (%x4F / %x6F) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tNOT
305
+ tNUMBER = (spaces ((%x4E / %x6E) (%x55 / %x75) (%x4D / %x6D) (%x42 / %x62) (%x45 / %x65) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tNUMBER
306
+ tNVL = (spaces ((%x4E / %x6E) (%x56 / %x76) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tNVL
307
+ tODD = (spaces ((%x4F / %x6F) (%x44 / %x64) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tODD
308
+ tOF = (spaces ((%x4F / %x6F) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tOF
309
+ tONEOF = (spaces ((%x4F / %x6F) (%x4E / %x6E) (%x45 / %x65) (%x4F / %x6F) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tONEOF
310
+ tOPTIONAL = (spaces ((%x4F / %x6F) (%x50 / %x70) (%x54 / %x74) (%x49 / %x69) (%x4F / %x6F) (%x4E / %x6E) (%x41 / %x61) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tOPTIONAL
311
+ tOR = (spaces ((%x4F / %x6F) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tOR
312
+ tOTHERWISE = (spaces ((%x4F / %x6F) (%x54 / %x74) (%x48 / %x68) (%x45 / %x65) (%x52 / %x72) (%x57 / %x77) (%x49 / %x69) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tOTHERWISE
313
+ tPI = (spaces ((%x50 / %x70) (%x49 / %x69) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tPI
314
+ tPROCEDURE = (spaces ((%x50 / %x70) (%x52 / %x72) (%x4F / %x6F) (%x43 / %x63) (%x45 / %x65) (%x44 / %x64) (%x55 / %x75) (%x52 / %x72) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tPROCEDURE
315
+ tQUERY = (spaces ((%x51 / %x71) (%x55 / %x75) (%x45 / %x65) (%x52 / %x72) (%x59 / %x79) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tQUERY
316
+ tREAL = (spaces ((%x52 / %x72) (%x45 / %x65) (%x41 / %x61) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tREAL
317
+ tREFERENCE = (spaces ((%x52 / %x72) (%x45 / %x65) (%x46 / %x66) (%x45 / %x65) (%x52 / %x72) (%x45 / %x65) (%x4E / %x6E) (%x43 / %x63) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tREFERENCE
318
+ tREMOVE = (spaces ((%x52 / %x72) (%x45 / %x65) (%x4D / %x6D) (%x4F / %x6F) (%x56 / %x76) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tREMOVE
319
+ tRENAMED = (spaces ((%x52 / %x72) (%x45 / %x65) (%x4E / %x6E) (%x41 / %x61) (%x4D / %x6D) (%x45 / %x65) (%x44 / %x64) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tRENAMED
320
+ tREPEAT = (spaces ((%x52 / %x72) (%x45 / %x65) (%x50 / %x70) (%x45 / %x65) (%x41 / %x61) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tREPEAT
321
+ tRETURN = (spaces ((%x52 / %x72) (%x45 / %x65) (%x54 / %x74) (%x55 / %x75) (%x52 / %x72) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tRETURN
322
+ tROLESOF = (spaces ((%x52 / %x72) (%x4F / %x6F) (%x4C / %x6C) (%x45 / %x65) (%x53 / %x73) (%x4F / %x6F) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tROLESOF
323
+ tRULE = (spaces ((%x52 / %x72) (%x55 / %x75) (%x4C / %x6C) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tRULE
324
+ tSCHEMA = (spaces ((%x53 / %x73) (%x43 / %x63) (%x48 / %x68) (%x45 / %x65) (%x4D / %x6D) (%x41 / %x61) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSCHEMA
325
+ tSELECT = (spaces ((%x53 / %x73) (%x45 / %x65) (%x4C / %x6C) (%x45 / %x65) (%x43 / %x63) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSELECT
326
+ tSELF = (spaces ((%x53 / %x73) (%x45 / %x65) (%x4C / %x6C) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSELF
327
+ tSET = (spaces ((%x53 / %x73) (%x45 / %x65) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSET
328
+ tSIN = (spaces ((%x53 / %x73) (%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSIN
329
+ tSIZEOF = (spaces ((%x53 / %x73) (%x49 / %x69) (%x5A / %x7A) (%x45 / %x65) (%x4F / %x6F) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSIZEOF
330
+ tSKIP = (spaces ((%x53 / %x73) (%x4B / %x6B) (%x49 / %x69) (%x50 / %x70) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSKIP
331
+ tSQRT = (spaces ((%x53 / %x73) (%x51 / %x71) (%x52 / %x72) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSQRT
332
+ tSTRING = (spaces ((%x53 / %x73) (%x54 / %x74) (%x52 / %x72) (%x49 / %x69) (%x4E / %x6E) (%x47 / %x67) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSTRING
333
+ tSUBTYPE = (spaces ((%x53 / %x73) (%x55 / %x75) (%x42 / %x62) (%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSUBTYPE
334
+ tSUBTYPE_CONSTRAINT = (spaces ((%x53 / %x73) (%x55 / %x75) (%x42 / %x62) (%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) (%x5F / %x5F) (%x43 / %x63) (%x4F / %x6F) (%x4E / %x6E) (%x53 / %x73) (%x54 / %x74) (%x52 / %x72) (%x41 / %x61) (%x49 / %x69) (%x4E / %x6E) (%x54 / %x74) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSUBTYPE_CONSTRAINT
335
+ tSUPERTYPE = (spaces ((%x53 / %x73) (%x55 / %x75) (%x50 / %x70) (%x45 / %x65) (%x52 / %x72) (%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tSUPERTYPE
336
+ tTAN = (spaces ((%x54 / %x74) (%x41 / %x61) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTAN
337
+ tTHEN = (spaces ((%x54 / %x74) (%x48 / %x68) (%x45 / %x65) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTHEN
338
+ tTO = (spaces ((%x54 / %x74) (%x4F / %x6F) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTO
339
+ tTOTAL_OVER = (spaces ((%x54 / %x74) (%x4F / %x6F) (%x54 / %x74) (%x41 / %x61) (%x4C / %x6C) (%x5F / %x5F) (%x4F / %x6F) (%x56 / %x76) (%x45 / %x65) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTOTAL_OVER
340
+ tTRUE = (spaces ((%x54 / %x74) (%x52 / %x72) (%x55 / %x75) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTRUE
341
+ tTYPE = (spaces ((%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTYPE
342
+ tTYPEOF = (spaces ((%x54 / %x74) (%x59 / %x79) (%x50 / %x70) (%x45 / %x65) (%x4F / %x6F) (%x46 / %x66) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tTYPEOF
343
+ tUNIQUE = (spaces ((%x55 / %x75) (%x4E / %x6E) (%x49 / %x69) (%x51 / %x71) (%x55 / %x75) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tUNIQUE
344
+ tUNKNOWN = (spaces ((%x55 / %x75) (%x4E / %x6E) (%x4B / %x6B) (%x4E / %x6E) (%x4F / %x6F) (%x57 / %x77) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tUNKNOWN
345
+ tUNTIL = (spaces ((%x55 / %x75) (%x4E / %x6E) (%x54 / %x74) (%x49 / %x69) (%x4C / %x6C) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tUNTIL
346
+ tUSE = (spaces ((%x55 / %x75) (%x53 / %x73) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tUSE
347
+ tUSEDIN = (spaces ((%x55 / %x75) (%x53 / %x73) (%x45 / %x65) (%x44 / %x64) (%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tUSEDIN
348
+ tVALUE = (spaces ((%x56 / %x76) (%x41 / %x61) (%x4C / %x6C) (%x55 / %x75) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tVALUE
349
+ tVALUE_IN = (spaces ((%x56 / %x76) (%x41 / %x61) (%x4C / %x6C) (%x55 / %x75) (%x45 / %x65) (%x5F / %x5F) (%x49 / %x69) (%x4E / %x6E) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tVALUE_IN
350
+ tVALUE_UNIQUE = (spaces ((%x56 / %x76) (%x41 / %x61) (%x4C / %x6C) (%x55 / %x75) (%x45 / %x65) (%x5F / %x5F) (%x55 / %x75) (%x4E / %x6E) (%x49 / %x69) (%x51 / %x71) (%x55 / %x75) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tVALUE_UNIQUE
351
+ tVAR = (spaces ((%x56 / %x76) (%x41 / %x61) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tVAR
352
+ tWHERE = (spaces ((%x57 / %x77) (%x48 / %x68) (%x45 / %x65) (%x52 / %x72) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tWHERE
353
+ tWHILE = (spaces ((%x57 / %x77) (%x48 / %x68) (%x49 / %x69) (%x4C / %x6C) (%x45 / %x65) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tWHILE
354
+ tWITH = (spaces ((%x57 / %x77) (%x49 / %x69) (%x54 / %x74) (%x48 / %x68) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tWITH
355
+ tXOR = (spaces ((%x58 / %x78) (%x4F / %x6F) (%x52 / %x72) !((%x61-7A / %x41-5A / %x30-39 / %x5F))) as str) as tXOR
356
+ atomic tailRemark = ("-" "-" 0* (!(%x0A) %x01-10FFFF) [ %x0A ]) as tailRemark
357
+ term = (factor (0* ((multiplicationLikeOp factor) as item)) as rhs) as term
358
+ totalOver = (tTOTAL_OVER op_leftparen (entityRef 0* (op_comma entityRef)) as listOf_entityRef op_rightparen op_delim) as totalOver
359
+ trivia = 1* (%x20 / %x0D / %x0A / %x09 / %x0C)
360
+ typeDecl = (tTYPE typeId op_equals underlyingType op_delim [ whereClause ] tEND_TYPE (op_delim) as op_delim2) as typeDecl
361
+ typeId = (simpleId) as typeId
362
+ typeLabel = (typeLabelId / typeLabelRef) as typeLabel
363
+ typeLabelId = (simpleId) as typeLabelId
364
+ typeLabelRef = (typeLabelId) as typeLabelRef
365
+ typeRef = (typeId) as typeRef
366
+ unaryOp = (op_plus / op_minus / tNOT) as unaryOp
367
+ underlyingType = (concreteTypes / constructedTypes) as underlyingType
368
+ uniqueClause = (tUNIQUE (uniqueRule op_delim 0* (uniqueRule (op_delim) as op_delim2)) as listOf_uniqueRule) as uniqueClause
369
+ uniqueRule = ([ (ruleLabelId op_colon) ] (referencedAttribute 0* (op_comma referencedAttribute)) as listOf_referencedAttribute) as uniqueRule
370
+ untilControl = (tUNTIL logicalExpression) as untilControl
371
+ useClause = (tUSE tFROM schemaRef [ (op_leftparen (namedTypeOrRename 0* (op_comma namedTypeOrRename)) as listOf_namedTypeOrRename op_rightparen) ] op_delim) as useClause
372
+ variableId = (simpleId) as variableId
373
+ variableRef = (variableId) as variableRef
374
+ whereClause = (tWHERE (0* (domainRule op_delim)) as listOf_domainRule) as whereClause
375
+ whileControl = (tWHILE logicalExpression) as whileControl
376
+ width = (numericExpression) as width
377
+ widthSpec = (op_leftparen width op_rightparen [ tFIXED ]) as widthSpec
378
+ skip = trivia
379
+ entry syntax: syntax
380
+ }