expressir 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/demo.rb +16 -0
  4. data/expressir.gemspec +1 -0
  5. data/generate-parser.sh +29 -0
  6. data/lib/expressir/express_exp/generated/ExpressBaseVisitor.rb +779 -0
  7. data/lib/expressir/express_exp/generated/ExpressLexer.rb +841 -0
  8. data/lib/expressir/express_exp/generated/ExpressParser.rb +12136 -0
  9. data/lib/expressir/express_exp/generated/ExpressVisitor.rb +394 -0
  10. data/lib/expressir/express_exp/parser.rb +25 -0
  11. data/lib/expressir/express_exp/visitor.rb +2103 -0
  12. data/lib/expressir/model/constant.rb +15 -0
  13. data/lib/expressir/model/derived.rb +15 -0
  14. data/lib/expressir/model/entity.rb +29 -0
  15. data/lib/expressir/model/explicit.rb +15 -0
  16. data/lib/expressir/model/expressions/aggregate_element.rb +15 -0
  17. data/lib/expressir/model/expressions/attribute_qualifier.rb +13 -0
  18. data/lib/expressir/model/expressions/entity_constructor.rb +15 -0
  19. data/lib/expressir/model/expressions/expression.rb +15 -0
  20. data/lib/expressir/model/expressions/function_call.rb +15 -0
  21. data/lib/expressir/model/expressions/group_qualifier.rb +13 -0
  22. data/lib/expressir/model/expressions/index_qualifier.rb +15 -0
  23. data/lib/expressir/model/expressions/interval.rb +21 -0
  24. data/lib/expressir/model/expressions/qualified_ref.rb +15 -0
  25. data/lib/expressir/model/expressions/query.rb +17 -0
  26. data/lib/expressir/model/expressions/unknown.rb +8 -0
  27. data/lib/expressir/model/function.rb +23 -0
  28. data/lib/expressir/model/inverse.rb +15 -0
  29. data/lib/expressir/model/local.rb +15 -0
  30. data/lib/expressir/model/operators/addition.rb +8 -0
  31. data/lib/expressir/model/operators/and.rb +8 -0
  32. data/lib/expressir/model/operators/andor.rb +8 -0
  33. data/lib/expressir/model/operators/combine.rb +8 -0
  34. data/lib/expressir/model/operators/equal.rb +8 -0
  35. data/lib/expressir/model/operators/exponentiation.rb +8 -0
  36. data/lib/expressir/model/operators/greater_than.rb +8 -0
  37. data/lib/expressir/model/operators/greater_than_or_equal.rb +8 -0
  38. data/lib/expressir/model/operators/in.rb +8 -0
  39. data/lib/expressir/model/operators/instance_equal.rb +8 -0
  40. data/lib/expressir/model/operators/instance_not_equal.rb +8 -0
  41. data/lib/expressir/model/operators/integer_division.rb +8 -0
  42. data/lib/expressir/model/operators/less_than.rb +8 -0
  43. data/lib/expressir/model/operators/less_than_or_equal.rb +8 -0
  44. data/lib/expressir/model/operators/like.rb +8 -0
  45. data/lib/expressir/model/operators/modulo.rb +8 -0
  46. data/lib/expressir/model/operators/multiplication.rb +8 -0
  47. data/lib/expressir/model/operators/not.rb +8 -0
  48. data/lib/expressir/model/operators/not_equal.rb +8 -0
  49. data/lib/expressir/model/operators/oneof.rb +8 -0
  50. data/lib/expressir/model/operators/or.rb +8 -0
  51. data/lib/expressir/model/operators/real_division.rb +8 -0
  52. data/lib/expressir/model/operators/subtraction.rb +8 -0
  53. data/lib/expressir/model/operators/unary_minus.rb +8 -0
  54. data/lib/expressir/model/operators/unary_plus.rb +8 -0
  55. data/lib/expressir/model/operators/xor.rb +8 -0
  56. data/lib/expressir/model/parameter.rb +15 -0
  57. data/lib/expressir/model/procedure.rb +21 -0
  58. data/lib/expressir/model/ref.rb +11 -0
  59. data/lib/expressir/model/reference.rb +13 -0
  60. data/lib/expressir/model/renamed_ref.rb +13 -0
  61. data/lib/expressir/model/repository.rb +11 -0
  62. data/lib/expressir/model/rule.rb +23 -0
  63. data/lib/expressir/model/schema.rb +41 -0
  64. data/lib/expressir/model/statements/alias.rb +17 -0
  65. data/lib/expressir/model/statements/assignment.rb +15 -0
  66. data/lib/expressir/model/statements/case.rb +17 -0
  67. data/lib/expressir/model/statements/case_action.rb +15 -0
  68. data/lib/expressir/model/statements/compound.rb +13 -0
  69. data/lib/expressir/model/statements/escape.rb +8 -0
  70. data/lib/expressir/model/statements/if.rb +17 -0
  71. data/lib/expressir/model/statements/null.rb +8 -0
  72. data/lib/expressir/model/statements/procedure_call.rb +15 -0
  73. data/lib/expressir/model/statements/repeat.rb +25 -0
  74. data/lib/expressir/model/statements/return.rb +13 -0
  75. data/lib/expressir/model/statements/skip.rb +8 -0
  76. data/lib/expressir/model/subtype_constraint.rb +19 -0
  77. data/lib/expressir/model/type.rb +15 -0
  78. data/lib/expressir/model/types/aggregate.rb +15 -0
  79. data/lib/expressir/model/types/array.rb +21 -0
  80. data/lib/expressir/model/types/bag.rb +17 -0
  81. data/lib/expressir/model/types/binary.rb +15 -0
  82. data/lib/expressir/model/types/boolean.rb +8 -0
  83. data/lib/expressir/model/types/enumeration.rb +19 -0
  84. data/lib/expressir/model/types/generic.rb +13 -0
  85. data/lib/expressir/model/types/generic_entity.rb +13 -0
  86. data/lib/expressir/model/types/integer.rb +8 -0
  87. data/lib/expressir/model/types/list.rb +19 -0
  88. data/lib/expressir/model/types/logical.rb +8 -0
  89. data/lib/expressir/model/types/number.rb +8 -0
  90. data/lib/expressir/model/types/real.rb +13 -0
  91. data/lib/expressir/model/types/select.rb +21 -0
  92. data/lib/expressir/model/types/set.rb +17 -0
  93. data/lib/expressir/model/types/string.rb +15 -0
  94. data/lib/expressir/model/unique.rb +13 -0
  95. data/lib/expressir/model/use.rb +13 -0
  96. data/lib/expressir/model/where.rb +13 -0
  97. data/lib/expressir/version.rb +1 -1
  98. data/original/examples/syntax/syntax.exp +295 -0
  99. data/spec/expressir/express_exp/ap233_spec.rb +22 -0
  100. data/spec/expressir/express_exp/syntax_spec.rb +2640 -0
  101. metadata +115 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9f9c5c712e17d412751419464537ed228300b722de572833e969e7cb90ac4f
