modl 0.3.26 → 0.3.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -149
  3. data/Gemfile +4 -2
  4. data/LICENSE.txt +1 -1
  5. data/README.md +19 -11
  6. data/Rakefile +5 -3
  7. data/lib/modl/interpreter.rb +38 -0
  8. data/lib/modl/model/model.rb +264 -0
  9. data/lib/modl/parser/parser.rb +280 -59
  10. data/lib/modl/tokeniser/context.rb +113 -0
  11. data/lib/modl/tokeniser/tokeniser.rb +28 -0
  12. data/lib/modl/util/functions.rb +74 -0
  13. data/lib/modl/util/unicode.rb +44 -0
  14. data/lib/modl/version.rb +5 -0
  15. data/lib/modl.rb +7 -32
  16. data/modl.gemspec +8 -11
  17. metadata +16 -75
  18. data/.DS_Store +0 -0
  19. data/.idea/vcs.xml +0 -6
  20. data/.rspec +0 -3
  21. data/.rubocop.yml +0 -5
  22. data/.travis.yml +0 -7
  23. data/bin/console +0 -14
  24. data/bin/setup +0 -8
  25. data/lib/modl/parser/MODLLexer.interp +0 -132
  26. data/lib/modl/parser/MODLLexer.rb +0 -324
  27. data/lib/modl/parser/MODLLexer.tokens +0 -40
  28. data/lib/modl/parser/MODLParser.interp +0 -93
  29. data/lib/modl/parser/MODLParser.rb +0 -2492
  30. data/lib/modl/parser/MODLParser.tokens +0 -40
  31. data/lib/modl/parser/MODLParserBaseListener.rb +0 -164
  32. data/lib/modl/parser/MODLParserBaseVisitor.rb +0 -107
  33. data/lib/modl/parser/MODLParserListener.rb +0 -151
  34. data/lib/modl/parser/MODLParserVisitor.rb +0 -56
  35. data/lib/modl/parser/class_processor.rb +0 -411
  36. data/lib/modl/parser/evaluator.rb +0 -125
  37. data/lib/modl/parser/file_importer.rb +0 -101
  38. data/lib/modl/parser/global_parse_context.rb +0 -318
  39. data/lib/modl/parser/instruction_processor.rb +0 -82
  40. data/lib/modl/parser/interpreter.rb +0 -75
  41. data/lib/modl/parser/modl_class.rb +0 -138
  42. data/lib/modl/parser/modl_index.rb +0 -54
  43. data/lib/modl/parser/modl_keylist.rb +0 -81
  44. data/lib/modl/parser/modl_method.rb +0 -172
  45. data/lib/modl/parser/object_cache.rb +0 -88
  46. data/lib/modl/parser/orphan_handler.rb +0 -98
  47. data/lib/modl/parser/parsed.rb +0 -1469
  48. data/lib/modl/parser/ref_processor.rb +0 -258
  49. data/lib/modl/parser/substitutions.rb +0 -101
  50. data/lib/modl/parser/sutil.rb +0 -108
  51. data/lib/modl/parser/throwing_error_listener.rb +0 -44
  52. data/lib/modl/parser/unicode_escape_replacer.rb +0 -148
  53. data/lib/modl/parser/unicode_escapes.rb +0 -112
  54. data/lib/modl/parser/version.rb +0 -29
