expressir 1.3.0-aarch64-linux-gnu

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +7 -0
  2. data/.cross_rubies +20 -0
  3. data/.github/workflows/rake.yml +313 -0
  4. data/.github/workflows/release.yml +181 -0
  5. data/.gitignore +23 -0
  6. data/.gitmodules +6 -0
  7. data/.hound.yml +3 -0
  8. data/.rspec +2 -0
  9. data/.rubocop.yml +18 -0
  10. data/.yardopts +11 -0
  11. data/Gemfile +4 -0
  12. data/README.adoc +155 -0
  13. data/Rakefile +17 -0
  14. data/bin/console +11 -0
  15. data/bin/rspec +29 -0
  16. data/bin/setup +8 -0
  17. data/docs/development.md +90 -0
  18. data/exe/expressir +22 -0
  19. data/exe/format +18 -0
  20. data/exe/format-test +81 -0
  21. data/exe/generate-parser +51 -0
  22. data/expressir.gemspec +48 -0
  23. data/lib/expressir/cli/ui.rb +36 -0
  24. data/lib/expressir/cli.rb +21 -0
  25. data/lib/expressir/config.rb +23 -0
  26. data/lib/expressir/express/2.7/express_parser.so +0 -0
  27. data/lib/expressir/express/3.0/express_parser.so +0 -0
  28. data/lib/expressir/express/3.1/express_parser.so +0 -0
  29. data/lib/expressir/express/3.2/express_parser.so +0 -0
  30. data/lib/expressir/express/cache.rb +51 -0
  31. data/lib/expressir/express/formatter.rb +1608 -0
  32. data/lib/expressir/express/hyperlink_formatter.rb +36 -0
  33. data/lib/expressir/express/model_visitor.rb +24 -0
  34. data/lib/expressir/express/parser.rb +84 -0
  35. data/lib/expressir/express/resolve_references_model_visitor.rb +31 -0
  36. data/lib/expressir/express/schema_head_formatter.rb +23 -0
  37. data/lib/expressir/express/visitor.rb +2588 -0
  38. data/lib/expressir/model/cache.rb +17 -0
  39. data/lib/expressir/model/data_type.rb +9 -0
  40. data/lib/expressir/model/data_types/aggregate.rb +31 -0
  41. data/lib/expressir/model/data_types/array.rb +31 -0
  42. data/lib/expressir/model/data_types/bag.rb +25 -0
  43. data/lib/expressir/model/data_types/binary.rb +22 -0
  44. data/lib/expressir/model/data_types/boolean.rb +10 -0
  45. data/lib/expressir/model/data_types/enumeration.rb +25 -0
  46. data/lib/expressir/model/data_types/enumeration_item.rb +26 -0
  47. data/lib/expressir/model/data_types/generic.rb +26 -0
  48. data/lib/expressir/model/data_types/generic_entity.rb +26 -0
  49. data/lib/expressir/model/data_types/integer.rb +10 -0
  50. data/lib/expressir/model/data_types/list.rb +28 -0
  51. data/lib/expressir/model/data_types/logical.rb +10 -0
  52. data/lib/expressir/model/data_types/number.rb +10 -0
  53. data/lib/expressir/model/data_types/real.rb +19 -0
  54. data/lib/expressir/model/data_types/select.rb +28 -0
  55. data/lib/expressir/model/data_types/set.rb +25 -0
  56. data/lib/expressir/model/data_types/string.rb +22 -0
  57. data/lib/expressir/model/declaration.rb +9 -0
  58. data/lib/expressir/model/declarations/attribute.rb +47 -0
  59. data/lib/expressir/model/declarations/constant.rb +34 -0
  60. data/lib/expressir/model/declarations/entity.rb +53 -0
  61. data/lib/expressir/model/declarations/function.rb +67 -0
  62. data/lib/expressir/model/declarations/interface.rb +28 -0
  63. data/lib/expressir/model/declarations/interface_item.rb +23 -0
  64. data/lib/expressir/model/declarations/interfaced_item.rb +37 -0
  65. data/lib/expressir/model/declarations/parameter.rb +34 -0
  66. data/lib/expressir/model/declarations/procedure.rb +64 -0
  67. data/lib/expressir/model/declarations/remark_item.rb +21 -0
  68. data/lib/expressir/model/declarations/rule.rb +71 -0
  69. data/lib/expressir/model/declarations/schema.rb +117 -0
  70. data/lib/expressir/model/declarations/schema_version.rb +22 -0
  71. data/lib/expressir/model/declarations/schema_version_item.rb +22 -0
  72. data/lib/expressir/model/declarations/subtype_constraint.rb +40 -0
  73. data/lib/expressir/model/declarations/type.rb +45 -0
  74. data/lib/expressir/model/declarations/unique_rule.rb +31 -0
  75. data/lib/expressir/model/declarations/variable.rb +34 -0
  76. data/lib/expressir/model/declarations/where_rule.rb +31 -0
  77. data/lib/expressir/model/expression.rb +9 -0
  78. data/lib/expressir/model/expressions/aggregate_initializer.rb +19 -0
  79. data/lib/expressir/model/expressions/aggregate_initializer_item.rb +22 -0
  80. data/lib/expressir/model/expressions/binary_expression.rb +53 -0
  81. data/lib/expressir/model/expressions/entity_constructor.rb +22 -0
  82. data/lib/expressir/model/expressions/function_call.rb +22 -0
  83. data/lib/expressir/model/expressions/interval.rb +34 -0
  84. data/lib/expressir/model/expressions/query_expression.rb +35 -0
  85. data/lib/expressir/model/expressions/unary_expression.rb +27 -0
  86. data/lib/expressir/model/identifier.rb +34 -0
  87. data/lib/expressir/model/literal.rb +9 -0
  88. data/lib/expressir/model/literals/binary.rb +19 -0
  89. data/lib/expressir/model/literals/integer.rb +19 -0
  90. data/lib/expressir/model/literals/logical.rb +23 -0
  91. data/lib/expressir/model/literals/real.rb +19 -0
  92. data/lib/expressir/model/literals/string.rb +22 -0
  93. data/lib/expressir/model/model_element.rb +208 -0
  94. data/lib/expressir/model/reference.rb +9 -0
  95. data/lib/expressir/model/references/attribute_reference.rb +22 -0
  96. data/lib/expressir/model/references/group_reference.rb +22 -0
  97. data/lib/expressir/model/references/index_reference.rb +27 -0
  98. data/lib/expressir/model/references/simple_reference.rb +24 -0
  99. data/lib/expressir/model/repository.rb +23 -0
  100. data/lib/expressir/model/statement.rb +9 -0
  101. data/lib/expressir/model/statements/alias.rb +35 -0
  102. data/lib/expressir/model/statements/assignment.rb +22 -0
  103. data/lib/expressir/model/statements/case.rb +25 -0
  104. data/lib/expressir/model/statements/case_action.rb +22 -0
  105. data/lib/expressir/model/statements/compound.rb +19 -0
  106. data/lib/expressir/model/statements/escape.rb +10 -0
  107. data/lib/expressir/model/statements/if.rb +25 -0
  108. data/lib/expressir/model/statements/null.rb +10 -0
  109. data/lib/expressir/model/statements/procedure_call.rb +22 -0
  110. data/lib/expressir/model/statements/repeat.rb +47 -0
  111. data/lib/expressir/model/statements/return.rb +19 -0
  112. data/lib/expressir/model/statements/skip.rb +10 -0
  113. data/lib/expressir/model/supertype_expression.rb +9 -0
  114. data/lib/expressir/model/supertype_expressions/binary_supertype_expression.rb +29 -0
  115. data/lib/expressir/model/supertype_expressions/oneof_supertype_expression.rb +19 -0
  116. data/lib/expressir/model.rb +79 -0
  117. data/lib/expressir/version.rb +3 -0
  118. data/lib/expressir.rb +24 -0
  119. data/rakelib/antlr4-native.rake +161 -0
  120. data/rakelib/cross-ruby.rake +384 -0
  121. data/spec/acceptance/version_spec.rb +27 -0
  122. data/spec/expressir/express/cache_spec.rb +89 -0
  123. data/spec/expressir/express/formatter_spec.rb +173 -0
  124. data/spec/expressir/express/parser_spec.rb +141 -0
  125. data/spec/expressir/model/model_element_spec.rb +318 -0
  126. data/spec/spec_helper.rb +24 -0
  127. data/spec/support/console_helper.rb +29 -0
  128. data/spec/syntax/multiple.exp +23 -0
  129. data/spec/syntax/multiple.yaml +198 -0
  130. data/spec/syntax/multiple_formatted.exp +71 -0
  131. data/spec/syntax/multiple_hyperlink_formatted.exp +71 -0
  132. data/spec/syntax/multiple_schema_head_hyperlink_formatted.exp +13 -0
  133. data/spec/syntax/remark.exp +193 -0
  134. data/spec/syntax/remark.yaml +471 -0
  135. data/spec/syntax/remark_formatted.exp +228 -0
  136. data/spec/syntax/single.exp +4 -0
  137. data/spec/syntax/single.yaml +18 -0
  138. data/spec/syntax/single_formatted.exp +10 -0
  139. data/spec/syntax/single_formatted.yaml +36 -0
  140. data/spec/syntax/syntax.exp +333 -0
  141. data/spec/syntax/syntax.yaml +3509 -0
  142. data/spec/syntax/syntax_formatted.exp +902 -0
  143. data/spec/syntax/syntax_hyperlink_formatted.exp +902 -0
  144. data/spec/syntax/syntax_schema_head_formatted.exp +18 -0
  145. metadata +390 -0