4
- data.tar.gz: 3da88ca0b5bf7c021a9bd13df4b32fc3260f67e7860789281f0b195682379ad1
3
+ metadata.gz: e3ede6076c606ea8bdfcc162f57e3de574585fb84c0437c5e1245ac21444f17b
4
+ data.tar.gz: e28370f6221ae7eab422172a10fed23b9f1c2bfbb527bc35fd6995aac6432a1c
5
5
  SHA512:
6
- metadata.gz: 64daf1199889f3207a20a9bf5a909f3c4dbc97b3d711708273ac752c56ec3182049458879f288401306c2e7d0a46c0c09a5763eb5f2a8560d58440e4389258c9
7
- data.tar.gz: b0123066d8f93d69fb2b09c0ed7c4f0597cb240890c6f39b1c7f116101db2494a0f763045b56878cd7819b3158fb5832d8b656fa25ffe295cb1f7c676325329a
6
+ metadata.gz: 419b4847af79472766352727835bf67f1035cf4d906dd5b6cc126f5e2ff4ca5bcd166a8b9879f0c8bb51f830e295b3e2e5683bbc12de883b50f70bcbdaf945a3
7
+ data.tar.gz: 7adc8338226c77ceae09d7eaeddc73e3db7740dcea27caee31d0069f49e2182c93be77252ee37330bc7edea9a7eff0158200de739adafda423f3ab4f8e5a1c6c
data/.gitignore CHANGED
@@ -7,6 +7,9 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  /Gemfile.lock
10
+ /.idea
11
+ /lib/expressir/express_exp/generated/*.interp
12
+ /lib/expressir/express_exp/generated/*.tokens
10
13
 
11
14
  # rspec failure tracking
12
15
  .rspec_status
data/demo.rb ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'expressir'
4
+ require 'expressir/express_exp/parser'
5
+
6
+ file = '/Users/mulgogi/src/mn/annotated-express/data/resources/action_schema/action_schema.exp'
7
+
8
+ # repo = Expressir::ExpressExp::Parser.from_exp(file)
9
+ # schema = repo.schemas.find{|schema| schema.id == "support_resource_schema"}
10
+
11
+ repo = Expressir::ExpressExp::Parser.from_exp(file)
12
+ schema = repo.schemas.find{|schema| schema.id == "action_schema"}
13
+ entity = schema.entities.find{|entity| entity.id == "action_directive_relationship"}
14
+ where = entity.where.find{|where| where.id == "WR1"}
15
+
16
+ puts where.inspect
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_runtime_dependency "thor", "~> 1.0"
28
28
  spec.add_runtime_dependency "activesupport", "~> 5.0"
29
+ spec.add_runtime_dependency "antlr4-runtime", "~> 0.2.11"
29
30
  spec.add_development_dependency "nokogiri", "~> 1.10"
30
31
 
31
32
  spec.add_development_dependency "bundler", "~> 2.0"
@@ -0,0 +1,29 @@
1
+ #!/bin/bash
2
+
3
+ set -eu
4
+
5
+ GRAMMAR_FILE="$1"
6
+ PARSER_DIR="lib/expressir/express_exp/generated"
7
+
8
+ # Ruby parser
9
+ # compile ANTLR4 JAR from https://github.com/twalmsley/antlr4/tree/ruby_dev
10
+ # see https://github.com/MODLanguage/antlr4-ruby-runtime
11
+ java -jar ~/.m2/repository/org/antlr/antlr4/4.7.3-SNAPSHOT/antlr4-4.7.3-SNAPSHOT-complete.jar \
12
+ -no-listener \
13
+ -visitor \
14
+ -Dlanguage=Ruby \
15
+ -package Dummy \
16
+ -Xexact-output-dir \
17
+ -o "$PARSER_DIR" \
18
+ "$GRAMMAR_FILE"
19
+
20
+ # replace Dummy module with nested modules
21
+ for FILE in $PARSER_DIR/*.rb; do
22
+ TMP_FILE="$(mktemp)"
23
+ cat "$FILE" | awk '
24
+ /^module Dummy$/ { print "module Expressir\nmodule ExpressExp\nmodule Generated"; next }
25
+ { print $0 }
26
+ END { print "end\nend" }
27
+ ' > "$TMP_FILE"
28
+ mv "$TMP_FILE" "$FILE"
29
+ done
@@ -0,0 +1,779 @@
1
+ # Generated from ../express-grammar/Express.g4 by ANTLR 4.7.2
2
+
3
+ require 'antlr4/runtime'
4
+
5
+
6
+ module Expressir
7
+ module ExpressExp
8
+ module Generated
9
+
10
+ class ExpressBaseVisitor < Antlr4::Runtime::AbstractParseTreeVisitor
11
+ def visitAttributeRef( ctx)
12
+ return visit_children(ctx)
13
+ end
14
+
15
+ def visitConstantRef( ctx)
16
+ return visit_children(ctx)
17
+ end
18
+
19
+ def visitEntityRef( ctx)
20
+ return visit_children(ctx)
21
+ end
22
+
23
+ def visitEnumerationRef( ctx)
24
+ return visit_children(ctx)
25
+ end
26
+
27
+ def visitFunctionRef( ctx)
28
+ return visit_children(ctx)
29
+ end
30
+
31
+ def visitParameterRef( ctx)
32
+ return visit_children(ctx)
33
+ end
34
+
35
+ def visitProcedureRef( ctx)
36
+ return visit_children(ctx)
37
+ end
38
+
39
+ def visitRuleLabelRef( ctx)
40
+ return visit_children(ctx)
41
+ end
42
+
43
+ def visitRuleRef( ctx)
44
+ return visit_children(ctx)
45
+ end
46
+
47
+ def visitSchemaRef( ctx)
48
+ return visit_children(ctx)
49
+ end
50
+
51
+ def visitSubtypeConstraintRef( ctx)
52
+ return visit_children(ctx)
53
+ end
54
+
55
+ def visitTypeLabelRef( ctx)
56
+ return visit_children(ctx)
57
+ end
58
+
59
+ def visitTypeRef( ctx)
60
+ return visit_children(ctx)
61
+ end
62
+
63
+ def visitVariableRef( ctx)
64
+ return visit_children(ctx)
65
+ end
66
+
67
+ def visitAbstractEntityDeclaration( ctx)
68
+ return visit_children(ctx)
69
+ end
70
+
71
+ def visitAbstractSupertype( ctx)
72
+ return visit_children(ctx)
73
+ end
74
+
75
+ def visitAbstractSupertypeDeclaration( ctx)
76
+ return visit_children(ctx)
77
+ end
78
+
79
+ def visitActualParameterList( ctx)
80
+ return visit_children(ctx)
81
+ end
82
+
83
+ def visitAddLikeOp( ctx)
84
+ return visit_children(ctx)
85
+ end
86
+
87
+ def visitAggregateInitializer( ctx)
88
+ return visit_children(ctx)
89
+ end
90
+
91
+ def visitAggregateSource( ctx)
92
+ return visit_children(ctx)
93
+ end
94
+
95
+ def visitAggregateType( ctx)
96
+ return visit_children(ctx)
97
+ end
98
+
99
+ def visitAggregationTypes( ctx)
100
+ return visit_children(ctx)
101
+ end
102
+
103
+ def visitAlgorithmHead( ctx)
104
+ return visit_children(ctx)
105
+ end
106
+
107
+ def visitAliasStmt( ctx)
108
+ return visit_children(ctx)
109
+ end
110
+
111
+ def visitArrayType( ctx)
112
+ return visit_children(ctx)
113
+ end
114
+
115
+ def visitAssignmentStmt( ctx)
116
+ return visit_children(ctx)
117
+ end
118
+
119
+ def visitAttributeDecl( ctx)
120
+ return visit_children(ctx)
121
+ end
122
+
123
+ def visitAttributeId( ctx)
124
+ return visit_children(ctx)
125
+ end
126
+
127
+ def visitAttributeQualifier( ctx)
128
+ return visit_children(ctx)
129
+ end
130
+
131
+ def visitBagType( ctx)
132
+ return visit_children(ctx)
133
+ end
134
+
135
+ def visitBinaryType( ctx)
136
+ return visit_children(ctx)
137
+ end
138
+
139
+ def visitBooleanType( ctx)
140
+ return visit_children(ctx)
141
+ end
142
+
143
+ def visitBound1( ctx)
144
+ return visit_children(ctx)
145
+ end
146
+
147
+ def visitBound2( ctx)
148
+ return visit_children(ctx)
149
+ end
150
+
151
+ def visitBoundSpec( ctx)
152
+ return visit_children(ctx)
153
+ end
154
+
155
+ def visitBuiltInConstant( ctx)
156
+ return visit_children(ctx)
157
+ end
158
+
159
+ def visitBuiltInFunction( ctx)
160
+ return visit_children(ctx)
161
+ end
162
+
163
+ def visitBuiltInProcedure( ctx)
164
+ return visit_children(ctx)
165
+ end
166
+
167
+ def visitCaseAction( ctx)
168
+ return visit_children(ctx)
169
+ end
170
+
171
+ def visitCaseLabel( ctx)
172
+ return visit_children(ctx)
173
+ end
174
+
175
+ def visitCaseStmt( ctx)
176
+ return visit_children(ctx)
177
+ end
178
+
179
+ def visitCompoundStmt( ctx)
180
+ return visit_children(ctx)
181
+ end
182
+
183
+ def visitConcreteTypes( ctx)
184
+ return visit_children(ctx)
185
+ end
186
+
187
+ def visitConstantBody( ctx)
188
+ return visit_children(ctx)
189
+ end
190
+
191
+ def visitConstantDecl( ctx)
192
+ return visit_children(ctx)
193
+ end
194
+
195
+ def visitConstantFactor( ctx)
196
+ return visit_children(ctx)
197
+ end
198
+
199
+ def visitConstantId( ctx)
200
+ return visit_children(ctx)
201
+ end
202
+
203
+ def visitConstructedTypes( ctx)
204
+ return visit_children(ctx)
205
+ end
206
+
207
+ def visitDeclaration( ctx)
208
+ return visit_children(ctx)
209
+ end
210
+
211
+ def visitDerivedAttr( ctx)
212
+ return visit_children(ctx)
213
+ end
214
+
215
+ def visitDeriveClause( ctx)
216
+ return visit_children(ctx)
217
+ end
218
+
219
+ def visitDomainRule( ctx)
220
+ return visit_children(ctx)
221
+ end
222
+
223
+ def visitElement( ctx)
224
+ return visit_children(ctx)
225
+ end
226
+
227
+ def visitEntityBody( ctx)
228
+ return visit_children(ctx)
229
+ end
230
+
231
+ def visitEntityConstructor( ctx)
232
+ return visit_children(ctx)
233
+ end
234
+
235
+ def visitEntityDecl( ctx)
236
+ return visit_children(ctx)
237
+ end
238
+
239
+ def visitEntityHead( ctx)
240
+ return visit_children(ctx)
241
+ end
242
+
243
+ def visitEntityId( ctx)
244
+ return visit_children(ctx)
245
+ end
246
+
247
+ def visitEnumerationExtension( ctx)
248
+ return visit_children(ctx)
249
+ end
250
+
251
+ def visitEnumerationId( ctx)
252
+ return visit_children(ctx)
253
+ end
254
+
255
+ def visitEnumerationItems( ctx)
256
+ return visit_children(ctx)
257
+ end
258
+
259
+ def visitEnumerationReference( ctx)
260
+ return visit_children(ctx)
261
+ end
262
+
263
+ def visitEnumerationType( ctx)
264
+ return visit_children(ctx)
265
+ end
266
+
267
+ def visitEscapeStmt( ctx)
268
+ return visit_children(ctx)
269
+ end
270
+
271
+ def visitExplicitAttr( ctx)
272
+ return visit_children(ctx)
273
+ end
274
+
275
+ def visitExpression( ctx)
276
+ return visit_children(ctx)
277
+ end
278
+
279
+ def visitFactor( ctx)
280
+ return visit_children(ctx)
281
+ end
282
+
283
+ def visitFormalParameter( ctx)
284
+ return visit_children(ctx)
285
+ end
286
+
287
+ def visitFunctionCall( ctx)
288
+ return visit_children(ctx)
289
+ end
290
+
291
+ def visitFunctionDecl( ctx)
292
+ return visit_children(ctx)
293
+ end
294
+
295
+ def visitFunctionHead( ctx)
296
+ return visit_children(ctx)
297
+ end
298
+
299
+ def visitFunctionId( ctx)
300
+ return visit_children(ctx)
301
+ end
302
+
303
+ def visitGeneralizedTypes( ctx)
304
+ return visit_children(ctx)
305
+ end
306
+
307
+ def visitGeneralAggregationTypes( ctx)
308
+ return visit_children(ctx)
309
+ end
310
+
311
+ def visitGeneralArrayType( ctx)
312
+ return visit_children(ctx)
313
+ end
314
+
315
+ def visitGeneralBagType( ctx)
316
+ return visit_children(ctx)
317
+ end
318
+
319
+ def visitGeneralListType( ctx)
320
+ return visit_children(ctx)
321
+ end
322
+
323
+ def visitGeneralRef( ctx)
324
+ return visit_children(ctx)
325
+ end
326
+
327
+ def visitGeneralSetType( ctx)
328
+ return visit_children(ctx)
329
+ end
330
+
331
+ def visitGenericEntityType( ctx)
332
+ return visit_children(ctx)
333
+ end
334
+
335
+ def visitGenericType( ctx)
336
+ return visit_children(ctx)
337
+ end
338
+
339
+ def visitGroupQualifier( ctx)
340
+ return visit_children(ctx)
341
+ end
342
+
343
+ def visitIfStmt( ctx)
344
+ return visit_children(ctx)
345
+ end
346
+
347
+ def visitIncrement( ctx)
348
+ return visit_children(ctx)
349
+ end
350
+
351
+ def visitIncrementControl( ctx)
352
+ return visit_children(ctx)
353
+ end
354
+
355
+ def visitIndex( ctx)
356
+ return visit_children(ctx)
357
+ end
358
+
359
+ def visitIndex1( ctx)
360
+ return visit_children(ctx)
361
+ end
362
+
363
+ def visitIndex2( ctx)
364
+ return visit_children(ctx)
365
+ end
366
+
367
+ def visitIndexQualifier( ctx)
368
+ return visit_children(ctx)
369
+ end
370
+
371
+ def visitInstantiableType( ctx)
372
+ return visit_children(ctx)
373
+ end
374
+
375
+ def visitIntegerType( ctx)
376
+ return visit_children(ctx)
377
+ end
378
+
379
+ def visitInterfaceSpecification( ctx)
380
+ return visit_children(ctx)
381
+ end
382
+
383
+ def visitInterval( ctx)
384
+ return visit_children(ctx)
385
+ end
386
+
387
+ def visitIntervalHigh( ctx)
388
+ return visit_children(ctx)
389
+ end
390
+
391
+ def visitIntervalItem( ctx)
392
+ return visit_children(ctx)
393
+ end
394
+
395
+ def visitIntervalLow( ctx)
396
+ return visit_children(ctx)
397
+ end
398
+
399
+ def visitIntervalOp( ctx)
400
+ return visit_children(ctx)
401
+ end
402
+
403
+ def visitInverseAttr( ctx)
404
+ return visit_children(ctx)
405
+ end
406
+
407
+ def visitInverseClause( ctx)
408
+ return visit_children(ctx)
409
+ end
410
+
411
+ def visitListType( ctx)
412
+ return visit_children(ctx)
413
+ end
414
+
415
+ def visitLiteral( ctx)
416
+ return visit_children(ctx)
417
+ end
418
+
419
+ def visitLocalDecl( ctx)
420
+ return visit_children(ctx)
421
+ end
422
+
423
+ def visitLocalVariable( ctx)
424
+ return visit_children(ctx)
425
+ end
426
+
427
+ def visitLogicalExpression( ctx)
428
+ return visit_children(ctx)
429
+ end
430
+
431
+ def visitLogicalLiteral( ctx)
432
+ return visit_children(ctx)
433
+ end
434
+
435
+ def visitLogicalType( ctx)
436
+ return visit_children(ctx)
437
+ end
438
+
439
+ def visitMultiplicationLikeOp( ctx)
440
+ return visit_children(ctx)
441
+ end
442
+
443
+ def visitNamedTypes( ctx)
444
+ return visit_children(ctx)
445
+ end
446
+
447
+ def visitNamedTypeOrRename( ctx)
448
+ return visit_children(ctx)
449
+ end
450
+
451
+ def visitNullStmt( ctx)
452
+ return visit_children(ctx)
453
+ end
454
+
455
+ def visitNumberType( ctx)
456
+ return visit_children(ctx)
457
+ end
458
+
459
+ def visitNumericExpression( ctx)
460
+ return visit_children(ctx)
461
+ end
462
+
463
+ def visitOneOf( ctx)
464
+ return visit_children(ctx)
465
+ end
466
+
467
+ def visitParameter( ctx)
468
+ return visit_children(ctx)
469
+ end
470
+
471
+ def visitParameterId( ctx)
472
+ return visit_children(ctx)
473
+ end
474
+
475
+ def visitParameterType( ctx)
476
+ return visit_children(ctx)
477
+ end
478
+
479
+ def visitPopulation( ctx)
480
+ return visit_children(ctx)
481
+ end
482
+
483
+ def visitPrecisionSpec( ctx)
484
+ return visit_children(ctx)
485
+ end
486
+
487
+ def visitPrimary( ctx)
488
+ return visit_children(ctx)
489
+ end
490
+
491
+ def visitProcedureCallStmt( ctx)
492
+ return visit_children(ctx)
493
+ end
494
+
495
+ def visitProcedureDecl( ctx)
496
+ return visit_children(ctx)
497
+ end
498
+
499
+ def visitProcedureHead( ctx)
500
+ return visit_children(ctx)
501
+ end
502
+
503
+ def visitProcedureId( ctx)
504
+ return visit_children(ctx)
505
+ end
506
+
507
+ def visitQualifiableFactor( ctx)
508
+ return visit_children(ctx)
509
+ end
510
+
511
+ def visitQualifiedAttribute( ctx)
512
+ return visit_children(ctx)
513
+ end
514
+
515
+ def visitQualifier( ctx)
516
+ return visit_children(ctx)
517
+ end
518
+
519
+ def visitQueryExpression( ctx)
520
+ return visit_children(ctx)
521
+ end
522
+
523
+ def visitRealType( ctx)
524
+ return visit_children(ctx)
525
+ end
526
+
527
+ def visitRedeclaredAttribute( ctx)
528
+ return visit_children(ctx)
529
+ end
530
+
531
+ def visitReferencedAttribute( ctx)
532
+ return visit_children(ctx)
533
+ end
534
+
535
+ def visitReferenceClause( ctx)
536
+ return visit_children(ctx)
537
+ end
538
+
539
+ def visitRelOp( ctx)
540
+ return visit_children(ctx)
541
+ end
542
+
543
+ def visitRelOpExtended( ctx)
544
+ return visit_children(ctx)
545
+ end
546
+
547
+ def visitRenameId( ctx)
548
+ return visit_children(ctx)
549
+ end
550
+
551
+ def visitRepeatControl( ctx)
552
+ return visit_children(ctx)
553
+ end
554
+
555
+ def visitRepeatStmt( ctx)
556
+ return visit_children(ctx)
557
+ end
558
+
559
+ def visitRepetition( ctx)
560
+ return visit_children(ctx)
561
+ end
562
+
563
+ def visitResourceOrRename( ctx)
564
+ return visit_children(ctx)
565
+ end
566
+
567
+ def visitResourceRef( ctx)
568
+ return visit_children(ctx)
569
+ end
570
+
571
+ def visitReturnStmt( ctx)
572
+ return visit_children(ctx)
573
+ end
574
+
575
+ def visitRuleDecl( ctx)
576
+ return visit_children(ctx)
577
+ end
578
+
579
+ def visitRuleHead( ctx)
580
+ return visit_children(ctx)
581
+ end
582
+
583
+ def visitRuleId( ctx)
584
+ return visit_children(ctx)
585
+ end
586
+
587
+ def visitRuleLabelId( ctx)
588
+ return visit_children(ctx)
589
+ end
590
+
591
+ def visitSchemaBody( ctx)
592
+ return visit_children(ctx)
593
+ end
594
+
595
+ def visitSchemaDecl( ctx)
596
+ return visit_children(ctx)
597
+ end
598
+
599
+ def visitSchemaId( ctx)
600
+ return visit_children(ctx)
601
+ end
602
+
603
+ def visitSchemaVersionId( ctx)
604
+ return visit_children(ctx)
605
+ end
606
+
607
+ def visitSelector( ctx)
608
+ return visit_children(ctx)
609
+ end
610
+
611
+ def visitSelectExtension( ctx)
612
+ return visit_children(ctx)
613
+ end
614
+
615
+ def visitSelectList( ctx)
616
+ return visit_children(ctx)
617
+ end
618
+
619
+ def visitSelectType( ctx)
620
+ return visit_children(ctx)
621
+ end
622
+
623
+ def visitSetType( ctx)
624
+ return visit_children(ctx)
625
+ end
626
+
627
+ def visitSimpleExpression( ctx)
628
+ return visit_children(ctx)
629
+ end
630
+
631
+ def visitSimpleFactor( ctx)
632
+ return visit_children(ctx)
633
+ end
634
+
635
+ def visitSimpleTypes( ctx)
636
+ return visit_children(ctx)
637
+ end
638
+
639
+ def visitSkipStmt( ctx)
640
+ return visit_children(ctx)
641
+ end
642
+
643
+ def visitStmt( ctx)
644
+ return visit_children(ctx)
645
+ end
646
+
647
+ def visitStringLiteral( ctx)
648
+ return visit_children(ctx)
649
+ end
650
+
651
+ def visitStringType( ctx)
652
+ return visit_children(ctx)
653
+ end
654
+
655
+ def visitSubsuper( ctx)
656
+ return visit_children(ctx)
657
+ end
658
+
659
+ def visitSubtypeConstraint( ctx)
660
+ return visit_children(ctx)
661
+ end
662
+
663
+ def visitSubtypeConstraintBody( ctx)
664
+ return visit_children(ctx)
665
+ end
666
+
667
+ def visitSubtypeConstraintDecl( ctx)
668
+ return visit_children(ctx)
669
+ end
670
+
671
+ def visitSubtypeConstraintHead( ctx)
672
+ return visit_children(ctx)
673
+ end
674
+
675
+ def visitSubtypeConstraintId( ctx)
676
+ return visit_children(ctx)
677
+ end
678
+
679
+ def visitSubtypeDeclaration( ctx)
680
+ return visit_children(ctx)
681
+ end
682
+
683
+ def visitSupertypeConstraint( ctx)
684
+ return visit_children(ctx)
685
+ end
686
+
687
+ def visitSupertypeExpression( ctx)
688
+ return visit_children(ctx)
689
+ end
690
+
691
+ def visitSupertypeFactor( ctx)
692
+ return visit_children(ctx)
693
+ end
694
+
695
+ def visitSupertypeRule( ctx)
696
+ return visit_children(ctx)
697
+ end
698
+
699
+ def visitSupertypeTerm( ctx)
700
+ return visit_children(ctx)
701
+ end
702
+
703
+ def visitSyntax( ctx)
704
+ return visit_children(ctx)
705
+ end
706
+
707
+ def visitTerm( ctx)
708
+ return visit_children(ctx)
709
+ end
710
+
711
+ def visitTotalOver( ctx)
712
+ return visit_children(ctx)
713
+ end
714
+
715
+ def visitTypeDecl( ctx)
716
+ return visit_children(ctx)
717
+ end
718
+
719
+ def visitTypeId( ctx)
720
+ return visit_children(ctx)
721
+ end
722
+
723
+ def visitTypeLabel( ctx)
724
+ return visit_children(ctx)
725
+ end
726
+
727
+ def visitTypeLabelId( ctx)
728
+ return visit_children(ctx)
729
+ end
730
+
731
+ def visitUnaryOp( ctx)
732
+ return visit_children(ctx)
733
+ end
734
+
735
+ def visitUnderlyingType( ctx)
736
+ return visit_children(ctx)
737
+ end
738
+
739
+ def visitUniqueClause( ctx)
740
+ return visit_children(ctx)
741
+ end
742
+
743
+ def visitUniqueRule( ctx)
744
+ return visit_children(ctx)
745
+ end
746
+
747
+ def visitUntilControl( ctx)
748
+ return visit_children(ctx)
749
+ end
750
+
751
+ def visitUseClause( ctx)
752
+ return visit_children(ctx)
753
+ end
754
+
755
+ def visitVariableId( ctx)
756
+ return visit_children(ctx)
757
+ end
758
+
759
+ def visitWhereClause( ctx)
760
+ return visit_children(ctx)
761
+ end
762
+
763
+ def visitWhileControl( ctx)
764
+ return visit_children(ctx)
765
+ end
766
+
767
+ def visitWidth( ctx)
768
+ return visit_children(ctx)
769
+ end
770
+
771
+ def visitWidthSpec( ctx)
772
+ return visit_children(ctx)
773
+ end
774
+
775
+
776
+ end
777
+ end
778
+ end
779
+ end