@@ -1,2492 +0,0 @@
1
- # Generated from MODLParser.g4 by ANTLR 4.7.2
2
-
3
- require 'antlr4/runtime'
4
-
5
- module MODL::Parser
6
-
7
- @@theMODLParserListener = MODLParserListener.new
8
- @@theMODLParserVisitor = MODLParserVisitor.new
9
-
10
-
11
-
12
- class MODLParser < Antlr4::Runtime::Parser
13
-
14
- class << self
15
- @@_decisionToDFA = []
16
- end
17
- @@_sharedContextCache = Antlr4::Runtime::PredictionContextCache.new()
18
- WS=1
19
- NULL=2
20
- TRUE=3
21
- FALSE=4
22
- COLON=5
23
- EQUALS=6
24
- STRUCT_SEP=7
25
- ARR_SEP=8
26
- LBRAC=9
27
- RBRAC=10
28
- LSBRAC=11
29
- RSBRAC=12
30
- NUMBER=13
31
- COMMENT=14
32
- QUOTED = 15
33
- STRING = 16
34
- HASH_PREFIX = 17
35
- LCBRAC = 18
36
- CWS = 19
37
- QMARK = 20
38
- FSLASH = 21
39
- GTHAN = 22
40
- LTHAN = 23
41
- ASTERISK = 24
42
- AMP = 25
43
- PIPE = 26
44
- EXCLAM = 27
45
- CCOMMENT = 28
46
- RCBRAC = 29
47
- RULE_modl = 0
48
- RULE_modl_structure = 1
49
- RULE_modl_map = 2
50
- RULE_modl_array = 3
51
- RULE_modl_nb_array = 4
52
- RULE_modl_pair = 5
53
- RULE_modl_value_item = 6
54
- RULE_modl_top_level_conditional = 7
55
- RULE_modl_top_level_conditional_return = 8
56
- RULE_modl_map_conditional = 9
57
- RULE_modl_map_conditional_return = 10
58
- RULE_modl_map_item = 11
59
- RULE_modl_array_conditional = 12
60
- RULE_modl_array_conditional_return = 13
61
- RULE_modl_array_item = 14
62
- RULE_modl_value_conditional = 15
63
- RULE_modl_value_conditional_return = 16
64
- RULE_modl_condition_test = 17
65
- RULE_modl_operator = 18
66
- RULE_modl_condition = 19
67
- RULE_modl_condition_group = 20
68
- RULE_modl_value = 21
69
- RULE_modl_array_value_item = 22
70
- RULE_modl_primitive = 23
71
-
72
- @@ruleNames = [
73
- "modl", "modl_structure", "modl_map", "modl_array", "modl_nb_array",
74
- "modl_pair", "modl_value_item", "modl_top_level_conditional", "modl_top_level_conditional_return",
75
- "modl_map_conditional", "modl_map_conditional_return", "modl_map_item",
76
- "modl_array_conditional", "modl_array_conditional_return", "modl_array_item",
77
- "modl_value_conditional", "modl_value_conditional_return", "modl_condition_test",
78
- "modl_operator", "modl_condition", "modl_condition_group", "modl_value",
79
- "modl_array_value_item", "modl_primitive"
80
- ]
81
-
82
- @@_LITERAL_NAMES = [
83
- nil, nil, nil, nil, nil, nil, nil, nil, "','", nil, nil, nil, nil, nil,
84
- nil, nil, nil, nil, "'{'", nil, "'?'", "'/'", "'>'", "'<'", "'*'", "'&'",
85
- "'|'", "'!'", nil, "'}'"
86
- ]
87
-
88
- @@_SYMBOLIC_NAMES = [
89
- nil, "WS", "NULL", "TRUE", "FALSE", "COLON", "EQUALS", "STRUCT_SEP",
90
- "ARR_SEP", "LBRAC", "RBRAC", "LSBRAC", "RSBRAC", "NUMBER", "COMMENT",
91
- "QUOTED", "STRING", "HASH_PREFIX", "LCBRAC", "CWS", "QMARK", "FSLASH",
92
- "GTHAN", "LTHAN", "ASTERISK", "AMP", "PIPE", "EXCLAM", "CCOMMENT", "RCBRAC"
93
- ]
94
-
95
- @@VOCABULARY = Antlr4::Runtime::VocabularyImpl.new(@@_LITERAL_NAMES, @@_SYMBOLIC_NAMES)
96
-
97
- def get_vocabulary
98
- @@VOCABULARY
99
- end
100
-
101
- def getGrammarFileName()
102
- return "MODLParser.g4"
103
- end
104
-
105
- def rule_names()
106
- return @@ruleNames
107
- end
108
-
109
- def serialized_atn()
110
- return @@_serializedATN
111
- end
112
-
113
- def atn()
114
- return @@_ATN
115
- end
116
-
117
- def initialize( input)
118
- super(input)
119
- i = 0
120
- while i < @@_ATN.number_of_decisions()
121
- @@_decisionToDFA[i] = Antlr4::Runtime::DFA.new(@@_ATN.decision_state(i), i)
122
- i+=1
123
- end
124
-
125
- @_interp = Antlr4::Runtime::ParserATNSimulator.new(self,@@_ATN,@@_decisionToDFA,@@_sharedContextCache)
126
- end
127
-
128
- class ModlContext < Antlr4::Runtime::ParserRuleContext
129
- def EOF()
130
- return token(MODLParser::EOF, 0)
131
- end
132
- def modl_structure()
133
- return rule_contexts("Modl_structureContext")
134
- end
135
- def modl_structure_i( i)
136
- return rule_context("Modl_structureContext",i)
137
- end
138
- def STRUCT_SEP()
139
- return tokens(MODLParser::STRUCT_SEP)
140
- end
141
- def STRUCT_SEP_i( i)
142
- return token(MODLParser::STRUCT_SEP, i)
143
- end
144
- def initialize( parent, invokingState)
145
- super(parent, invokingState)
146
- end
147
- def getRuleIndex()
148
- return RULE_modl
149
- end
150
- def enter_rule( listener)
151
- if (listener.respond_to?(:enterModl))
152
- listener.enterModl(self)
153
- end
154
- end
155
- def exit_rule( listener)
156
- if (listener.respond_to?(:exitModl))
157
- listener.exitModl(self)
158
- end
159
- end
160
-
161
- def accept(visitor)
162
- if (visitor.respond_to?(:visitModl))
163
- return visitor.visitModl(self)
164
- else
165
- return visitor.visit_children(self)
166
- end
167
- end
168
- end
169
-
170
- def modl()
171
- _localctx = ModlContext.new(@_ctx, @_state_number)
172
- enter_rule(_localctx, 0, RULE_modl)
173
- _la = 0
174
- begin
175
- _alt = 0
176
- enter_outer_alt(_localctx, 1)
177
-
178
- @_state_number = 62
179
- @_err_handler.sync(self)
180
- case ( @_interp.adaptive_predict(@_input,3,@_ctx) )
181
- when 1
182
-
183
-
184
- @_state_number = 49
185
- @_err_handler.sync(self)
186
- _la = @_input.la(1)
187
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << LBRAC) | (1 << LSBRAC) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0))
188
-
189
- @_state_number = 48
190
- modl_structure()
191
- end
192
-
193
-
194
- when 2
195
-
196
-
197
- @_state_number = 51
198
- modl_structure()
199
- @_state_number = 56
200
- @_err_handler.sync(self);
201
- _alt = @_interp.adaptive_predict(@_input,1,@_ctx)
202
- while ( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
203
- if ( _alt==1 )
204
-
205
-
206
- @_state_number = 52
207
- match(STRUCT_SEP)
208
- @_state_number = 53
209
- modl_structure()
210
- end
211
- @_state_number = 58
212
- @_err_handler.sync(self)
213
- _alt = @_interp.adaptive_predict(@_input,1,@_ctx)
214
- end
215
- @_state_number = 60
216
- @_err_handler.sync(self)
217
- _la = @_input.la(1)
218
- if (_la==STRUCT_SEP)
219
-
220
- @_state_number = 59
221
- match(STRUCT_SEP)
222
- end
223
-
224
-
225
- end
226
- @_state_number = 64
227
- match(EOF)
228
- rescue Antlr4::Runtime::RecognitionException => re
229
- _localctx.exception = re
230
- @_err_handler.report_error(self, re)
231
- @_err_handler.recover(self, re)
232
- ensure
233
- exit_rule()
234
- end
235
- return _localctx
236
- end
237
-
238
- class Modl_structureContext < Antlr4::Runtime::ParserRuleContext
239
- def modl_map()
240
- return rule_context("Modl_mapContext",0)
241
- end
242
- def modl_array()
243
- return rule_context("Modl_arrayContext",0)
244
- end
245
- def modl_top_level_conditional()
246
- return rule_context("Modl_top_level_conditionalContext",0)
247
- end
248
- def modl_pair()
249
- return rule_context("Modl_pairContext",0)
250
- end
251
- def initialize( parent, invokingState)
252
- super(parent, invokingState)
253
- end
254
- def getRuleIndex()
255
- return RULE_modl_structure
256
- end
257
- def enter_rule( listener)
258
- if (listener.respond_to?(:enterModl_structure))
259
- listener.enterModl_structure(self)
260
- end
261
- end
262
- def exit_rule( listener)
263
- if (listener.respond_to?(:exitModl_structure))
264
- listener.exitModl_structure(self)
265
- end
266
- end
267
-
268
- def accept(visitor)
269
- if (visitor.respond_to?(:visitModl_structure))
270
- return visitor.visitModl_structure(self)
271
- else
272
- return visitor.visit_children(self)
273
- end
274
- end
275
- end
276
-
277
- def modl_structure()
278
- _localctx = Modl_structureContext.new(@_ctx, @_state_number)
279
- enter_rule(_localctx, 2, RULE_modl_structure)
280
- begin
281
- @_state_number = 70
282
- @_err_handler.sync(self)
283
- case (@_input.la(1))
284
- when MODLParser::LBRAC
285
- enter_outer_alt(_localctx, 1)
286
-
287
- @_state_number = 66
288
- modl_map()
289
-
290
- when MODLParser::LSBRAC
291
- enter_outer_alt(_localctx, 2)
292
-
293
- @_state_number = 67
294
- modl_array()
295
-
296
- when MODLParser::LCBRAC
297
- enter_outer_alt(_localctx, 3)
298
-
299
- @_state_number = 68
300
- modl_top_level_conditional()
301
-
302
- when MODLParser::QUOTED, MODLParser::STRING
303
- enter_outer_alt(_localctx, 4)
304
-
305
- @_state_number = 69
306
- modl_pair()
307
- else
308
- raise Antlr4::Runtime::NoViableAltException, self
309
- end
310
- rescue Antlr4::Runtime::RecognitionException => re
311
- _localctx.exception = re
312
- @_err_handler.report_error(self, re)
313
- @_err_handler.recover(self, re)
314
- ensure
315
- exit_rule()
316
- end
317
- return _localctx
318
- end
319
-
320
- class Modl_mapContext < Antlr4::Runtime::ParserRuleContext
321
- def LBRAC()
322
- return token(MODLParser::LBRAC, 0)
323
- end
324
- def RBRAC()
325
- return token(MODLParser::RBRAC, 0)
326
- end
327
- def modl_map_item()
328
- return rule_contexts("Modl_map_itemContext")
329
- end
330
- def modl_map_item_i( i)
331
- return rule_context("Modl_map_itemContext",i)
332
- end
333
- def STRUCT_SEP()
334
- return tokens(MODLParser::STRUCT_SEP)
335
- end
336
- def STRUCT_SEP_i( i)
337
- return token(MODLParser::STRUCT_SEP, i)
338
- end
339
- def initialize( parent, invokingState)
340
- super(parent, invokingState)
341
- end
342
- def getRuleIndex()
343
- return RULE_modl_map
344
- end
345
- def enter_rule( listener)
346
- if (listener.respond_to?(:enterModl_map))
347
- listener.enterModl_map(self)
348
- end
349
- end
350
- def exit_rule( listener)
351
- if (listener.respond_to?(:exitModl_map))
352
- listener.exitModl_map(self)
353
- end
354
- end
355
-
356
- def accept(visitor)
357
- if (visitor.respond_to?(:visitModl_map))
358
- return visitor.visitModl_map(self)
359
- else
360
- return visitor.visit_children(self)
361
- end
362
- end
363
- end
364
-
365
- def modl_map()
366
- _localctx = Modl_mapContext.new(@_ctx, @_state_number)
367
- enter_rule(_localctx, 4, RULE_modl_map)
368
- _la = 0
369
- begin
370
- enter_outer_alt(_localctx, 1)
371
-
372
- @_state_number = 72
373
- match(LBRAC)
374
- @_state_number = 81
375
- @_err_handler.sync(self)
376
- _la = @_input.la(1)
377
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0))
378
-
379
- @_state_number = 73
380
- modl_map_item()
381
- @_state_number = 78
382
- @_err_handler.sync(self)
383
- _la = @_input.la(1)
384
- while (_la==STRUCT_SEP)
385
-
386
-
387
- @_state_number = 74
388
- match(STRUCT_SEP)
389
- @_state_number = 75
390
- modl_map_item()
391
- @_state_number = 80
392
- @_err_handler.sync(self)
393
- _la = @_input.la(1)
394
- end
395
- end
396
-
397
- @_state_number = 83
398
- match(RBRAC)
399
- rescue Antlr4::Runtime::RecognitionException => re
400
- _localctx.exception = re
401
- @_err_handler.report_error(self, re)
402
- @_err_handler.recover(self, re)
403
- ensure
404
- exit_rule()
405
- end
406
- return _localctx
407
- end
408
-
409
- class Modl_arrayContext < Antlr4::Runtime::ParserRuleContext
410
- def LSBRAC()
411
- return token(MODLParser::LSBRAC, 0)
412
- end
413
- def RSBRAC()
414
- return token(MODLParser::RSBRAC, 0)
415
- end
416
- def modl_array_item()
417
- return rule_contexts("Modl_array_itemContext")
418
- end
419
- def modl_array_item_i( i)
420
- return rule_context("Modl_array_itemContext",i)
421
- end
422
- def modl_nb_array()
423
- return rule_contexts("Modl_nb_arrayContext")
424
- end
425
- def modl_nb_array_i( i)
426
- return rule_context("Modl_nb_arrayContext",i)
427
- end
428
- def STRUCT_SEP()
429
- return tokens(MODLParser::STRUCT_SEP)
430
- end
431
- def STRUCT_SEP_i( i)
432
- return token(MODLParser::STRUCT_SEP, i)
433
- end
434
- def initialize( parent, invokingState)
435
- super(parent, invokingState)
436
- end
437
- def getRuleIndex()
438
- return RULE_modl_array
439
- end
440
- def enter_rule( listener)
441
- if (listener.respond_to?(:enterModl_array))
442
- listener.enterModl_array(self)
443
- end
444
- end
445
- def exit_rule( listener)
446
- if (listener.respond_to?(:exitModl_array))
447
- listener.exitModl_array(self)
448
- end
449
- end
450
-
451
- def accept(visitor)
452
- if (visitor.respond_to?(:visitModl_array))
453
- return visitor.visitModl_array(self)
454
- else
455
- return visitor.visit_children(self)
456
- end
457
- end
458
- end
459
-
460
- def modl_array()
461
- _localctx = Modl_arrayContext.new(@_ctx, @_state_number)
462
- enter_rule(_localctx, 6, RULE_modl_array)
463
- _la = 0
464
- begin
465
- _alt = 0
466
- enter_outer_alt(_localctx, 1)
467
-
468
- @_state_number = 85
469
- match(LSBRAC)
470
- @_state_number = 110
471
- @_err_handler.sync(self)
472
- _la = @_input.la(1)
473
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0))
474
-
475
- @_state_number = 88
476
- @_err_handler.sync(self)
477
- case ( @_interp.adaptive_predict(@_input,7,@_ctx) )
478
- when 1
479
-
480
- @_state_number = 86
481
- modl_array_item()
482
-
483
- when 2
484
-
485
- @_state_number = 87
486
- modl_nb_array()
487
-
488
- end
489
- @_state_number = 107
490
- @_err_handler.sync(self)
491
- _la = @_input.la(1)
492
- while (_la==STRUCT_SEP)
493
-
494
-
495
- @_state_number = 91
496
- @_err_handler.sync(self)
497
- _la = @_input.la(1)
498
- loop do
499
-
500
-
501
- @_state_number = 90
502
- match(STRUCT_SEP)
503
- @_state_number = 93
504
- @_err_handler.sync(self)
505
- _la = @_input.la(1)
506
- break if (!( _la==STRUCT_SEP) )
507
- end
508
- @_state_number = 97
509
- @_err_handler.sync(self)
510
- case ( @_interp.adaptive_predict(@_input,9,@_ctx) )
511
- when 1
512
-
513
- @_state_number = 95
514
- modl_array_item()
515
-
516
- when 2
517
-
518
- @_state_number = 96
519
- modl_nb_array()
520
-
521
- end
522
- @_state_number = 102
523
- @_err_handler.sync(self);
524
- _alt = @_interp.adaptive_predict(@_input,10,@_ctx)
525
- while ( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
526
- if ( _alt==1 )
527
-
528
-
529
- @_state_number = 99
530
- match(STRUCT_SEP)
531
- end
532
- @_state_number = 104
533
- @_err_handler.sync(self)
534
- _alt = @_interp.adaptive_predict(@_input,10,@_ctx)
535
- end
536
- @_state_number = 109
537
- @_err_handler.sync(self)
538
- _la = @_input.la(1)
539
- end
540
- end
541
-
542
- @_state_number = 112
543
- match(RSBRAC)
544
- rescue Antlr4::Runtime::RecognitionException => re
545
- _localctx.exception = re
546
- @_err_handler.report_error(self, re)
547
- @_err_handler.recover(self, re)
548
- ensure
549
- exit_rule()
550
- end
551
- return _localctx
552
- end
553
-
554
- class Modl_nb_arrayContext < Antlr4::Runtime::ParserRuleContext
555
- def modl_array_item()
556
- return rule_contexts("Modl_array_itemContext")
557
- end
558
- def modl_array_item_i( i)
559
- return rule_context("Modl_array_itemContext",i)
560
- end
561
- def COLON()
562
- return tokens(MODLParser::COLON)
563
- end
564
- def COLON_i( i)
565
- return token(MODLParser::COLON, i)
566
- end
567
- def initialize( parent, invokingState)
568
- super(parent, invokingState)
569
- end
570
- def getRuleIndex()
571
- return RULE_modl_nb_array
572
- end
573
- def enter_rule( listener)
574
- if (listener.respond_to?(:enterModl_nb_array))
575
- listener.enterModl_nb_array(self)
576
- end
577
- end
578
- def exit_rule( listener)
579
- if (listener.respond_to?(:exitModl_nb_array))
580
- listener.exitModl_nb_array(self)
581
- end
582
- end
583
-
584
- def accept(visitor)
585
- if (visitor.respond_to?(:visitModl_nb_array))
586
- return visitor.visitModl_nb_array(self)
587
- else
588
- return visitor.visit_children(self)
589
- end
590
- end
591
- end
592
-
593
- def modl_nb_array()
594
- _localctx = Modl_nb_arrayContext.new(@_ctx, @_state_number)
595
- enter_rule(_localctx, 8, RULE_modl_nb_array)
596
- begin
597
- _alt = 0
598
- enter_outer_alt(_localctx, 1)
599
-
600
- @_state_number = 120
601
- @_err_handler.sync(self)
602
- _alt = 1
603
- loop do
604
- case (_alt)
605
- when 1
606
-
607
-
608
- @_state_number = 114
609
- modl_array_item()
610
- @_state_number = 116
611
- @_err_handler.sync(self)
612
- _alt = 1
613
- loop do
614
- case (_alt)
615
- when 1
616
-
617
-
618
- @_state_number = 115
619
- match(COLON)
620
-
621
- else
622
- raise Antlr4::Runtime::NoViableAltException, self
623
- end
624
- @_state_number = 118
625
- @_err_handler.sync(self)
626
- _alt = @_interp.adaptive_predict(@_input,13,@_ctx)
627
- break if !( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
628
- end
629
-
630
- else
631
- raise Antlr4::Runtime::NoViableAltException, self
632
- end
633
- @_state_number = 122
634
- @_err_handler.sync(self)
635
- _alt = @_interp.adaptive_predict(@_input,14,@_ctx)
636
- break if !( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
637
- end
638
- @_state_number = 127
639
- @_err_handler.sync(self);
640
- _alt = @_interp.adaptive_predict(@_input,15,@_ctx)
641
- while ( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
642
- if ( _alt==1 )
643
-
644
-
645
- @_state_number = 124
646
- modl_array_item()
647
- end
648
- @_state_number = 129
649
- @_err_handler.sync(self)
650
- _alt = @_interp.adaptive_predict(@_input,15,@_ctx)
651
- end
652
- @_state_number = 131
653
- @_err_handler.sync(self)
654
- case ( @_interp.adaptive_predict(@_input,16,@_ctx) )
655
- when 1
656
-
657
- @_state_number = 130
658
- match(COLON)
659
-
660
- end
661
- rescue Antlr4::Runtime::RecognitionException => re
662
- _localctx.exception = re
663
- @_err_handler.report_error(self, re)
664
- @_err_handler.recover(self, re)
665
- ensure
666
- exit_rule()
667
- end
668
- return _localctx
669
- end
670
-
671
- class Modl_pairContext < Antlr4::Runtime::ParserRuleContext
672
- def EQUALS()
673
- return token(MODLParser::EQUALS, 0)
674
- end
675
- def modl_value_item()
676
- return rule_context("Modl_value_itemContext",0)
677
- end
678
- def STRING()
679
- return token(MODLParser::STRING, 0)
680
- end
681
- def QUOTED()
682
- return token(MODLParser::QUOTED, 0)
683
- end
684
- def modl_map()
685
- return rule_context("Modl_mapContext",0)
686
- end
687
- def modl_array()
688
- return rule_context("Modl_arrayContext",0)
689
- end
690
- def initialize( parent, invokingState)
691
- super(parent, invokingState)
692
- end
693
- def getRuleIndex()
694
- return RULE_modl_pair
695
- end
696
- def enter_rule( listener)
697
- if (listener.respond_to?(:enterModl_pair))
698
- listener.enterModl_pair(self)
699
- end
700
- end
701
- def exit_rule( listener)
702
- if (listener.respond_to?(:exitModl_pair))
703
- listener.exitModl_pair(self)
704
- end
705
- end
706
-
707
- def accept(visitor)
708
- if (visitor.respond_to?(:visitModl_pair))
709
- return visitor.visitModl_pair(self)
710
- else
711
- return visitor.visit_children(self)
712
- end
713
- end
714
- end
715
-
716
- def modl_pair()
717
- _localctx = Modl_pairContext.new(@_ctx, @_state_number)
718
- enter_rule(_localctx, 10, RULE_modl_pair)
719
- _la = 0
720
- begin
721
- @_state_number = 140
722
- @_err_handler.sync(self)
723
- case ( @_interp.adaptive_predict(@_input,17,@_ctx) )
724
- when 1
725
- enter_outer_alt(_localctx, 1)
726
-
727
- @_state_number = 133
728
- _la = @_input.la(1)
729
- if (!(_la == QUOTED || _la == STRING))
730
- @_err_handler.recover_in_line(self)
731
-
732
- else
733
- if ( @_input.la(1)==Antlr4::Runtime::Token::EOF )
734
- @matchedEOF = true
735
- end
736
- @_err_handler.report_match(self)
737
- consume()
738
- end
739
- @_state_number = 134
740
- match(EQUALS)
741
- @_state_number = 135
742
- modl_value_item()
743
-
744
- when 2
745
- enter_outer_alt(_localctx, 2)
746
-
747
- @_state_number = 136
748
- match(STRING)
749
- @_state_number = 137
750
- modl_map()
751
-
752
- when 3
753
- enter_outer_alt(_localctx, 3)
754
-
755
- @_state_number = 138
756
- match(STRING)
757
- @_state_number = 139
758
- modl_array()
759
-
760
- end
761
- rescue Antlr4::Runtime::RecognitionException => re
762
- _localctx.exception = re
763
- @_err_handler.report_error(self, re)
764
- @_err_handler.recover(self, re)
765
- ensure
766
- exit_rule()
767
- end
768
- return _localctx
769
- end
770
-
771
- class Modl_value_itemContext < Antlr4::Runtime::ParserRuleContext
772
- def modl_value()
773
- return rule_context("Modl_valueContext",0)
774
- end
775
- def modl_value_conditional()
776
- return rule_context("Modl_value_conditionalContext",0)
777
- end
778
- def initialize( parent, invokingState)
779
- super(parent, invokingState)
780
- end
781
- def getRuleIndex()
782
- return RULE_modl_value_item
783
- end
784
- def enter_rule( listener)
785
- if (listener.respond_to?(:enterModl_value_item))
786
- listener.enterModl_value_item(self)
787
- end
788
- end
789
- def exit_rule( listener)
790
- if (listener.respond_to?(:exitModl_value_item))
791
- listener.exitModl_value_item(self)
792
- end
793
- end
794
-
795
- def accept(visitor)
796
- if (visitor.respond_to?(:visitModl_value_item))
797
- return visitor.visitModl_value_item(self)
798
- else
799
- return visitor.visit_children(self)
800
- end
801
- end
802
- end
803
-
804
- def modl_value_item()
805
- _localctx = Modl_value_itemContext.new(@_ctx, @_state_number)
806
- enter_rule(_localctx, 12, RULE_modl_value_item)
807
- begin
808
- enter_outer_alt(_localctx, 1)
809
-
810
- @_state_number = 144
811
- @_err_handler.sync(self)
812
- case ( @_interp.adaptive_predict(@_input,18,@_ctx) )
813
- when 1
814
-
815
- @_state_number = 142
816
- modl_value()
817
-
818
- when 2
819
-
820
- @_state_number = 143
821
- modl_value_conditional()
822
-
823
- end
824
- rescue Antlr4::Runtime::RecognitionException => re
825
- _localctx.exception = re
826
- @_err_handler.report_error(self, re)
827
- @_err_handler.recover(self, re)
828
- ensure
829
- exit_rule()
830
- end
831
- return _localctx
832
- end
833
-
834
- class Modl_top_level_conditionalContext < Antlr4::Runtime::ParserRuleContext
835
- def LCBRAC()
836
- return token(MODLParser::LCBRAC, 0)
837
- end
838
- def modl_condition_test()
839
- return rule_contexts("Modl_condition_testContext")
840
- end
841
- def modl_condition_test_i( i)
842
- return rule_context("Modl_condition_testContext",i)
843
- end
844
- def QMARK()
845
- return tokens(MODLParser::QMARK)
846
- end
847
- def QMARK_i( i)
848
- return token(MODLParser::QMARK, i)
849
- end
850
- def modl_top_level_conditional_return()
851
- return rule_contexts("Modl_top_level_conditional_returnContext")
852
- end
853
- def modl_top_level_conditional_return_i( i)
854
- return rule_context("Modl_top_level_conditional_returnContext",i)
855
- end
856
- def RCBRAC()
857
- return token(MODLParser::RCBRAC, 0)
858
- end
859
- def FSLASH()
860
- return tokens(MODLParser::FSLASH)
861
- end
862
- def FSLASH_i( i)
863
- return token(MODLParser::FSLASH, i)
864
- end
865
- def initialize( parent, invokingState)
866
- super(parent, invokingState)
867
- end
868
- def getRuleIndex()
869
- return RULE_modl_top_level_conditional
870
- end
871
- def enter_rule( listener)
872
- if (listener.respond_to?(:enterModl_top_level_conditional))
873
- listener.enterModl_top_level_conditional(self)
874
- end
875
- end
876
- def exit_rule( listener)
877
- if (listener.respond_to?(:exitModl_top_level_conditional))
878
- listener.exitModl_top_level_conditional(self)
879
- end
880
- end
881
-
882
- def accept(visitor)
883
- if (visitor.respond_to?(:visitModl_top_level_conditional))
884
- return visitor.visitModl_top_level_conditional(self)
885
- else
886
- return visitor.visit_children(self)
887
- end
888
- end
889
- end
890
-
891
- def modl_top_level_conditional()
892
- _localctx = Modl_top_level_conditionalContext.new(@_ctx, @_state_number)
893
- enter_rule(_localctx, 14, RULE_modl_top_level_conditional)
894
- _la = 0
895
- begin
896
- enter_outer_alt(_localctx, 1)
897
-
898
- @_state_number = 146
899
- match(LCBRAC)
900
- @_state_number = 147
901
- modl_condition_test()
902
- @_state_number = 148
903
- match(QMARK)
904
- @_state_number = 149
905
- modl_top_level_conditional_return()
906
- @_state_number = 158
907
- @_err_handler.sync(self)
908
- _la = @_input.la(1)
909
- while (_la==FSLASH)
910
-
911
-
912
- @_state_number = 150
913
- match(FSLASH)
914
- @_state_number = 152
915
- @_err_handler.sync(self)
916
- _la = @_input.la(1)
917
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << EQUALS) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC) | (1 << GTHAN) | (1 << LTHAN) | (1 << EXCLAM))) != 0))
918
-
919
- @_state_number = 151
920
- modl_condition_test()
921
- end
922
-
923
- @_state_number = 154
924
- match(QMARK)
925
- @_state_number = 155
926
- modl_top_level_conditional_return()
927
- @_state_number = 160
928
- @_err_handler.sync(self)
929
- _la = @_input.la(1)
930
- end
931
- @_state_number = 161
932
- match(RCBRAC)
933
- rescue Antlr4::Runtime::RecognitionException => re
934
- _localctx.exception = re
935
- @_err_handler.report_error(self, re)
936
- @_err_handler.recover(self, re)
937
- ensure
938
- exit_rule()
939
- end
940
- return _localctx
941
- end
942
-
943
- class Modl_top_level_conditional_returnContext < Antlr4::Runtime::ParserRuleContext
944
- def modl_structure()
945
- return rule_contexts("Modl_structureContext")
946
- end
947
- def modl_structure_i( i)
948
- return rule_context("Modl_structureContext",i)
949
- end
950
-
951
- def STRUCT_SEP()
952
- return tokens(MODLParser::STRUCT_SEP)
953
- end
954
-
955
- def STRUCT_SEP_i(i)
956
- return token(MODLParser::STRUCT_SEP, i)
957
- end
958
- def initialize( parent, invokingState)
959
- super(parent, invokingState)
960
- end
961
- def getRuleIndex()
962
- return RULE_modl_top_level_conditional_return
963
- end
964
- def enter_rule( listener)
965
- if (listener.respond_to?(:enterModl_top_level_conditional_return))
966
- listener.enterModl_top_level_conditional_return(self)
967
- end
968
- end
969
- def exit_rule( listener)
970
- if (listener.respond_to?(:exitModl_top_level_conditional_return))
971
- listener.exitModl_top_level_conditional_return(self)
972
- end
973
- end
974
-
975
- def accept(visitor)
976
- if (visitor.respond_to?(:visitModl_top_level_conditional_return))
977
- return visitor.visitModl_top_level_conditional_return(self)
978
- else
979
- return visitor.visit_children(self)
980
- end
981
- end
982
- end
983
-
984
- def modl_top_level_conditional_return()
985
- _localctx = Modl_top_level_conditional_returnContext.new(@_ctx, @_state_number)
986
- enter_rule(_localctx, 16, RULE_modl_top_level_conditional_return)
987
- _la = 0
988
- begin
989
- enter_outer_alt(_localctx, 1)
990
-
991
- @_state_number = 163
992
- modl_structure()
993
- @_state_number = 168
994
- @_err_handler.sync(self)
995
- _la = @_input.la(1)
996
- while (_la == STRUCT_SEP)
997
-
998
-
999
- @_state_number = 164
1000
- match(STRUCT_SEP)
1001
- @_state_number = 165
1002
- modl_structure()
1003
- @_state_number = 170
1004
- @_err_handler.sync(self)
1005
- _la = @_input.la(1)
1006
- end
1007
- rescue Antlr4::Runtime::RecognitionException => re
1008
- _localctx.exception = re
1009
- @_err_handler.report_error(self, re)
1010
- @_err_handler.recover(self, re)
1011
- ensure
1012
- exit_rule()
1013
- end
1014
- return _localctx
1015
- end
1016
-
1017
- class Modl_map_conditionalContext < Antlr4::Runtime::ParserRuleContext
1018
- def LCBRAC()
1019
- return token(MODLParser::LCBRAC, 0)
1020
- end
1021
- def modl_condition_test()
1022
- return rule_contexts("Modl_condition_testContext")
1023
- end
1024
- def modl_condition_test_i( i)
1025
- return rule_context("Modl_condition_testContext",i)
1026
- end
1027
- def QMARK()
1028
- return tokens(MODLParser::QMARK)
1029
- end
1030
- def QMARK_i( i)
1031
- return token(MODLParser::QMARK, i)
1032
- end
1033
- def modl_map_conditional_return()
1034
- return rule_contexts("Modl_map_conditional_returnContext")
1035
- end
1036
- def modl_map_conditional_return_i( i)
1037
- return rule_context("Modl_map_conditional_returnContext",i)
1038
- end
1039
- def RCBRAC()
1040
- return token(MODLParser::RCBRAC, 0)
1041
- end
1042
- def FSLASH()
1043
- return tokens(MODLParser::FSLASH)
1044
- end
1045
- def FSLASH_i( i)
1046
- return token(MODLParser::FSLASH, i)
1047
- end
1048
- def initialize( parent, invokingState)
1049
- super(parent, invokingState)
1050
- end
1051
- def getRuleIndex()
1052
- return RULE_modl_map_conditional
1053
- end
1054
- def enter_rule( listener)
1055
- if (listener.respond_to?(:enterModl_map_conditional))
1056
- listener.enterModl_map_conditional(self)
1057
- end
1058
- end
1059
- def exit_rule( listener)
1060
- if (listener.respond_to?(:exitModl_map_conditional))
1061
- listener.exitModl_map_conditional(self)
1062
- end
1063
- end
1064
-
1065
- def accept(visitor)
1066
- if (visitor.respond_to?(:visitModl_map_conditional))
1067
- return visitor.visitModl_map_conditional(self)
1068
- else
1069
- return visitor.visit_children(self)
1070
- end
1071
- end
1072
- end
1073
-
1074
- def modl_map_conditional()
1075
- _localctx = Modl_map_conditionalContext.new(@_ctx, @_state_number)
1076
- enter_rule(_localctx, 18, RULE_modl_map_conditional)
1077
- _la = 0
1078
- begin
1079
- enter_outer_alt(_localctx, 1)
1080
-
1081
- @_state_number = 171
1082
- match(LCBRAC)
1083
- @_state_number = 172
1084
- modl_condition_test()
1085
- @_state_number = 173
1086
- match(QMARK)
1087
- @_state_number = 174
1088
- modl_map_conditional_return()
1089
- @_state_number = 183
1090
- @_err_handler.sync(self)
1091
- _la = @_input.la(1)
1092
- while (_la==FSLASH)
1093
-
1094
-
1095
- @_state_number = 175
1096
- match(FSLASH)
1097
- @_state_number = 177
1098
- @_err_handler.sync(self)
1099
- _la = @_input.la(1)
1100
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << EQUALS) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC) | (1 << GTHAN) | (1 << LTHAN) | (1 << EXCLAM))) != 0))
1101
-
1102
- @_state_number = 176
1103
- modl_condition_test()
1104
- end
1105
-
1106
- @_state_number = 179
1107
- match(QMARK)
1108
- @_state_number = 180
1109
- modl_map_conditional_return()
1110
- @_state_number = 185
1111
- @_err_handler.sync(self)
1112
- _la = @_input.la(1)
1113
- end
1114
- @_state_number = 186
1115
- match(RCBRAC)
1116
- rescue Antlr4::Runtime::RecognitionException => re
1117
- _localctx.exception = re
1118
- @_err_handler.report_error(self, re)
1119
- @_err_handler.recover(self, re)
1120
- ensure
1121
- exit_rule()
1122
- end
1123
- return _localctx
1124
- end
1125
-
1126
- class Modl_map_conditional_returnContext < Antlr4::Runtime::ParserRuleContext
1127
- def modl_map_item()
1128
- return rule_contexts("Modl_map_itemContext")
1129
- end
1130
- def modl_map_item_i( i)
1131
- return rule_context("Modl_map_itemContext",i)
1132
- end
1133
- def initialize( parent, invokingState)
1134
- super(parent, invokingState)
1135
- end
1136
- def getRuleIndex()
1137
- return RULE_modl_map_conditional_return
1138
- end
1139
- def enter_rule( listener)
1140
- if (listener.respond_to?(:enterModl_map_conditional_return))
1141
- listener.enterModl_map_conditional_return(self)
1142
- end
1143
- end
1144
- def exit_rule( listener)
1145
- if (listener.respond_to?(:exitModl_map_conditional_return))
1146
- listener.exitModl_map_conditional_return(self)
1147
- end
1148
- end
1149
-
1150
- def accept(visitor)
1151
- if (visitor.respond_to?(:visitModl_map_conditional_return))
1152
- return visitor.visitModl_map_conditional_return(self)
1153
- else
1154
- return visitor.visit_children(self)
1155
- end
1156
- end
1157
- end
1158
-
1159
- def modl_map_conditional_return()
1160
- _localctx = Modl_map_conditional_returnContext.new(@_ctx, @_state_number)
1161
- enter_rule(_localctx, 20, RULE_modl_map_conditional_return)
1162
- _la = 0
1163
- begin
1164
- enter_outer_alt(_localctx, 1)
1165
-
1166
- @_state_number = 189
1167
- @_err_handler.sync(self)
1168
- _la = @_input.la(1)
1169
- loop do
1170
-
1171
-
1172
- @_state_number = 188
1173
- modl_map_item()
1174
- @_state_number = 191
1175
- @_err_handler.sync(self)
1176
- _la = @_input.la(1)
1177
- break if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0)))
1178
- end
1179
- rescue Antlr4::Runtime::RecognitionException => re
1180
- _localctx.exception = re
1181
- @_err_handler.report_error(self, re)
1182
- @_err_handler.recover(self, re)
1183
- ensure
1184
- exit_rule()
1185
- end
1186
- return _localctx
1187
- end
1188
-
1189
- class Modl_map_itemContext < Antlr4::Runtime::ParserRuleContext
1190
- def modl_pair()
1191
- return rule_context("Modl_pairContext",0)
1192
- end
1193
- def modl_map_conditional()
1194
- return rule_context("Modl_map_conditionalContext",0)
1195
- end
1196
- def initialize( parent, invokingState)
1197
- super(parent, invokingState)
1198
- end
1199
- def getRuleIndex()
1200
- return RULE_modl_map_item
1201
- end
1202
- def enter_rule( listener)
1203
- if (listener.respond_to?(:enterModl_map_item))
1204
- listener.enterModl_map_item(self)
1205
- end
1206
- end
1207
- def exit_rule( listener)
1208
- if (listener.respond_to?(:exitModl_map_item))
1209
- listener.exitModl_map_item(self)
1210
- end
1211
- end
1212
-
1213
- def accept(visitor)
1214
- if (visitor.respond_to?(:visitModl_map_item))
1215
- return visitor.visitModl_map_item(self)
1216
- else
1217
- return visitor.visit_children(self)
1218
- end
1219
- end
1220
- end
1221
-
1222
- def modl_map_item()
1223
- _localctx = Modl_map_itemContext.new(@_ctx, @_state_number)
1224
- enter_rule(_localctx, 22, RULE_modl_map_item)
1225
- begin
1226
- @_state_number = 195
1227
- @_err_handler.sync(self)
1228
- case (@_input.la(1))
1229
- when MODLParser::QUOTED, MODLParser::STRING
1230
- enter_outer_alt(_localctx, 1)
1231
-
1232
- @_state_number = 193
1233
- modl_pair()
1234
-
1235
- when MODLParser::LCBRAC
1236
- enter_outer_alt(_localctx, 2)
1237
-
1238
- @_state_number = 194
1239
- modl_map_conditional()
1240
- else
1241
- raise Antlr4::Runtime::NoViableAltException, self
1242
- end
1243
- rescue Antlr4::Runtime::RecognitionException => re
1244
- _localctx.exception = re
1245
- @_err_handler.report_error(self, re)
1246
- @_err_handler.recover(self, re)
1247
- ensure
1248
- exit_rule()
1249
- end
1250
- return _localctx
1251
- end
1252
-
1253
- class Modl_array_conditionalContext < Antlr4::Runtime::ParserRuleContext
1254
- def LCBRAC()
1255
- return token(MODLParser::LCBRAC, 0)
1256
- end
1257
- def modl_condition_test()
1258
- return rule_contexts("Modl_condition_testContext")
1259
- end
1260
- def modl_condition_test_i( i)
1261
- return rule_context("Modl_condition_testContext",i)
1262
- end
1263
- def QMARK()
1264
- return tokens(MODLParser::QMARK)
1265
- end
1266
- def QMARK_i( i)
1267
- return token(MODLParser::QMARK, i)
1268
- end
1269
- def modl_array_conditional_return()
1270
- return rule_contexts("Modl_array_conditional_returnContext")
1271
- end
1272
- def modl_array_conditional_return_i( i)
1273
- return rule_context("Modl_array_conditional_returnContext",i)
1274
- end
1275
- def RCBRAC()
1276
- return token(MODLParser::RCBRAC, 0)
1277
- end
1278
- def FSLASH()
1279
- return tokens(MODLParser::FSLASH)
1280
- end
1281
- def FSLASH_i( i)
1282
- return token(MODLParser::FSLASH, i)
1283
- end
1284
- def initialize( parent, invokingState)
1285
- super(parent, invokingState)
1286
- end
1287
- def getRuleIndex()
1288
- return RULE_modl_array_conditional
1289
- end
1290
- def enter_rule( listener)
1291
- if (listener.respond_to?(:enterModl_array_conditional))
1292
- listener.enterModl_array_conditional(self)
1293
- end
1294
- end
1295
- def exit_rule( listener)
1296
- if (listener.respond_to?(:exitModl_array_conditional))
1297
- listener.exitModl_array_conditional(self)
1298
- end
1299
- end
1300
-
1301
- def accept(visitor)
1302
- if (visitor.respond_to?(:visitModl_array_conditional))
1303
- return visitor.visitModl_array_conditional(self)
1304
- else
1305
- return visitor.visit_children(self)
1306
- end
1307
- end
1308
- end
1309
-
1310
- def modl_array_conditional()
1311
- _localctx = Modl_array_conditionalContext.new(@_ctx, @_state_number)
1312
- enter_rule(_localctx, 24, RULE_modl_array_conditional)
1313
- _la = 0
1314
- begin
1315
- enter_outer_alt(_localctx, 1)
1316
-
1317
- @_state_number = 197
1318
- match(LCBRAC)
1319
- @_state_number = 198
1320
- modl_condition_test()
1321
- @_state_number = 199
1322
- match(QMARK)
1323
- @_state_number = 200
1324
- modl_array_conditional_return()
1325
- @_state_number = 209
1326
- @_err_handler.sync(self)
1327
- _la = @_input.la(1)
1328
- while (_la==FSLASH)
1329
-
1330
-
1331
- @_state_number = 201
1332
- match(FSLASH)
1333
- @_state_number = 203
1334
- @_err_handler.sync(self)
1335
- _la = @_input.la(1)
1336
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << EQUALS) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC) | (1 << GTHAN) | (1 << LTHAN) | (1 << EXCLAM))) != 0))
1337
-
1338
- @_state_number = 202
1339
- modl_condition_test()
1340
- end
1341
-
1342
- @_state_number = 205
1343
- match(QMARK)
1344
- @_state_number = 206
1345
- modl_array_conditional_return()
1346
- @_state_number = 211
1347
- @_err_handler.sync(self)
1348
- _la = @_input.la(1)
1349
- end
1350
- @_state_number = 212
1351
- match(RCBRAC)
1352
- rescue Antlr4::Runtime::RecognitionException => re
1353
- _localctx.exception = re
1354
- @_err_handler.report_error(self, re)
1355
- @_err_handler.recover(self, re)
1356
- ensure
1357
- exit_rule()
1358
- end
1359
- return _localctx
1360
- end
1361
-
1362
- class Modl_array_conditional_returnContext < Antlr4::Runtime::ParserRuleContext
1363
- def modl_array_item()
1364
- return rule_contexts("Modl_array_itemContext")
1365
- end
1366
- def modl_array_item_i( i)
1367
- return rule_context("Modl_array_itemContext",i)
1368
- end
1369
- def initialize( parent, invokingState)
1370
- super(parent, invokingState)
1371
- end
1372
- def getRuleIndex()
1373
- return RULE_modl_array_conditional_return
1374
- end
1375
- def enter_rule( listener)
1376
- if (listener.respond_to?(:enterModl_array_conditional_return))
1377
- listener.enterModl_array_conditional_return(self)
1378
- end
1379
- end
1380
- def exit_rule( listener)
1381
- if (listener.respond_to?(:exitModl_array_conditional_return))
1382
- listener.exitModl_array_conditional_return(self)
1383
- end
1384
- end
1385
-
1386
- def accept(visitor)
1387
- if (visitor.respond_to?(:visitModl_array_conditional_return))
1388
- return visitor.visitModl_array_conditional_return(self)
1389
- else
1390
- return visitor.visit_children(self)
1391
- end
1392
- end
1393
- end
1394
-
1395
- def modl_array_conditional_return()
1396
- _localctx = Modl_array_conditional_returnContext.new(@_ctx, @_state_number)
1397
- enter_rule(_localctx, 26, RULE_modl_array_conditional_return)
1398
- _la = 0
1399
- begin
1400
- enter_outer_alt(_localctx, 1)
1401
-
1402
- @_state_number = 215
1403
- @_err_handler.sync(self)
1404
- _la = @_input.la(1)
1405
- loop do
1406
-
1407
-
1408
- @_state_number = 214
1409
- modl_array_item()
1410
- @_state_number = 217
1411
- @_err_handler.sync(self)
1412
- _la = @_input.la(1)
1413
- break if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0)))
1414
- end
1415
- rescue Antlr4::Runtime::RecognitionException => re
1416
- _localctx.exception = re
1417
- @_err_handler.report_error(self, re)
1418
- @_err_handler.recover(self, re)
1419
- ensure
1420
- exit_rule()
1421
- end
1422
- return _localctx
1423
- end
1424
-
1425
- class Modl_array_itemContext < Antlr4::Runtime::ParserRuleContext
1426
- def modl_array_value_item()
1427
- return rule_context("Modl_array_value_itemContext",0)
1428
- end
1429
- def modl_array_conditional()
1430
- return rule_context("Modl_array_conditionalContext",0)
1431
- end
1432
- def initialize( parent, invokingState)
1433
- super(parent, invokingState)
1434
- end
1435
- def getRuleIndex()
1436
- return RULE_modl_array_item
1437
- end
1438
- def enter_rule( listener)
1439
- if (listener.respond_to?(:enterModl_array_item))
1440
- listener.enterModl_array_item(self)
1441
- end
1442
- end
1443
- def exit_rule( listener)
1444
- if (listener.respond_to?(:exitModl_array_item))
1445
- listener.exitModl_array_item(self)
1446
- end
1447
- end
1448
-
1449
- def accept(visitor)
1450
- if (visitor.respond_to?(:visitModl_array_item))
1451
- return visitor.visitModl_array_item(self)
1452
- else
1453
- return visitor.visit_children(self)
1454
- end
1455
- end
1456
- end
1457
-
1458
- def modl_array_item()
1459
- _localctx = Modl_array_itemContext.new(@_ctx, @_state_number)
1460
- enter_rule(_localctx, 28, RULE_modl_array_item)
1461
- begin
1462
- @_state_number = 221
1463
- @_err_handler.sync(self)
1464
- case (@_input.la(1))
1465
- when MODLParser::NULL, MODLParser::TRUE, MODLParser::FALSE, MODLParser::LBRAC, MODLParser::LSBRAC, MODLParser::NUMBER, MODLParser::QUOTED, MODLParser::STRING
1466
- enter_outer_alt(_localctx, 1)
1467
-
1468
- @_state_number = 219
1469
- modl_array_value_item()
1470
-
1471
- when MODLParser::LCBRAC
1472
- enter_outer_alt(_localctx, 2)
1473
-
1474
- @_state_number = 220
1475
- modl_array_conditional()
1476
- else
1477
- raise Antlr4::Runtime::NoViableAltException, self
1478
- end
1479
- rescue Antlr4::Runtime::RecognitionException => re
1480
- _localctx.exception = re
1481
- @_err_handler.report_error(self, re)
1482
- @_err_handler.recover(self, re)
1483
- ensure
1484
- exit_rule()
1485
- end
1486
- return _localctx
1487
- end
1488
-
1489
- class Modl_value_conditionalContext < Antlr4::Runtime::ParserRuleContext
1490
- def LCBRAC()
1491
- return token(MODLParser::LCBRAC, 0)
1492
- end
1493
- def modl_condition_test()
1494
- return rule_contexts("Modl_condition_testContext")
1495
- end
1496
- def modl_condition_test_i( i)
1497
- return rule_context("Modl_condition_testContext",i)
1498
- end
1499
- def QMARK()
1500
- return tokens(MODLParser::QMARK)
1501
- end
1502
- def QMARK_i( i)
1503
- return token(MODLParser::QMARK, i)
1504
- end
1505
- def RCBRAC()
1506
- return token(MODLParser::RCBRAC, 0)
1507
- end
1508
- def modl_value_conditional_return()
1509
- return rule_contexts("Modl_value_conditional_returnContext")
1510
- end
1511
- def modl_value_conditional_return_i( i)
1512
- return rule_context("Modl_value_conditional_returnContext",i)
1513
- end
1514
- def FSLASH()
1515
- return tokens(MODLParser::FSLASH)
1516
- end
1517
- def FSLASH_i( i)
1518
- return token(MODLParser::FSLASH, i)
1519
- end
1520
- def initialize( parent, invokingState)
1521
- super(parent, invokingState)
1522
- end
1523
- def getRuleIndex()
1524
- return RULE_modl_value_conditional
1525
- end
1526
- def enter_rule( listener)
1527
- if (listener.respond_to?(:enterModl_value_conditional))
1528
- listener.enterModl_value_conditional(self)
1529
- end
1530
- end
1531
- def exit_rule( listener)
1532
- if (listener.respond_to?(:exitModl_value_conditional))
1533
- listener.exitModl_value_conditional(self)
1534
- end
1535
- end
1536
-
1537
- def accept(visitor)
1538
- if (visitor.respond_to?(:visitModl_value_conditional))
1539
- return visitor.visitModl_value_conditional(self)
1540
- else
1541
- return visitor.visit_children(self)
1542
- end
1543
- end
1544
- end
1545
-
1546
- def modl_value_conditional()
1547
- _localctx = Modl_value_conditionalContext.new(@_ctx, @_state_number)
1548
- enter_rule(_localctx, 30, RULE_modl_value_conditional)
1549
- _la = 0
1550
- begin
1551
- _alt = 0
1552
- enter_outer_alt(_localctx, 1)
1553
-
1554
- @_state_number = 223
1555
- match(LCBRAC)
1556
- @_state_number = 224
1557
- modl_condition_test()
1558
- @_state_number = 225
1559
- match(QMARK)
1560
- @_state_number = 241
1561
- @_err_handler.sync(self)
1562
- _la = @_input.la(1)
1563
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << LBRAC) | (1 << LSBRAC) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING) | (1 << LCBRAC))) != 0))
1564
-
1565
- @_state_number = 226
1566
- modl_value_conditional_return()
1567
- @_state_number = 234
1568
- @_err_handler.sync(self);
1569
- _alt = @_interp.adaptive_predict(@_input,30,@_ctx)
1570
- while ( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
1571
- if ( _alt==1 )
1572
-
1573
-
1574
- @_state_number = 227
1575
- match(FSLASH)
1576
- @_state_number = 228
1577
- modl_condition_test()
1578
- @_state_number = 229
1579
- match(QMARK)
1580
- @_state_number = 230
1581
- modl_value_conditional_return()
1582
- end
1583
- @_state_number = 236
1584
- @_err_handler.sync(self)
1585
- _alt = @_interp.adaptive_predict(@_input,30,@_ctx)
1586
- end
1587
-
1588
- @_state_number = 237
1589
- match(FSLASH)
1590
- @_state_number = 238
1591
- match(QMARK)
1592
- @_state_number = 239
1593
- modl_value_conditional_return()
1594
- end
1595
-
1596
- @_state_number = 243
1597
- match(RCBRAC)
1598
- rescue Antlr4::Runtime::RecognitionException => re
1599
- _localctx.exception = re
1600
- @_err_handler.report_error(self, re)
1601
- @_err_handler.recover(self, re)
1602
- ensure
1603
- exit_rule()
1604
- end
1605
- return _localctx
1606
- end
1607
-
1608
- class Modl_value_conditional_returnContext < Antlr4::Runtime::ParserRuleContext
1609
- def modl_value_item()
1610
- return rule_contexts("Modl_value_itemContext")
1611
- end
1612
- def modl_value_item_i( i)
1613
- return rule_context("Modl_value_itemContext",i)
1614
- end
1615
- def COLON()
1616
- return tokens(MODLParser::COLON)
1617
- end
1618
- def COLON_i( i)
1619
- return token(MODLParser::COLON, i)
1620
- end
1621
- def initialize( parent, invokingState)
1622
- super(parent, invokingState)
1623
- end
1624
- def getRuleIndex()
1625
- return RULE_modl_value_conditional_return
1626
- end
1627
- def enter_rule( listener)
1628
- if (listener.respond_to?(:enterModl_value_conditional_return))
1629
- listener.enterModl_value_conditional_return(self)
1630
- end
1631
- end
1632
- def exit_rule( listener)
1633
- if (listener.respond_to?(:exitModl_value_conditional_return))
1634
- listener.exitModl_value_conditional_return(self)
1635
- end
1636
- end
1637
-
1638
- def accept(visitor)
1639
- if (visitor.respond_to?(:visitModl_value_conditional_return))
1640
- return visitor.visitModl_value_conditional_return(self)
1641
- else
1642
- return visitor.visit_children(self)
1643
- end
1644
- end
1645
- end
1646
-
1647
- def modl_value_conditional_return()
1648
- _localctx = Modl_value_conditional_returnContext.new(@_ctx, @_state_number)
1649
- enter_rule(_localctx, 32, RULE_modl_value_conditional_return)
1650
- _la = 0
1651
- begin
1652
- enter_outer_alt(_localctx, 1)
1653
-
1654
- @_state_number = 245
1655
- modl_value_item()
1656
- @_state_number = 250
1657
- @_err_handler.sync(self)
1658
- _la = @_input.la(1)
1659
- while (_la==COLON)
1660
-
1661
-
1662
- @_state_number = 246
1663
- match(COLON)
1664
- @_state_number = 247
1665
- modl_value_item()
1666
- @_state_number = 252
1667
- @_err_handler.sync(self)
1668
- _la = @_input.la(1)
1669
- end
1670
- rescue Antlr4::Runtime::RecognitionException => re
1671
- _localctx.exception = re
1672
- @_err_handler.report_error(self, re)
1673
- @_err_handler.recover(self, re)
1674
- ensure
1675
- exit_rule()
1676
- end
1677
- return _localctx
1678
- end
1679
-
1680
- class Modl_condition_testContext < Antlr4::Runtime::ParserRuleContext
1681
- def modl_condition()
1682
- return rule_contexts("Modl_conditionContext")
1683
- end
1684
- def modl_condition_i( i)
1685
- return rule_context("Modl_conditionContext",i)
1686
- end
1687
- def modl_condition_group()
1688
- return rule_contexts("Modl_condition_groupContext")
1689
- end
1690
- def modl_condition_group_i( i)
1691
- return rule_context("Modl_condition_groupContext",i)
1692
- end
1693
- def EXCLAM()
1694
- return tokens(MODLParser::EXCLAM)
1695
- end
1696
- def EXCLAM_i( i)
1697
- return token(MODLParser::EXCLAM, i)
1698
- end
1699
- def AMP()
1700
- return tokens(MODLParser::AMP)
1701
- end
1702
- def AMP_i( i)
1703
- return token(MODLParser::AMP, i)
1704
- end
1705
- def PIPE()
1706
- return tokens(MODLParser::PIPE)
1707
- end
1708
- def PIPE_i( i)
1709
- return token(MODLParser::PIPE, i)
1710
- end
1711
- def initialize( parent, invokingState)
1712
- super(parent, invokingState)
1713
- end
1714
- def getRuleIndex()
1715
- return RULE_modl_condition_test
1716
- end
1717
- def enter_rule( listener)
1718
- if (listener.respond_to?(:enterModl_condition_test))
1719
- listener.enterModl_condition_test(self)
1720
- end
1721
- end
1722
- def exit_rule( listener)
1723
- if (listener.respond_to?(:exitModl_condition_test))
1724
- listener.exitModl_condition_test(self)
1725
- end
1726
- end
1727
-
1728
- def accept(visitor)
1729
- if (visitor.respond_to?(:visitModl_condition_test))
1730
- return visitor.visitModl_condition_test(self)
1731
- else
1732
- return visitor.visit_children(self)
1733
- end
1734
- end
1735
- end
1736
-
1737
- def modl_condition_test()
1738
- _localctx = Modl_condition_testContext.new(@_ctx, @_state_number)
1739
- enter_rule(_localctx, 34, RULE_modl_condition_test)
1740
- _la = 0
1741
- begin
1742
- _alt = 0
1743
- enter_outer_alt(_localctx, 1)
1744
-
1745
- @_state_number = 254
1746
- @_err_handler.sync(self)
1747
- case ( @_interp.adaptive_predict(@_input,33,@_ctx) )
1748
- when 1
1749
-
1750
- @_state_number = 253
1751
- match(EXCLAM)
1752
-
1753
- end
1754
- @_state_number = 258
1755
- @_err_handler.sync(self)
1756
- case ( @_interp.adaptive_predict(@_input,34,@_ctx) )
1757
- when 1
1758
-
1759
- @_state_number = 256
1760
- modl_condition()
1761
-
1762
- when 2
1763
-
1764
- @_state_number = 257
1765
- modl_condition_group()
1766
-
1767
- end
1768
- @_state_number = 270
1769
- @_err_handler.sync(self);
1770
- _alt = @_interp.adaptive_predict(@_input,37,@_ctx)
1771
- while ( _alt!=2 && _alt!=Antlr4::Runtime::ATN::INVALID_ALT_NUMBER )
1772
- if ( _alt==1 )
1773
-
1774
-
1775
- @_state_number = 260
1776
- _la = @_input.la(1)
1777
- if ( !(_la==AMP || _la==PIPE) )
1778
- @_err_handler.recover_in_line(self)
1779
-
1780
- else
1781
- if ( @_input.la(1)==Antlr4::Runtime::Token::EOF )
1782
- @matchedEOF = true
1783
- end
1784
- @_err_handler.report_match(self)
1785
- consume()
1786
- end
1787
- @_state_number = 262
1788
- @_err_handler.sync(self)
1789
- case ( @_interp.adaptive_predict(@_input,35,@_ctx) )
1790
- when 1
1791
-
1792
- @_state_number = 261
1793
- match(EXCLAM)
1794
-
1795
- end
1796
- @_state_number = 266
1797
- @_err_handler.sync(self)
1798
- case ( @_interp.adaptive_predict(@_input,36,@_ctx) )
1799
- when 1
1800
-
1801
- @_state_number = 264
1802
- modl_condition()
1803
-
1804
- when 2
1805
-
1806
- @_state_number = 265
1807
- modl_condition_group()
1808
-
1809
- end
1810
- end
1811
- @_state_number = 272
1812
- @_err_handler.sync(self)
1813
- _alt = @_interp.adaptive_predict(@_input,37,@_ctx)
1814
- end
1815
- rescue Antlr4::Runtime::RecognitionException => re
1816
- _localctx.exception = re
1817
- @_err_handler.report_error(self, re)
1818
- @_err_handler.recover(self, re)
1819
- ensure
1820
- exit_rule()
1821
- end
1822
- return _localctx
1823
- end
1824
-
1825
- class Modl_operatorContext < Antlr4::Runtime::ParserRuleContext
1826
- def EQUALS()
1827
- return token(MODLParser::EQUALS, 0)
1828
- end
1829
- def GTHAN()
1830
- return token(MODLParser::GTHAN, 0)
1831
- end
1832
- def LTHAN()
1833
- return token(MODLParser::LTHAN, 0)
1834
- end
1835
- def EXCLAM()
1836
- return token(MODLParser::EXCLAM, 0)
1837
- end
1838
- def initialize( parent, invokingState)
1839
- super(parent, invokingState)
1840
- end
1841
- def getRuleIndex()
1842
- return RULE_modl_operator
1843
- end
1844
- def enter_rule( listener)
1845
- if (listener.respond_to?(:enterModl_operator))
1846
- listener.enterModl_operator(self)
1847
- end
1848
- end
1849
- def exit_rule( listener)
1850
- if (listener.respond_to?(:exitModl_operator))
1851
- listener.exitModl_operator(self)
1852
- end
1853
- end
1854
-
1855
- def accept(visitor)
1856
- if (visitor.respond_to?(:visitModl_operator))
1857
- return visitor.visitModl_operator(self)
1858
- else
1859
- return visitor.visit_children(self)
1860
- end
1861
- end
1862
- end
1863
-
1864
- def modl_operator()
1865
- _localctx = Modl_operatorContext.new(@_ctx, @_state_number)
1866
- enter_rule(_localctx, 36, RULE_modl_operator)
1867
- begin
1868
- @_state_number = 282
1869
- @_err_handler.sync(self)
1870
- case ( @_interp.adaptive_predict(@_input,38,@_ctx) )
1871
- when 1
1872
- enter_outer_alt(_localctx, 1)
1873
-
1874
- @_state_number = 273
1875
- match(EQUALS)
1876
-
1877
- when 2
1878
- enter_outer_alt(_localctx, 2)
1879
-
1880
- @_state_number = 274
1881
- match(GTHAN)
1882
-
1883
- when 3
1884
- enter_outer_alt(_localctx, 3)
1885
-
1886
- @_state_number = 275
1887
- match(GTHAN)
1888
- @_state_number = 276
1889
- match(EQUALS)
1890
-
1891
- when 4
1892
- enter_outer_alt(_localctx, 4)
1893
-
1894
- @_state_number = 277
1895
- match(LTHAN)
1896
-
1897
- when 5
1898
- enter_outer_alt(_localctx, 5)
1899
-
1900
- @_state_number = 278
1901
- match(LTHAN)
1902
- @_state_number = 279
1903
- match(EQUALS)
1904
-
1905
- when 6
1906
- enter_outer_alt(_localctx, 6)
1907
-
1908
- @_state_number = 280
1909
- match(EXCLAM)
1910
- @_state_number = 281
1911
- match(EQUALS)
1912
-
1913
- end
1914
- rescue Antlr4::Runtime::RecognitionException => re
1915
- _localctx.exception = re
1916
- @_err_handler.report_error(self, re)
1917
- @_err_handler.recover(self, re)
1918
- ensure
1919
- exit_rule()
1920
- end
1921
- return _localctx
1922
- end
1923
-
1924
- class Modl_conditionContext < Antlr4::Runtime::ParserRuleContext
1925
- def modl_value()
1926
- return rule_contexts("Modl_valueContext")
1927
- end
1928
- def modl_value_i( i)
1929
- return rule_context("Modl_valueContext",i)
1930
- end
1931
- def STRING()
1932
- return token(MODLParser::STRING, 0)
1933
- end
1934
- def modl_operator()
1935
- return rule_context("Modl_operatorContext",0)
1936
- end
1937
- def FSLASH()
1938
- return tokens(MODLParser::FSLASH)
1939
- end
1940
- def FSLASH_i( i)
1941
- return token(MODLParser::FSLASH, i)
1942
- end
1943
- def initialize( parent, invokingState)
1944
- super(parent, invokingState)
1945
- end
1946
- def getRuleIndex()
1947
- return RULE_modl_condition
1948
- end
1949
- def enter_rule( listener)
1950
- if (listener.respond_to?(:enterModl_condition))
1951
- listener.enterModl_condition(self)
1952
- end
1953
- end
1954
- def exit_rule( listener)
1955
- if (listener.respond_to?(:exitModl_condition))
1956
- listener.exitModl_condition(self)
1957
- end
1958
- end
1959
-
1960
- def accept(visitor)
1961
- if (visitor.respond_to?(:visitModl_condition))
1962
- return visitor.visitModl_condition(self)
1963
- else
1964
- return visitor.visit_children(self)
1965
- end
1966
- end
1967
- end
1968
-
1969
- def modl_condition()
1970
- _localctx = Modl_conditionContext.new(@_ctx, @_state_number)
1971
- enter_rule(_localctx, 38, RULE_modl_condition)
1972
- _la = 0
1973
- begin
1974
- enter_outer_alt(_localctx, 1)
1975
-
1976
- @_state_number = 285
1977
- @_err_handler.sync(self)
1978
- case ( @_interp.adaptive_predict(@_input,39,@_ctx) )
1979
- when 1
1980
-
1981
- @_state_number = 284
1982
- match(STRING)
1983
-
1984
- end
1985
- @_state_number = 288
1986
- @_err_handler.sync(self)
1987
- _la = @_input.la(1)
1988
- if ((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << EQUALS) | (1 << GTHAN) | (1 << LTHAN) | (1 << EXCLAM))) != 0))
1989
-
1990
- @_state_number = 287
1991
- modl_operator()
1992
- end
1993
-
1994
- @_state_number = 290
1995
- modl_value()
1996
- @_state_number = 295
1997
- @_err_handler.sync(self)
1998
- _la = @_input.la(1)
1999
- while (_la==FSLASH)
2000
-
2001
-
2002
- @_state_number = 291
2003
- match(FSLASH)
2004
- @_state_number = 292
2005
- modl_value()
2006
- @_state_number = 297
2007
- @_err_handler.sync(self)
2008
- _la = @_input.la(1)
2009
- end
2010
- rescue Antlr4::Runtime::RecognitionException => re
2011
- _localctx.exception = re
2012
- @_err_handler.report_error(self, re)
2013
- @_err_handler.recover(self, re)
2014
- ensure
2015
- exit_rule()
2016
- end
2017
- return _localctx
2018
- end
2019
-
2020
- class Modl_condition_groupContext < Antlr4::Runtime::ParserRuleContext
2021
- def LCBRAC()
2022
- return token(MODLParser::LCBRAC, 0)
2023
- end
2024
- def modl_condition_test()
2025
- return rule_contexts("Modl_condition_testContext")
2026
- end
2027
- def modl_condition_test_i( i)
2028
- return rule_context("Modl_condition_testContext",i)
2029
- end
2030
- def RCBRAC()
2031
- return token(MODLParser::RCBRAC, 0)
2032
- end
2033
- def AMP()
2034
- return tokens(MODLParser::AMP)
2035
- end
2036
- def AMP_i( i)
2037
- return token(MODLParser::AMP, i)
2038
- end
2039
- def PIPE()
2040
- return tokens(MODLParser::PIPE)
2041
- end
2042
- def PIPE_i( i)
2043
- return token(MODLParser::PIPE, i)
2044
- end
2045
- def initialize( parent, invokingState)
2046
- super(parent, invokingState)
2047
- end
2048
- def getRuleIndex()
2049
- return RULE_modl_condition_group
2050
- end
2051
- def enter_rule( listener)
2052
- if (listener.respond_to?(:enterModl_condition_group))
2053
- listener.enterModl_condition_group(self)
2054
- end
2055
- end
2056
- def exit_rule( listener)
2057
- if (listener.respond_to?(:exitModl_condition_group))
2058
- listener.exitModl_condition_group(self)
2059
- end
2060
- end
2061
-
2062
- def accept(visitor)
2063
- if (visitor.respond_to?(:visitModl_condition_group))
2064
- return visitor.visitModl_condition_group(self)
2065
- else
2066
- return visitor.visit_children(self)
2067
- end
2068
- end
2069
- end
2070
-
2071
- def modl_condition_group()
2072
- _localctx = Modl_condition_groupContext.new(@_ctx, @_state_number)
2073
- enter_rule(_localctx, 40, RULE_modl_condition_group)
2074
- _la = 0
2075
- begin
2076
- enter_outer_alt(_localctx, 1)
2077
-
2078
- @_state_number = 298
2079
- match(LCBRAC)
2080
- @_state_number = 299
2081
- modl_condition_test()
2082
- @_state_number = 304
2083
- @_err_handler.sync(self)
2084
- _la = @_input.la(1)
2085
- while (_la==AMP || _la==PIPE)
2086
-
2087
-
2088
- @_state_number = 300
2089
- _la = @_input.la(1)
2090
- if ( !(_la==AMP || _la==PIPE) )
2091
- @_err_handler.recover_in_line(self)
2092
-
2093
- else
2094
- if ( @_input.la(1)==Antlr4::Runtime::Token::EOF )
2095
- @matchedEOF = true
2096
- end
2097
- @_err_handler.report_match(self)
2098
- consume()
2099
- end
2100
- @_state_number = 301
2101
- modl_condition_test()
2102
- @_state_number = 306
2103
- @_err_handler.sync(self)
2104
- _la = @_input.la(1)
2105
- end
2106
- @_state_number = 307
2107
- match(RCBRAC)
2108
- rescue Antlr4::Runtime::RecognitionException => re
2109
- _localctx.exception = re
2110
- @_err_handler.report_error(self, re)
2111
- @_err_handler.recover(self, re)
2112
- ensure
2113
- exit_rule()
2114
- end
2115
- return _localctx
2116
- end
2117
-
2118
- class Modl_valueContext < Antlr4::Runtime::ParserRuleContext
2119
- def modl_map()
2120
- return rule_context("Modl_mapContext",0)
2121
- end
2122
- def modl_array()
2123
- return rule_context("Modl_arrayContext",0)
2124
- end
2125
- def modl_nb_array()
2126
- return rule_context("Modl_nb_arrayContext",0)
2127
- end
2128
- def modl_pair()
2129
- return rule_context("Modl_pairContext",0)
2130
- end
2131
- def modl_primitive()
2132
- return rule_context("Modl_primitiveContext",0)
2133
- end
2134
- def initialize( parent, invokingState)
2135
- super(parent, invokingState)
2136
- end
2137
- def getRuleIndex()
2138
- return RULE_modl_value
2139
- end
2140
- def enter_rule( listener)
2141
- if (listener.respond_to?(:enterModl_value))
2142
- listener.enterModl_value(self)
2143
- end
2144
- end
2145
- def exit_rule( listener)
2146
- if (listener.respond_to?(:exitModl_value))
2147
- listener.exitModl_value(self)
2148
- end
2149
- end
2150
-
2151
- def accept(visitor)
2152
- if (visitor.respond_to?(:visitModl_value))
2153
- return visitor.visitModl_value(self)
2154
- else
2155
- return visitor.visit_children(self)
2156
- end
2157
- end
2158
- end
2159
-
2160
- def modl_value()
2161
- _localctx = Modl_valueContext.new(@_ctx, @_state_number)
2162
- enter_rule(_localctx, 42, RULE_modl_value)
2163
- begin
2164
- @_state_number = 314
2165
- @_err_handler.sync(self)
2166
- case ( @_interp.adaptive_predict(@_input,43,@_ctx) )
2167
- when 1
2168
- enter_outer_alt(_localctx, 1)
2169
-
2170
- @_state_number = 309
2171
- modl_map()
2172
-
2173
- when 2
2174
- enter_outer_alt(_localctx, 2)
2175
-
2176
- @_state_number = 310
2177
- modl_array()
2178
-
2179
- when 3
2180
- enter_outer_alt(_localctx, 3)
2181
-
2182
- @_state_number = 311
2183
- modl_nb_array()
2184
-
2185
- when 4
2186
- enter_outer_alt(_localctx, 4)
2187
-
2188
- @_state_number = 312
2189
- modl_pair()
2190
-
2191
- when 5
2192
- enter_outer_alt(_localctx, 5)
2193
-
2194
- @_state_number = 313
2195
- modl_primitive()
2196
-
2197
- end
2198
- rescue Antlr4::Runtime::RecognitionException => re
2199
- _localctx.exception = re
2200
- @_err_handler.report_error(self, re)
2201
- @_err_handler.recover(self, re)
2202
- ensure
2203
- exit_rule()
2204
- end
2205
- return _localctx
2206
- end
2207
-
2208
- class Modl_array_value_itemContext < Antlr4::Runtime::ParserRuleContext
2209
- def modl_map()
2210
- return rule_context("Modl_mapContext",0)
2211
- end
2212
- def modl_pair()
2213
- return rule_context("Modl_pairContext",0)
2214
- end
2215
- def modl_array()
2216
- return rule_context("Modl_arrayContext",0)
2217
- end
2218
- def modl_primitive()
2219
- return rule_context("Modl_primitiveContext",0)
2220
- end
2221
- def initialize( parent, invokingState)
2222
- super(parent, invokingState)
2223
- end
2224
- def getRuleIndex()
2225
- return RULE_modl_array_value_item
2226
- end
2227
- def enter_rule( listener)
2228
- if (listener.respond_to?(:enterModl_array_value_item))
2229
- listener.enterModl_array_value_item(self)
2230
- end
2231
- end
2232
- def exit_rule( listener)
2233
- if (listener.respond_to?(:exitModl_array_value_item))
2234
- listener.exitModl_array_value_item(self)
2235
- end
2236
- end
2237
-
2238
- def accept(visitor)
2239
- if (visitor.respond_to?(:visitModl_array_value_item))
2240
- return visitor.visitModl_array_value_item(self)
2241
- else
2242
- return visitor.visit_children(self)
2243
- end
2244
- end
2245
- end
2246
-
2247
- def modl_array_value_item()
2248
- _localctx = Modl_array_value_itemContext.new(@_ctx, @_state_number)
2249
- enter_rule(_localctx, 44, RULE_modl_array_value_item)
2250
- begin
2251
- @_state_number = 320
2252
- @_err_handler.sync(self)
2253
- case ( @_interp.adaptive_predict(@_input,44,@_ctx) )
2254
- when 1
2255
- enter_outer_alt(_localctx, 1)
2256
-
2257
- @_state_number = 316
2258
- modl_map()
2259
-
2260
- when 2
2261
- enter_outer_alt(_localctx, 2)
2262
-
2263
- @_state_number = 317
2264
- modl_pair()
2265
-
2266
- when 3
2267
- enter_outer_alt(_localctx, 3)
2268
-
2269
- @_state_number = 318
2270
- modl_array()
2271
-
2272
- when 4
2273
- enter_outer_alt(_localctx, 4)
2274
-
2275
- @_state_number = 319
2276
- modl_primitive()
2277
-
2278
- end
2279
- rescue Antlr4::Runtime::RecognitionException => re
2280
- _localctx.exception = re
2281
- @_err_handler.report_error(self, re)
2282
- @_err_handler.recover(self, re)
2283
- ensure
2284
- exit_rule()
2285
- end
2286
- return _localctx
2287
- end
2288
-
2289
- class Modl_primitiveContext < Antlr4::Runtime::ParserRuleContext
2290
- def QUOTED()
2291
- return token(MODLParser::QUOTED, 0)
2292
- end
2293
- def NUMBER()
2294
- return token(MODLParser::NUMBER, 0)
2295
- end
2296
- def STRING()
2297
- return token(MODLParser::STRING, 0)
2298
- end
2299
- def TRUE()
2300
- return token(MODLParser::TRUE, 0)
2301
- end
2302
- def FALSE()
2303
- return token(MODLParser::FALSE, 0)
2304
- end
2305
- def NULL()
2306
- return token(MODLParser::NULL, 0)
2307
- end
2308
- def initialize( parent, invokingState)
2309
- super(parent, invokingState)
2310
- end
2311
- def getRuleIndex()
2312
- return RULE_modl_primitive
2313
- end
2314
- def enter_rule( listener)
2315
- if (listener.respond_to?(:enterModl_primitive))
2316
- listener.enterModl_primitive(self)
2317
- end
2318
- end
2319
- def exit_rule( listener)
2320
- if (listener.respond_to?(:exitModl_primitive))
2321
- listener.exitModl_primitive(self)
2322
- end
2323
- end
2324
-
2325
- def accept(visitor)
2326
- if (visitor.respond_to?(:visitModl_primitive))
2327
- return visitor.visitModl_primitive(self)
2328
- else
2329
- return visitor.visit_children(self)
2330
- end
2331
- end
2332
- end
2333
-
2334
- def modl_primitive()
2335
- _localctx = Modl_primitiveContext.new(@_ctx, @_state_number)
2336
- enter_rule(_localctx, 46, RULE_modl_primitive)
2337
- _la = 0
2338
- begin
2339
- enter_outer_alt(_localctx, 1)
2340
-
2341
- @_state_number = 322
2342
- _la = @_input.la(1)
2343
- if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & ((1 << NULL) | (1 << TRUE) | (1 << FALSE) | (1 << NUMBER) | (1 << QUOTED) | (1 << STRING))) != 0)))
2344
- @_err_handler.recover_in_line(self)
2345
-
2346
- else
2347
- if ( @_input.la(1)==Antlr4::Runtime::Token::EOF )
2348
- @matchedEOF = true
2349
- end
2350
- @_err_handler.report_match(self)
2351
- consume()
2352
- end
2353
- rescue Antlr4::Runtime::RecognitionException => re
2354
- _localctx.exception = re
2355
- @_err_handler.report_error(self, re)
2356
- @_err_handler.recover(self, re)
2357
- ensure
2358
- exit_rule()
2359
- end
2360
- return _localctx
2361
- end
2362
-
2363
- @@_serializedATN = ["\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
2364
- "\3\37\u0147\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b",
2365
- "\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20",
2366
- "\t\20\4\21\t\21\4\22\t\22\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4",
2367
- "\27\t\27\4\30\t\30\4\31\t\31\3\2\5\2\64\n\2\3\2\3\2\3\2\7\29\n\2\f",
2368
- "\2\16\2<\13\2\3\2\5\2?\n\2\5\2A\n\2\3\2\3\2\3\3\3\3\3\3\3\3\5\3I\n",
2369
- "\3\3\4\3\4\3\4\3\4\7\4O\n\4\f\4\16\4R\13\4\5\4T\n\4\3\4\3\4\3\5\3\5",
2370
- "\3\5\5\5[\n\5\3\5\6\5^\n\5\r\5\16\5_\3\5\3\5\5\5d\n\5\3\5\7\5g\n\5",
2371
- "\f\5\16\5j\13\5\7\5l\n\5\f\5\16\5o\13\5\5\5q\n\5\3\5\3\5\3\6\3\6\6",
2372
- "\6w\n\6\r\6\16\6x\6\6{\n\6\r\6\16\6|\3\6\7\6\u0080\n\6\f\6\16\6\u0083",
2373
- "\13\6\3\6\5\6\u0086\n\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\5\7\u008f\n\7\3",
2374
- "\b\3\b\5\b\u0093\n\b\3\t\3\t\3\t\3\t\3\t\3\t\5\t\u009b\n\t\3\t\3\t",
2375
- "\7\t\u009f\n\t\f\t\16\t\u00a2\13\t\3\t\3\t\3\n\3\n\3\n\7\n\u00a9\n",
2376
- "\n\f\n\16\n\u00ac\13\n\3\13\3\13\3\13\3\13\3\13\3\13\5\13\u00b4\n\13",
2377
- "\3\13\3\13\7\13\u00b8\n\13\f\13\16\13\u00bb\13\13\3\13\3\13\3\f\6\f",
2378
- "\u00c0\n\f\r\f\16\f\u00c1\3\r\3\r\5\r\u00c6\n\r\3\16\3\16\3\16\3\16",
2379
- "\3\16\3\16\5\16\u00ce\n\16\3\16\3\16\7\16\u00d2\n\16\f\16\16\16\u00d5",
2380
- "\13\16\3\16\3\16\3\17\6\17\u00da\n\17\r\17\16\17\u00db\3\20\3\20\5",
2381
- "\20\u00e0\n\20\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\21\7\21\u00eb",
2382
- "\n\21\f\21\16\21\u00ee\13\21\3\21\3\21\3\21\3\21\5\21\u00f4\n\21\3",
2383
- "\21\3\21\3\22\3\22\3\22\7\22\u00fb\n\22\f\22\16\22\u00fe\13\22\3\23",
2384
- "\5\23\u0101\n\23\3\23\3\23\5\23\u0105\n\23\3\23\3\23\5\23\u0109\n\23",
2385
- "\3\23\3\23\5\23\u010d\n\23\7\23\u010f\n\23\f\23\16\23\u0112\13\23\3",
2386
- "\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\24\5\24\u011d\n\24\3\25\5",
2387
- "\25\u0120\n\25\3\25\5\25\u0123\n\25\3\25\3\25\3\25\7\25\u0128\n\25",
2388
- "\f\25\16\25\u012b\13\25\3\26\3\26\3\26\3\26\7\26\u0131\n\26\f\26\16",
2389
- "\26\u0134\13\26\3\26\3\26\3\27\3\27\3\27\3\27\3\27\5\27\u013d\n\27",
2390
- "\3\30\3\30\3\30\3\30\5\30\u0143\n\30\3\31\3\31\3\31\2\2\32\2\4\6\b",
2391
- "\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\2\5\3\2\21\22\3\2\33\34",
2392
- "\5\2\4\6\17\17\21\22\2\u0167\2@\3\2\2\2\4H\3\2\2\2\6J\3\2\2\2\bW\3",
2393
- "\2\2\2\nz\3\2\2\2\f\u008e\3\2\2\2\16\u0092\3\2\2\2\20\u0094\3\2\2\2",
2394
- "\22\u00a5\3\2\2\2\24\u00ad\3\2\2\2\26\u00bf\3\2\2\2\30\u00c5\3\2\2",
2395
- "\2\32\u00c7\3\2\2\2\34\u00d9\3\2\2\2\36\u00df\3\2\2\2 \u00e1\3\2\2",
2396
- "\2\"\u00f7\3\2\2\2$\u0100\3\2\2\2&\u011c\3\2\2\2(\u011f\3\2\2\2*\u012c",
2397
- "\3\2\2\2,\u013c\3\2\2\2.\u0142\3\2\2\2\60\u0144\3\2\2\2\62\64\5\4\3",
2398
- "\2\63\62\3\2\2\2\63\64\3\2\2\2\64A\3\2\2\2\65:\5\4\3\2\66\67\7\t\2",
2399
- "\2\679\5\4\3\28\66\3\2\2\29<\3\2\2\2:8\3\2\2\2:;\3\2\2\2;>\3\2\2\2",
2400
- "<:\3\2\2\2=?\7\t\2\2>=\3\2\2\2>?\3\2\2\2?A\3\2\2\2@\63\3\2\2\2@\65",
2401
- "\3\2\2\2AB\3\2\2\2BC\7\2\2\3C\3\3\2\2\2DI\5\6\4\2EI\5\b\5\2FI\5\20",
2402
- "\t\2GI\5\f\7\2HD\3\2\2\2HE\3\2\2\2HF\3\2\2\2HG\3\2\2\2I\5\3\2\2\2J",
2403
- "S\7\13\2\2KP\5\30\r\2LM\7\t\2\2MO\5\30\r\2NL\3\2\2\2OR\3\2\2\2PN\3",
2404
- "\2\2\2PQ\3\2\2\2QT\3\2\2\2RP\3\2\2\2SK\3\2\2\2ST\3\2\2\2TU\3\2\2\2",
2405
- "UV\7\f\2\2V\7\3\2\2\2Wp\7\r\2\2X[\5\36\20\2Y[\5\n\6\2ZX\3\2\2\2ZY\3",
2406
- "\2\2\2[m\3\2\2\2\\^\7\t\2\2]\\\3\2\2\2^_\3\2\2\2_]\3\2\2\2_`\3\2\2",
2407
- "\2`c\3\2\2\2ad\5\36\20\2bd\5\n\6\2ca\3\2\2\2cb\3\2\2\2dh\3\2\2\2eg",
2408
- "\7\t\2\2fe\3\2\2\2gj\3\2\2\2hf\3\2\2\2hi\3\2\2\2il\3\2\2\2jh\3\2\2",
2409
- "\2k]\3\2\2\2lo\3\2\2\2mk\3\2\2\2mn\3\2\2\2nq\3\2\2\2om\3\2\2\2pZ\3",
2410
- "\2\2\2pq\3\2\2\2qr\3\2\2\2rs\7\16\2\2s\t\3\2\2\2tv\5\36\20\2uw\7\7",
2411
- "\2\2vu\3\2\2\2wx\3\2\2\2xv\3\2\2\2xy\3\2\2\2y{\3\2\2\2zt\3\2\2\2{|",
2412
- "\3\2\2\2|z\3\2\2\2|}\3\2\2\2}\u0081\3\2\2\2~\u0080\5\36\20\2\177~\3",
2413
- "\2\2\2\u0080\u0083\3\2\2\2\u0081\177\3\2\2\2\u0081\u0082\3\2\2\2\u0082",
2414
- "\u0085\3\2\2\2\u0083\u0081\3\2\2\2\u0084\u0086\7\7\2\2\u0085\u0084",
2415
- "\3\2\2\2\u0085\u0086\3\2\2\2\u0086\13\3\2\2\2\u0087\u0088\t\2\2\2\u0088",
2416
- "\u0089\7\b\2\2\u0089\u008f\5\16\b\2\u008a\u008b\7\22\2\2\u008b\u008f",
2417
- "\5\6\4\2\u008c\u008d\7\22\2\2\u008d\u008f\5\b\5\2\u008e\u0087\3\2\2",
2418
- "\2\u008e\u008a\3\2\2\2\u008e\u008c\3\2\2\2\u008f\r\3\2\2\2\u0090\u0093",
2419
- "\5,\27\2\u0091\u0093\5 \21\2\u0092\u0090\3\2\2\2\u0092\u0091\3\2\2",
2420
- "\2\u0093\17\3\2\2\2\u0094\u0095\7\24\2\2\u0095\u0096\5$\23\2\u0096",
2421
- "\u0097\7\26\2\2\u0097\u00a0\5\22\n\2\u0098\u009a\7\27\2\2\u0099\u009b",
2422
- "\5$\23\2\u009a\u0099\3\2\2\2\u009a\u009b\3\2\2\2\u009b\u009c\3\2\2",
2423
- "\2\u009c\u009d\7\26\2\2\u009d\u009f\5\22\n\2\u009e\u0098\3\2\2\2\u009f",
2424
- "\u00a2\3\2\2\2\u00a0\u009e\3\2\2\2\u00a0\u00a1\3\2\2\2\u00a1\u00a3",
2425
- "\3\2\2\2\u00a2\u00a0\3\2\2\2\u00a3\u00a4\7\37\2\2\u00a4\21\3\2\2\2",
2426
- "\u00a5\u00aa\5\4\3\2\u00a6\u00a7\7\t\2\2\u00a7\u00a9\5\4\3\2\u00a8",
2427
- "\u00a6\3\2\2\2\u00a9\u00ac\3\2\2\2\u00aa\u00a8\3\2\2\2\u00aa\u00ab",
2428
- "\3\2\2\2\u00ab\23\3\2\2\2\u00ac\u00aa\3\2\2\2\u00ad\u00ae\7\24\2\2",
2429
- "\u00ae\u00af\5$\23\2\u00af\u00b0\7\26\2\2\u00b0\u00b9\5\26\f\2\u00b1",
2430
- "\u00b3\7\27\2\2\u00b2\u00b4\5$\23\2\u00b3\u00b2\3\2\2\2\u00b3\u00b4",
2431
- "\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5\u00b6\7\26\2\2\u00b6\u00b8\5\26",
2432
- "\f\2\u00b7\u00b1\3\2\2\2\u00b8\u00bb\3\2\2\2\u00b9\u00b7\3\2\2\2\u00b9",
2433
- "\u00ba\3\2\2\2\u00ba\u00bc\3\2\2\2\u00bb\u00b9\3\2\2\2\u00bc\u00bd",
2434
- "\7\37\2\2\u00bd\25\3\2\2\2\u00be\u00c0\5\30\r\2\u00bf\u00be\3\2\2\2",
2435
- "\u00c0\u00c1\3\2\2\2\u00c1\u00bf\3\2\2\2\u00c1\u00c2\3\2\2\2\u00c2",
2436
- "\27\3\2\2\2\u00c3\u00c6\5\f\7\2\u00c4\u00c6\5\24\13\2\u00c5\u00c3\3",
2437
- "\2\2\2\u00c5\u00c4\3\2\2\2\u00c6\31\3\2\2\2\u00c7\u00c8\7\24\2\2\u00c8",
2438
- "\u00c9\5$\23\2\u00c9\u00ca\7\26\2\2\u00ca\u00d3\5\34\17\2\u00cb\u00cd",
2439
- "\7\27\2\2\u00cc\u00ce\5$\23\2\u00cd\u00cc\3\2\2\2\u00cd\u00ce\3\2\2",
2440
- "\2\u00ce\u00cf\3\2\2\2\u00cf\u00d0\7\26\2\2\u00d0\u00d2\5\34\17\2\u00d1",
2441
- "\u00cb\3\2\2\2\u00d2\u00d5\3\2\2\2\u00d3\u00d1\3\2\2\2\u00d3\u00d4",
2442
- "\3\2\2\2\u00d4\u00d6\3\2\2\2\u00d5\u00d3\3\2\2\2\u00d6\u00d7\7\37\2",
2443
- "\2\u00d7\33\3\2\2\2\u00d8\u00da\5\36\20\2\u00d9\u00d8\3\2\2\2\u00da",
2444
- "\u00db\3\2\2\2\u00db\u00d9\3\2\2\2\u00db\u00dc\3\2\2\2\u00dc\35\3\2",
2445
- "\2\2\u00dd\u00e0\5.\30\2\u00de\u00e0\5\32\16\2\u00df\u00dd\3\2\2\2",
2446
- "\u00df\u00de\3\2\2\2\u00e0\37\3\2\2\2\u00e1\u00e2\7\24\2\2\u00e2\u00e3",
2447
- "\5$\23\2\u00e3\u00f3\7\26\2\2\u00e4\u00ec\5\"\22\2\u00e5\u00e6\7\27",
2448
- "\2\2\u00e6\u00e7\5$\23\2\u00e7\u00e8\7\26\2\2\u00e8\u00e9\5\"\22\2",
2449
- "\u00e9\u00eb\3\2\2\2\u00ea\u00e5\3\2\2\2\u00eb\u00ee\3\2\2\2\u00ec",
2450
- "\u00ea\3\2\2\2\u00ec\u00ed\3\2\2\2\u00ed\u00ef\3\2\2\2\u00ee\u00ec",
2451
- "\3\2\2\2\u00ef\u00f0\7\27\2\2\u00f0\u00f1\7\26\2\2\u00f1\u00f2\5\"",
2452
- "\22\2\u00f2\u00f4\3\2\2\2\u00f3\u00e4\3\2\2\2\u00f3\u00f4\3\2\2\2\u00f4",
2453
- "\u00f5\3\2\2\2\u00f5\u00f6\7\37\2\2\u00f6!\3\2\2\2\u00f7\u00fc\5\16",
2454
- "\b\2\u00f8\u00f9\7\7\2\2\u00f9\u00fb\5\16\b\2\u00fa\u00f8\3\2\2\2\u00fb",
2455
- "\u00fe\3\2\2\2\u00fc\u00fa\3\2\2\2\u00fc\u00fd\3\2\2\2\u00fd#\3\2\2",
2456
- "\2\u00fe\u00fc\3\2\2\2\u00ff\u0101\7\35\2\2\u0100\u00ff\3\2\2\2\u0100",
2457
- "\u0101\3\2\2\2\u0101\u0104\3\2\2\2\u0102\u0105\5(\25\2\u0103\u0105",
2458
- "\5*\26\2\u0104\u0102\3\2\2\2\u0104\u0103\3\2\2\2\u0105\u0110\3\2\2",
2459
- "\2\u0106\u0108\t\3\2\2\u0107\u0109\7\35\2\2\u0108\u0107\3\2\2\2\u0108",
2460
- "\u0109\3\2\2\2\u0109\u010c\3\2\2\2\u010a\u010d\5(\25\2\u010b\u010d",
2461
- "\5*\26\2\u010c\u010a\3\2\2\2\u010c\u010b\3\2\2\2\u010d\u010f\3\2\2",
2462
- "\2\u010e\u0106\3\2\2\2\u010f\u0112\3\2\2\2\u0110\u010e\3\2\2\2\u0110",
2463
- "\u0111\3\2\2\2\u0111%\3\2\2\2\u0112\u0110\3\2\2\2\u0113\u011d\7\b\2",
2464
- "\2\u0114\u011d\7\30\2\2\u0115\u0116\7\30\2\2\u0116\u011d\7\b\2\2\u0117",
2465
- "\u011d\7\31\2\2\u0118\u0119\7\31\2\2\u0119\u011d\7\b\2\2\u011a\u011b",
2466
- "\7\35\2\2\u011b\u011d\7\b\2\2\u011c\u0113\3\2\2\2\u011c\u0114\3\2\2",
2467
- "\2\u011c\u0115\3\2\2\2\u011c\u0117\3\2\2\2\u011c\u0118\3\2\2\2\u011c",
2468
- "\u011a\3\2\2\2\u011d\'\3\2\2\2\u011e\u0120\7\22\2\2\u011f\u011e\3\2",
2469
- "\2\2\u011f\u0120\3\2\2\2\u0120\u0122\3\2\2\2\u0121\u0123\5&\24\2\u0122",
2470
- "\u0121\3\2\2\2\u0122\u0123\3\2\2\2\u0123\u0124\3\2\2\2\u0124\u0129",
2471
- "\5,\27\2\u0125\u0126\7\27\2\2\u0126\u0128\5,\27\2\u0127\u0125\3\2\2",
2472
- "\2\u0128\u012b\3\2\2\2\u0129\u0127\3\2\2\2\u0129\u012a\3\2\2\2\u012a",
2473
- ")\3\2\2\2\u012b\u0129\3\2\2\2\u012c\u012d\7\24\2\2\u012d\u0132\5$\23",
2474
- "\2\u012e\u012f\t\3\2\2\u012f\u0131\5$\23\2\u0130\u012e\3\2\2\2\u0131",
2475
- "\u0134\3\2\2\2\u0132\u0130\3\2\2\2\u0132\u0133\3\2\2\2\u0133\u0135",
2476
- "\3\2\2\2\u0134\u0132\3\2\2\2\u0135\u0136\7\37\2\2\u0136+\3\2\2\2\u0137",
2477
- "\u013d\5\6\4\2\u0138\u013d\5\b\5\2\u0139\u013d\5\n\6\2\u013a\u013d",
2478
- "\5\f\7\2\u013b\u013d\5\60\31\2\u013c\u0137\3\2\2\2\u013c\u0138\3\2",
2479
- "\2\2\u013c\u0139\3\2\2\2\u013c\u013a\3\2\2\2\u013c\u013b\3\2\2\2\u013d",
2480
- "-\3\2\2\2\u013e\u0143\5\6\4\2\u013f\u0143\5\f\7\2\u0140\u0143\5\b\5",
2481
- "\2\u0141\u0143\5\60\31\2\u0142\u013e\3\2\2\2\u0142\u013f\3\2\2\2\u0142",
2482
- "\u0140\3\2\2\2\u0142\u0141\3\2\2\2\u0143/\3\2\2\2\u0144\u0145\t\4\2",
2483
- "\2\u0145\61\3\2\2\2/\63:>@HPSZ_chmpx|\u0081\u0085\u008e\u0092\u009a",
2484
- "\u00a0\u00aa\u00b3\u00b9\u00c1\u00c5\u00cd\u00d3\u00db\u00df\u00ec",
2485
- "\u00f3\u00fc\u0100\u0104\u0108\u010c\u0110\u011c\u011f\u0122\u0129",
2486
- "\u0132\u013c\u0142"].join("")
2487
-
2488
- @@_ATN = Antlr4::Runtime::ATNDeserializer.new().deserialize(@@_serializedATN)
2489
-
2490
- end
2491
-
2492
- end