@@ -0,0 +1,471 @@
1
+ ---
2
+ _class: Expressir::Model::Repository
3
+ schemas:
4
+ - _class: Expressir::Model::Declarations::Schema
5
+ file: spec/syntax/remark.exp
6
+ id: remark_schema
7
+ remarks:
8
+ - |-
9
+ Any character within the EXPRESS character set may occur between the start and end of
10
+ an embedded remark including the newline character; therefore, embedded remarks can span
11
+ several physical lines.
12
+ - The tail remark is written at the end of a physical line.
13
+ - 'UTF8 test: Příliš žluťoučký kůň úpěl ďábelské ódy.'
14
+ - universal scope - schema before
15
+ - universal scope - schema
16
+ remark_items:
17
+ - _class: Expressir::Model::Declarations::RemarkItem
18
+ id: remark_item
19
+ remarks:
20
+ - schema scope - schema remark item
21
+ - universal scope - schema remark item
22
+ constants:
23
+ - _class: Expressir::Model::Declarations::Constant
24
+ id: remark_constant
25
+ remarks:
26
+ - schema scope - constant
27
+ - universal scope - constant
28
+ type:
29
+ _class: Expressir::Model::DataTypes::String
30
+ expression:
31
+ _class: Expressir::Model::Literals::String
32
+ value: xxx
33
+ types:
34
+ - _class: Expressir::Model::Declarations::Type
35
+ id: remark_type
36
+ remarks:
37
+ - schema scope - type
38
+ - universal scope - type
39
+ underlying_type:
40
+ _class: Expressir::Model::DataTypes::Enumeration
41
+ items:
42
+ - _class: Expressir::Model::DataTypes::EnumerationItem
43
+ id: remark_enumeration_item
44
+ remarks:
45
+ - schema scope - enumeration item
46
+ - schema scope - enumeration item, on the same level as the type
47
+ - universal scope - enumeration item
48
+ - universal scope - enumeration item, on the same level as the type
49
+ where_rules:
50
+ - _class: Expressir::Model::Declarations::WhereRule
51
+ id: WR1
52
+ remarks:
53
+ - type scope - type where
54
+ - type scope - type where, with prefix
55
+ - schema scope - type where
56
+ - schema scope - type where, with prefix
57
+ - universal scope - type where
58
+ - universal scope - type where, with prefix
59
+ expression:
60
+ _class: Expressir::Model::Literals::Logical
61
+ value: :TRUE
62
+ informal_propositions:
63
+ - _class: Expressir::Model::Declarations::RemarkItem
64
+ id: IP1
65
+ remarks:
66
+ - type scope - type informal proposition
67
+ - type scope - type informal proposition, with prefix
68
+ - schema scope - type informal proposition
69
+ - schema scope - type informal proposition, with prefix
70
+ - universal scope - type informal proposition
71
+ - universal scope - type informal proposition, with prefix
72
+ entities:
73
+ - _class: Expressir::Model::Declarations::Entity
74
+ id: remark_entity
75
+ remarks:
76
+ - schema scope - entity
77
+ - universal scope - entity
78
+ attributes:
79
+ - _class: Expressir::Model::Declarations::Attribute
80
+ id: remark_attribute
81
+ remarks:
82
+ - entity scope - entity attribute
83
+ - schema scope - entity attribute
84
+ - universal scope - entity attribute
85
+ kind: :EXPLICIT
86
+ type:
87
+ _class: Expressir::Model::DataTypes::String
88
+ - _class: Expressir::Model::Declarations::Attribute
89
+ id: remark_derived_attribute
90
+ remarks:
91
+ - entity scope - entity derived attribute
92
+ - schema scope - entity derived attribute
93
+ - universal scope - entity derived attribute
94
+ kind: :DERIVED
95
+ type:
96
+ _class: Expressir::Model::DataTypes::String
97
+ expression:
98
+ _class: Expressir::Model::Literals::String
99
+ value: xxx
100
+ - _class: Expressir::Model::Declarations::Attribute
101
+ id: remark_inverse_attribute
102
+ remarks:
103
+ - entity scope - entity inverse attribute
104
+ - schema scope - entity inverse attribute
105
+ - universal scope - entity inverse attribute
106
+ kind: :INVERSE
107
+ type:
108
+ _class: Expressir::Model::References::SimpleReference
109
+ id: remark_entity
110
+ base_path: remark_schema.remark_entity
111
+ expression:
112
+ _class: Expressir::Model::References::SimpleReference
113
+ id: remark_attribute
114
+ base_path: remark_schema.remark_entity.remark_attribute
115
+ unique_rules:
116
+ - _class: Expressir::Model::Declarations::UniqueRule
117
+ id: UR1
118
+ remarks:
119
+ - entity scope - entity unique
120
+ - schema scope - entity unique
121
+ - universal scope - entity unique
122
+ attributes:
123
+ - _class: Expressir::Model::References::SimpleReference
124
+ id: remark_attribute
125
+ base_path: remark_schema.remark_entity.remark_attribute
126
+ where_rules:
127
+ - _class: Expressir::Model::Declarations::WhereRule
128
+ id: WR1
129
+ remarks:
130
+ - entity scope - entity where
131
+ - entity scope - entity where, with prefix
132
+ - schema scope - entity where
133
+ - schema scope - entity where, with prefix
134
+ - universal scope - entity where
135
+ - universal scope - entity where, with prefix
136
+ remark_items:
137
+ - _class: Expressir::Model::Declarations::RemarkItem
138
+ id: unusual_placement
139
+ remarks:
140
+ - placed inside WHERE clauses (or other enumerable context)
141
+ expression:
142
+ _class: Expressir::Model::Literals::Logical
143
+ value: :TRUE
144
+ informal_propositions:
145
+ - _class: Expressir::Model::Declarations::RemarkItem
146
+ id: IP1
147
+ remarks:
148
+ - entity scope - entity informal proposition
149
+ - entity scope - entity informal proposition, with prefix
150
+ - schema scope - entity informal proposition
151
+ - schema scope - entity informal proposition, with prefix
152
+ - universal scope - entity informal proposition
153
+ - universal scope - entity informal proposition, with prefix
154
+ subtype_constraints:
155
+ - _class: Expressir::Model::Declarations::SubtypeConstraint
156
+ id: remark_subtype_constraint
157
+ remarks:
158
+ - schema scope - subtype constraint
159
+ - universal scope - subtype constraint
160
+ applies_to:
161
+ _class: Expressir::Model::References::SimpleReference
162
+ id: remark_entity
163
+ base_path: remark_schema.remark_entity
164
+ functions:
165
+ - _class: Expressir::Model::Declarations::Function
166
+ id: remark_function
167
+ remarks:
168
+ - schema scope - function
169
+ - universal scope - function
170
+ parameters:
171
+ - _class: Expressir::Model::Declarations::Parameter
172
+ id: remark_parameter
173
+ remarks:
174
+ - function scope - function parameter
175
+ - schema scope - function parameter
176
+ - universal scope - function parameter
177
+ type:
178
+ _class: Expressir::Model::DataTypes::String
179
+ return_type:
180
+ _class: Expressir::Model::DataTypes::Boolean
181
+ types:
182
+ - _class: Expressir::Model::Declarations::Type
183
+ id: remark_type
184
+ remarks:
185
+ - function scope - function type
186
+ - schema scope - function type
187
+ - universal scope - function type
188
+ underlying_type:
189
+ _class: Expressir::Model::DataTypes::Enumeration
190
+ items:
191
+ - _class: Expressir::Model::DataTypes::EnumerationItem
192
+ id: remark_enumeration_item
193
+ remarks:
194
+ - function scope - function enumeration item
195
+ - function scope - function enumeration item, on the same level as the type
196
+ - schema scope - function enumeration item
197
+ - schema scope - function enumeration item, on the same level as the type
198
+ - universal scope - function enumeration item
199
+ - universal scope - function enumeration item, on the same level as the
200
+ type
201
+ constants:
202
+ - _class: Expressir::Model::Declarations::Constant
203
+ id: remark_constant
204
+ remarks:
205
+ - function scope - function constant
206
+ - schema scope - function constant
207
+ - universal scope - function constant
208
+ type:
209
+ _class: Expressir::Model::DataTypes::String
210
+ expression:
211
+ _class: Expressir::Model::Literals::String
212
+ value: xxx
213
+ variables:
214
+ - _class: Expressir::Model::Declarations::Variable
215
+ id: remark_variable
216
+ remarks:
217
+ - function scope - function variable
218
+ - schema scope - function variable
219
+ - universal scope - function variable
220
+ type:
221
+ _class: Expressir::Model::DataTypes::String
222
+ statements:
223
+ - _class: Expressir::Model::Statements::Alias
224
+ id: remark_alias
225
+ remarks:
226
+ - function alias scope - function alias
227
+ expression:
228
+ _class: Expressir::Model::References::SimpleReference
229
+ id: remark_variable
230
+ base_path: remark_schema.remark_function.remark_variable
231
+ statements:
232
+ - _class: Expressir::Model::Statements::Null
233
+ - _class: Expressir::Model::Statements::Repeat
234
+ id: remark_repeat
235
+ remarks:
236
+ - function repeat scope - function repeat
237
+ bound1:
238
+ _class: Expressir::Model::Literals::Integer
239
+ value: '1'
240
+ bound2:
241
+ _class: Expressir::Model::Literals::Integer
242
+ value: '9'
243
+ statements:
244
+ - _class: Expressir::Model::Statements::Null
245
+ - _class: Expressir::Model::Statements::Assignment
246
+ ref:
247
+ _class: Expressir::Model::References::SimpleReference
248
+ id: remark_variable
249
+ base_path: remark_schema.remark_function.remark_variable
250
+ expression:
251
+ _class: Expressir::Model::Expressions::QueryExpression
252
+ id: remark_query
253
+ remarks:
254
+ - function query scope - function query
255
+ aggregate_source:
256
+ _class: Expressir::Model::References::SimpleReference
257
+ id: remark_variable
258
+ base_path: remark_schema.remark_function.remark_variable
259
+ expression:
260
+ _class: Expressir::Model::Literals::Logical
261
+ value: :TRUE
262
+ rules:
263
+ - _class: Expressir::Model::Declarations::Rule
264
+ id: remark_rule
265
+ remarks:
266
+ - schema scope - rule
267
+ - universal scope - rule
268
+ applies_to:
269
+ - _class: Expressir::Model::References::SimpleReference
270
+ id: remark_entity
271
+ base_path: remark_schema.remark_entity
272
+ types:
273
+ - _class: Expressir::Model::Declarations::Type
274
+ id: remark_type
275
+ remarks:
276
+ - rule scope - rule type
277
+ - schema scope - rule type
278
+ - universal scope - rule type
279
+ underlying_type:
280
+ _class: Expressir::Model::DataTypes::Enumeration
281
+ items:
282
+ - _class: Expressir::Model::DataTypes::EnumerationItem
283
+ id: remark_enumeration_item
284
+ remarks:
285
+ - rule scope - rule enumeration item
286
+ - rule scope - rule enumeration item, on the same level as the type
287
+ - schema scope - rule enumeration item
288
+ - schema scope - rule enumeration item, on the same level as the type
289
+ - universal scope - rule enumeration item
290
+ - universal scope - rule enumeration item, on the same level as the type
291
+ constants:
292
+ - _class: Expressir::Model::Declarations::Constant
293
+ id: remark_constant
294
+ remarks:
295
+ - rule scope - rule constant
296
+ - schema scope - rule constant
297
+ - universal scope - rule constant
298
+ type:
299
+ _class: Expressir::Model::DataTypes::String
300
+ expression:
301
+ _class: Expressir::Model::Literals::String
302
+ value: xxx
303
+ variables:
304
+ - _class: Expressir::Model::Declarations::Variable
305
+ id: remark_variable
306
+ remarks:
307
+ - rule scope - rule variable
308
+ - schema scope - rule variable
309
+ - universal scope - rule variable
310
+ type:
311
+ _class: Expressir::Model::DataTypes::String
312
+ statements:
313
+ - _class: Expressir::Model::Statements::Alias
314
+ id: remark_alias
315
+ remarks:
316
+ - rule alias scope - rule alias
317
+ expression:
318
+ _class: Expressir::Model::References::SimpleReference
319
+ id: remark_variable
320
+ base_path: remark_schema.remark_rule.remark_variable
321
+ statements:
322
+ - _class: Expressir::Model::Statements::Null
323
+ - _class: Expressir::Model::Statements::Repeat
324
+ id: remark_repeat
325
+ remarks:
326
+ - rule repeat scope - rule repeat
327
+ bound1:
328
+ _class: Expressir::Model::Literals::Integer
329
+ value: '1'
330
+ bound2:
331
+ _class: Expressir::Model::Literals::Integer
332
+ value: '9'
333
+ statements:
334
+ - _class: Expressir::Model::Statements::Null
335
+ - _class: Expressir::Model::Statements::Assignment
336
+ ref:
337
+ _class: Expressir::Model::References::SimpleReference
338
+ id: remark_variable
339
+ base_path: remark_schema.remark_rule.remark_variable
340
+ expression:
341
+ _class: Expressir::Model::Expressions::QueryExpression
342
+ id: remark_query
343
+ remarks:
344
+ - rule query scope - rule query
345
+ aggregate_source:
346
+ _class: Expressir::Model::References::SimpleReference
347
+ id: remark_variable
348
+ base_path: remark_schema.remark_rule.remark_variable
349
+ expression:
350
+ _class: Expressir::Model::Literals::Logical
351
+ value: :TRUE
352
+ where_rules:
353
+ - _class: Expressir::Model::Declarations::WhereRule
354
+ id: WR1
355
+ remarks:
356
+ - rule scope - rule where
357
+ - rule scope - rule where, with prefix
358
+ - schema scope - rule where
359
+ - schema scope - rule where, with prefix
360
+ - universal scope - rule where
361
+ - universal scope - rule where, with prefix
362
+ expression:
363
+ _class: Expressir::Model::Literals::Logical
364
+ value: :TRUE
365
+ informal_propositions:
366
+ - _class: Expressir::Model::Declarations::RemarkItem
367
+ id: IP1
368
+ remarks:
369
+ - rule scope - rule informal proposition
370
+ - rule scope - rule informal proposition, with prefix
371
+ - schema scope - rule informal proposition
372
+ - schema scope - rule informal proposition, with prefix
373
+ - universal scope - rule informal proposition
374
+ - universal scope - rule informal proposition, with prefix
375
+ procedures:
376
+ - _class: Expressir::Model::Declarations::Procedure
377
+ id: remark_procedure
378
+ remarks:
379
+ - schema scope - procedure
380
+ - universal scope - procedure
381
+ parameters:
382
+ - _class: Expressir::Model::Declarations::Parameter
383
+ id: remark_parameter
384
+ remarks:
385
+ - procedure scope - procedure parameter
386
+ - schema scope - procedure parameter
387
+ - universal scope - procedure parameter
388
+ type:
389
+ _class: Expressir::Model::DataTypes::String
390
+ types:
391
+ - _class: Expressir::Model::Declarations::Type
392
+ id: remark_type
393
+ remarks:
394
+ - procedure scope - procedure type
395
+ - schema scope - procedure type
396
+ - universal scope - procedure type
397
+ underlying_type:
398
+ _class: Expressir::Model::DataTypes::Enumeration
399
+ items:
400
+ - _class: Expressir::Model::DataTypes::EnumerationItem
401
+ id: remark_enumeration_item
402
+ remarks:
403
+ - procedure scope - procedure enumeration item
404
+ - procedure scope - procedure enumeration item, on the same level as the
405
+ type
406
+ - schema scope - procedure enumeration item
407
+ - schema scope - procedure enumeration item, on the same level as the type
408
+ - universal scope - procedure enumeration item
409
+ - universal scope - procedure enumeration item, on the same level as the
410
+ type
411
+ constants:
412
+ - _class: Expressir::Model::Declarations::Constant
413
+ id: remark_constant
414
+ remarks:
415
+ - procedure scope - procedure constant
416
+ - schema scope - procedure constant
417
+ - universal scope - procedure constant
418
+ type:
419
+ _class: Expressir::Model::DataTypes::String
420
+ expression:
421
+ _class: Expressir::Model::Literals::String
422
+ value: xxx
423
+ variables:
424
+ - _class: Expressir::Model::Declarations::Variable
425
+ id: remark_variable
426
+ remarks:
427
+ - procedure scope - procedure variable
428
+ - schema scope - procedure variable
429
+ - universal scope - procedure variable
430
+ type:
431
+ _class: Expressir::Model::DataTypes::String
432
+ statements:
433
+ - _class: Expressir::Model::Statements::Alias
434
+ id: remark_alias
435
+ remarks:
436
+ - procedure alias scope - procedure alias
437
+ expression:
438
+ _class: Expressir::Model::References::SimpleReference
439
+ id: remark_variable
440
+ base_path: remark_schema.remark_procedure.remark_variable
441
+ statements:
442
+ - _class: Expressir::Model::Statements::Null
443
+ - _class: Expressir::Model::Statements::Repeat
444
+ id: remark_repeat
445
+ remarks:
446
+ - procedure repeat scope - procedure repeat
447
+ bound1:
448
+ _class: Expressir::Model::Literals::Integer
449
+ value: '1'
450
+ bound2:
451
+ _class: Expressir::Model::Literals::Integer
452
+ value: '9'
453
+ statements:
454
+ - _class: Expressir::Model::Statements::Null
455
+ - _class: Expressir::Model::Statements::Assignment
456
+ ref:
457
+ _class: Expressir::Model::References::SimpleReference
458
+ id: remark_variable
459
+ base_path: remark_schema.remark_procedure.remark_variable
460
+ expression:
461
+ _class: Expressir::Model::Expressions::QueryExpression
462
+ id: remark_query
463
+ remarks:
464
+ - procedure query scope - procedure query
465
+ aggregate_source:
466
+ _class: Expressir::Model::References::SimpleReference
467
+ id: remark_variable
468
+ base_path: remark_schema.remark_procedure.remark_variable
469
+ expression:
470
+ _class: Expressir::Model::Literals::Logical
471
+ value: :TRUE