antlr3 1.6.3 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +3 -3
- data/java/RubyTarget.java +374 -364
- data/java/antlr-full-3.2.1.jar +0 -0
- data/lib/antlr3/error.rb +1 -1
- data/lib/antlr3/main.rb +2 -2
- data/lib/antlr3/recognizers.rb +8 -16
- data/lib/antlr3/streams.rb +51 -0
- data/lib/antlr3/task.rb +1 -0
- data/lib/antlr3/template.rb +5 -2
- data/lib/antlr3/template/{group-lexer.rb → group-file-lexer.rb} +57 -57
- data/lib/antlr3/template/{group-parser.rb → group-file-parser.rb} +110 -110
- data/lib/antlr3/template/group-file.rb +20 -0
- data/lib/antlr3/tree.rb +16 -14
- data/lib/antlr3/tree/debug.rb +7 -7
- data/lib/antlr3/tree/wizard.rb +3 -3
- data/lib/antlr3/version.rb +2 -2
- data/samples/ANTLRv3Grammar.g +0 -9
- data/templates/AST.stg +52 -58
- data/templates/ASTDbg.stg +13 -14
- data/templates/ASTParser.stg +16 -25
- data/templates/ASTTreeParser.stg +34 -64
- data/templates/Dbg.stg +6 -6
- data/templates/Ruby.stg +159 -191
- data/test/functional/debugging/debug-mode.rb +0 -1
- data/test/functional/parser/actions.rb +15 -1
- data/test/unit/test-trees.rb +7 -7
- metadata +7 -6
@@ -1,11 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
#
|
3
|
+
# GroupFile.g
|
4
4
|
#
|
5
5
|
# Generated using ANTLR version: 3.2.1-SNAPSHOT Dec 18, 2009 04:29:28
|
6
|
-
# Ruby runtime library version: 1.
|
7
|
-
# Input grammar file:
|
8
|
-
# Generated at: 2010-
|
6
|
+
# Ruby runtime library version: 1.6.3
|
7
|
+
# Input grammar file: GroupFile.g
|
8
|
+
# Generated at: 2010-03-19 19:43:54
|
9
9
|
#
|
10
10
|
|
11
11
|
# ~~~> start load path setup
|
@@ -16,7 +16,7 @@ antlr_load_failed = proc do
|
|
16
16
|
load_path = $LOAD_PATH.map { |dir| ' - ' << dir }.join( $/ )
|
17
17
|
raise LoadError, <<-END.strip!
|
18
18
|
|
19
|
-
Failed to load the ANTLR3 runtime library (version 1.
|
19
|
+
Failed to load the ANTLR3 runtime library (version 1.6.3):
|
20
20
|
|
21
21
|
Ensure the library has been installed on your system and is available
|
22
22
|
on the load path. If rubygems is available on your system, this can
|
@@ -46,7 +46,7 @@ rescue LoadError
|
|
46
46
|
|
47
47
|
# 3: try to activate the antlr3 gem
|
48
48
|
begin
|
49
|
-
Gem.activate( 'antlr3', '~> 1.
|
49
|
+
Gem.activate( 'antlr3', '~> 1.6.3' )
|
50
50
|
rescue Gem::LoadError
|
51
51
|
antlr_load_failed.call
|
52
52
|
end
|
@@ -57,7 +57,7 @@ end
|
|
57
57
|
# <~~~ end load path setup
|
58
58
|
|
59
59
|
# - - - - - - begin action @parser::header - - - - - -
|
60
|
-
#
|
60
|
+
# GroupFile.g
|
61
61
|
|
62
62
|
|
63
63
|
module ANTLR3
|
@@ -66,7 +66,7 @@ module Template
|
|
66
66
|
# - - - - - - end action @parser::header - - - - - - -
|
67
67
|
|
68
68
|
|
69
|
-
|
69
|
+
module GroupFile
|
70
70
|
# TokenData defines all of the token type integer values
|
71
71
|
# as constants, which will be included in all
|
72
72
|
# ANTLR-generated recognizers.
|
@@ -94,7 +94,7 @@ class Group
|
|
94
94
|
|
95
95
|
|
96
96
|
class Parser < ANTLR3::Parser
|
97
|
-
@grammar_home =
|
97
|
+
@grammar_home = GroupFile
|
98
98
|
|
99
99
|
RULE_METHODS = [ :group_spec, :group_name, :member, :parameter_declaration,
|
100
100
|
:parameters, :parameter ].freeze
|
@@ -102,7 +102,7 @@ class Group
|
|
102
102
|
|
103
103
|
include TokenData
|
104
104
|
|
105
|
-
generated_using( "
|
105
|
+
generated_using( "GroupFile.g", "3.2.1-SNAPSHOT Dec 18, 2009 04:29:28", "1.6.3" )
|
106
106
|
|
107
107
|
def initialize( input, options = {} )
|
108
108
|
super( input, options )
|
@@ -162,8 +162,8 @@ class Group
|
|
162
162
|
#
|
163
163
|
# parser rule group_spec
|
164
164
|
#
|
165
|
-
# (in
|
166
|
-
#
|
165
|
+
# (in GroupFile.g)
|
166
|
+
# 79:1: group_spec[ namespace ] returns [ group ] : ( group_name[ $namespace ] | ) ( member[ $group ] )* ;
|
167
167
|
#
|
168
168
|
def group_spec(namespace)
|
169
169
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -172,8 +172,8 @@ class Group
|
|
172
172
|
group_name1 = nil
|
173
173
|
|
174
174
|
begin
|
175
|
-
# at line
|
176
|
-
# at line
|
175
|
+
# at line 80:5: ( group_name[ $namespace ] | ) ( member[ $group ] )*
|
176
|
+
# at line 80:5: ( group_name[ $namespace ] | )
|
177
177
|
alt_1 = 2
|
178
178
|
look_1_0 = @input.peek(1)
|
179
179
|
|
@@ -187,8 +187,8 @@ class Group
|
|
187
187
|
end
|
188
188
|
case alt_1
|
189
189
|
when 1
|
190
|
-
# at line
|
191
|
-
@state.following.push(
|
190
|
+
# at line 80:7: group_name[ $namespace ]
|
191
|
+
@state.following.push(TOKENS_FOLLOWING_group_name_IN_group_spec_85)
|
192
192
|
group_name1 = group_name(namespace)
|
193
193
|
@state.following.pop
|
194
194
|
# --> action
|
@@ -196,13 +196,13 @@ class Group
|
|
196
196
|
# <-- action
|
197
197
|
|
198
198
|
when 2
|
199
|
-
# at line
|
199
|
+
# at line 81:7:
|
200
200
|
# --> action
|
201
201
|
group = ANTLR3::Template::Group.new
|
202
202
|
# <-- action
|
203
203
|
|
204
204
|
end
|
205
|
-
# at line
|
205
|
+
# at line 83:5: ( member[ $group ] )*
|
206
206
|
while true # decision 2
|
207
207
|
alt_2 = 2
|
208
208
|
look_2_0 = @input.peek(1)
|
@@ -213,8 +213,8 @@ class Group
|
|
213
213
|
end
|
214
214
|
case alt_2
|
215
215
|
when 1
|
216
|
-
# at line
|
217
|
-
@state.following.push(
|
216
|
+
# at line 83:5: member[ $group ]
|
217
|
+
@state.following.push(TOKENS_FOLLOWING_member_IN_group_spec_108)
|
218
218
|
member(group)
|
219
219
|
@state.following.pop
|
220
220
|
|
@@ -240,8 +240,8 @@ class Group
|
|
240
240
|
#
|
241
241
|
# parser rule group_name
|
242
242
|
#
|
243
|
-
# (in
|
244
|
-
#
|
243
|
+
# (in GroupFile.g)
|
244
|
+
# 86:1: group_name[ namespace ] returns [ group ] : 'group' (mod= CONSTANT '::' )* name= CONSTANT ( ';' )? ;
|
245
245
|
#
|
246
246
|
def group_name(namespace)
|
247
247
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -251,9 +251,9 @@ class Group
|
|
251
251
|
name = nil
|
252
252
|
|
253
253
|
begin
|
254
|
-
# at line
|
255
|
-
match(T__10,
|
256
|
-
# at line
|
254
|
+
# at line 87:5: 'group' (mod= CONSTANT '::' )* name= CONSTANT ( ';' )?
|
255
|
+
match(T__10, TOKENS_FOLLOWING_T__10_IN_group_name_128)
|
256
|
+
# at line 88:5: (mod= CONSTANT '::' )*
|
257
257
|
while true # decision 3
|
258
258
|
alt_3 = 2
|
259
259
|
look_3_0 = @input.peek(1)
|
@@ -269,9 +269,9 @@ class Group
|
|
269
269
|
end
|
270
270
|
case alt_3
|
271
271
|
when 1
|
272
|
-
# at line
|
273
|
-
mod = match(CONSTANT,
|
274
|
-
match(T__11,
|
272
|
+
# at line 89:7: mod= CONSTANT '::'
|
273
|
+
mod = match(CONSTANT, TOKENS_FOLLOWING_CONSTANT_IN_group_name_144)
|
274
|
+
match(T__11, TOKENS_FOLLOWING_T__11_IN_group_name_146)
|
275
275
|
# --> action
|
276
276
|
namespace = namespace.const_get( mod.text )
|
277
277
|
# <-- action
|
@@ -280,11 +280,11 @@ class Group
|
|
280
280
|
break # out of loop for decision 3
|
281
281
|
end
|
282
282
|
end # loop for decision 3
|
283
|
-
name = match(CONSTANT,
|
283
|
+
name = match(CONSTANT, TOKENS_FOLLOWING_CONSTANT_IN_group_name_169)
|
284
284
|
# --> action
|
285
285
|
group = fetch_group( namespace, name.text )
|
286
286
|
# <-- action
|
287
|
-
# at line
|
287
|
+
# at line 93:5: ( ';' )?
|
288
288
|
alt_4 = 2
|
289
289
|
look_4_0 = @input.peek(1)
|
290
290
|
|
@@ -293,8 +293,8 @@ class Group
|
|
293
293
|
end
|
294
294
|
case alt_4
|
295
295
|
when 1
|
296
|
-
# at line
|
297
|
-
match(T__12,
|
296
|
+
# at line 93:5: ';'
|
297
|
+
match(T__12, TOKENS_FOLLOWING_T__12_IN_group_name_177)
|
298
298
|
|
299
299
|
end
|
300
300
|
|
@@ -315,8 +315,8 @@ class Group
|
|
315
315
|
#
|
316
316
|
# parser rule member
|
317
317
|
#
|
318
|
-
# (in
|
319
|
-
#
|
318
|
+
# (in GroupFile.g)
|
319
|
+
# 96:1: member[ group ] : name= ID ( parameter_declaration )? '::=' (aliased= ID | TEMPLATE | STRING ) ;
|
320
320
|
#
|
321
321
|
def member(group)
|
322
322
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -330,9 +330,9 @@ class Group
|
|
330
330
|
params = nil
|
331
331
|
|
332
332
|
begin
|
333
|
-
# at line
|
334
|
-
name = match(ID,
|
335
|
-
# at line
|
333
|
+
# at line 98:5: name= ID ( parameter_declaration )? '::=' (aliased= ID | TEMPLATE | STRING )
|
334
|
+
name = match(ID, TOKENS_FOLLOWING_ID_IN_member_199)
|
335
|
+
# at line 98:13: ( parameter_declaration )?
|
336
336
|
alt_5 = 2
|
337
337
|
look_5_0 = @input.peek(1)
|
338
338
|
|
@@ -341,8 +341,8 @@ class Group
|
|
341
341
|
end
|
342
342
|
case alt_5
|
343
343
|
when 1
|
344
|
-
# at line
|
345
|
-
@state.following.push(
|
344
|
+
# at line 98:15: parameter_declaration
|
345
|
+
@state.following.push(TOKENS_FOLLOWING_parameter_declaration_IN_member_203)
|
346
346
|
parameter_declaration2 = parameter_declaration
|
347
347
|
@state.following.pop
|
348
348
|
# --> action
|
@@ -350,8 +350,8 @@ class Group
|
|
350
350
|
# <-- action
|
351
351
|
|
352
352
|
end
|
353
|
-
match(T__13,
|
354
|
-
# at line
|
353
|
+
match(T__13, TOKENS_FOLLOWING_T__13_IN_member_210)
|
354
|
+
# at line 99:5: (aliased= ID | TEMPLATE | STRING )
|
355
355
|
alt_6 = 3
|
356
356
|
case look_6 = @input.peek(1)
|
357
357
|
when ID then alt_6 = 1
|
@@ -363,22 +363,22 @@ class Group
|
|
363
363
|
end
|
364
364
|
case alt_6
|
365
365
|
when 1
|
366
|
-
# at line
|
367
|
-
aliased = match(ID,
|
366
|
+
# at line 99:7: aliased= ID
|
367
|
+
aliased = match(ID, TOKENS_FOLLOWING_ID_IN_member_220)
|
368
368
|
# --> action
|
369
369
|
group.alias_template( name.text, aliased.text )
|
370
370
|
# <-- action
|
371
371
|
|
372
372
|
when 2
|
373
|
-
# at line
|
374
|
-
__TEMPLATE3__ = match(TEMPLATE,
|
373
|
+
# at line 100:7: TEMPLATE
|
374
|
+
__TEMPLATE3__ = match(TEMPLATE, TOKENS_FOLLOWING_TEMPLATE_IN_member_230)
|
375
375
|
# --> action
|
376
376
|
group.define_template( name.text, extract_template( __TEMPLATE3__ ), params )
|
377
377
|
# <-- action
|
378
378
|
|
379
379
|
when 3
|
380
|
-
# at line
|
381
|
-
__STRING4__ = match(STRING,
|
380
|
+
# at line 101:7: STRING
|
381
|
+
__STRING4__ = match(STRING, TOKENS_FOLLOWING_STRING_IN_member_242)
|
382
382
|
# --> action
|
383
383
|
group.define_template( name.text, extract_template( __STRING4__ ), params )
|
384
384
|
# <-- action
|
@@ -402,8 +402,8 @@ class Group
|
|
402
402
|
#
|
403
403
|
# parser rule parameter_declaration
|
404
404
|
#
|
405
|
-
# (in
|
406
|
-
#
|
405
|
+
# (in GroupFile.g)
|
406
|
+
# 105:1: parameter_declaration returns [ list ] : ( '(' ( parameters )? ')' | parameters );
|
407
407
|
#
|
408
408
|
def parameter_declaration
|
409
409
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -415,7 +415,7 @@ class Group
|
|
415
415
|
list = nil
|
416
416
|
|
417
417
|
begin
|
418
|
-
# at line
|
418
|
+
# at line 107:3: ( '(' ( parameters )? ')' | parameters )
|
419
419
|
alt_8 = 2
|
420
420
|
look_8_0 = @input.peek(1)
|
421
421
|
|
@@ -429,9 +429,9 @@ class Group
|
|
429
429
|
end
|
430
430
|
case alt_8
|
431
431
|
when 1
|
432
|
-
# at line
|
433
|
-
match(T__14,
|
434
|
-
# at line
|
432
|
+
# at line 107:5: '(' ( parameters )? ')'
|
433
|
+
match(T__14, TOKENS_FOLLOWING_T__14_IN_parameter_declaration_276)
|
434
|
+
# at line 107:9: ( parameters )?
|
435
435
|
alt_7 = 2
|
436
436
|
look_7_0 = @input.peek(1)
|
437
437
|
|
@@ -440,8 +440,8 @@ class Group
|
|
440
440
|
end
|
441
441
|
case alt_7
|
442
442
|
when 1
|
443
|
-
# at line
|
444
|
-
@state.following.push(
|
443
|
+
# at line 107:11: parameters
|
444
|
+
@state.following.push(TOKENS_FOLLOWING_parameters_IN_parameter_declaration_280)
|
445
445
|
parameters5 = parameters
|
446
446
|
@state.following.pop
|
447
447
|
# --> action
|
@@ -449,11 +449,11 @@ class Group
|
|
449
449
|
# <-- action
|
450
450
|
|
451
451
|
end
|
452
|
-
match(T__15,
|
452
|
+
match(T__15, TOKENS_FOLLOWING_T__15_IN_parameter_declaration_287)
|
453
453
|
|
454
454
|
when 2
|
455
|
-
# at line
|
456
|
-
@state.following.push(
|
455
|
+
# at line 108:5: parameters
|
456
|
+
@state.following.push(TOKENS_FOLLOWING_parameters_IN_parameter_declaration_293)
|
457
457
|
parameters6 = parameters
|
458
458
|
@state.following.pop
|
459
459
|
# --> action
|
@@ -478,8 +478,8 @@ class Group
|
|
478
478
|
#
|
479
479
|
# parser rule parameters
|
480
480
|
#
|
481
|
-
# (in
|
482
|
-
#
|
481
|
+
# (in GroupFile.g)
|
482
|
+
# 111:1: parameters returns [ list ] : parameter[ $list ] ( ',' parameter[ $list ] )* ;
|
483
483
|
#
|
484
484
|
def parameters
|
485
485
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -489,11 +489,11 @@ class Group
|
|
489
489
|
list = ANTLR3::Template::ParameterList.new
|
490
490
|
|
491
491
|
begin
|
492
|
-
# at line
|
493
|
-
@state.following.push(
|
492
|
+
# at line 113:5: parameter[ $list ] ( ',' parameter[ $list ] )*
|
493
|
+
@state.following.push(TOKENS_FOLLOWING_parameter_IN_parameters_317)
|
494
494
|
parameter(list)
|
495
495
|
@state.following.pop
|
496
|
-
# at line
|
496
|
+
# at line 113:24: ( ',' parameter[ $list ] )*
|
497
497
|
while true # decision 9
|
498
498
|
alt_9 = 2
|
499
499
|
look_9_0 = @input.peek(1)
|
@@ -504,9 +504,9 @@ class Group
|
|
504
504
|
end
|
505
505
|
case alt_9
|
506
506
|
when 1
|
507
|
-
# at line
|
508
|
-
match(T__16,
|
509
|
-
@state.following.push(
|
507
|
+
# at line 113:26: ',' parameter[ $list ]
|
508
|
+
match(T__16, TOKENS_FOLLOWING_T__16_IN_parameters_322)
|
509
|
+
@state.following.push(TOKENS_FOLLOWING_parameter_IN_parameters_324)
|
510
510
|
parameter(list)
|
511
511
|
@state.following.pop
|
512
512
|
|
@@ -532,8 +532,8 @@ class Group
|
|
532
532
|
#
|
533
533
|
# parser rule parameter
|
534
534
|
#
|
535
|
-
# (in
|
536
|
-
#
|
535
|
+
# (in GroupFile.g)
|
536
|
+
# 116:1: parameter[ parameters ] : ( '*' name= ID | '&' name= ID | name= ID ( '=' v= STRING )? );
|
537
537
|
#
|
538
538
|
def parameter(parameters)
|
539
539
|
# -> uncomment the next line to manually enable rule tracing
|
@@ -542,7 +542,7 @@ class Group
|
|
542
542
|
v = nil
|
543
543
|
|
544
544
|
begin
|
545
|
-
# at line
|
545
|
+
# at line 117:3: ( '*' name= ID | '&' name= ID | name= ID ( '=' v= STRING )? )
|
546
546
|
alt_11 = 3
|
547
547
|
case look_11 = @input.peek(1)
|
548
548
|
when T__17 then alt_11 = 1
|
@@ -554,28 +554,28 @@ class Group
|
|
554
554
|
end
|
555
555
|
case alt_11
|
556
556
|
when 1
|
557
|
-
# at line
|
558
|
-
match(T__17,
|
559
|
-
name = match(ID,
|
557
|
+
# at line 117:5: '*' name= ID
|
558
|
+
match(T__17, TOKENS_FOLLOWING_T__17_IN_parameter_342)
|
559
|
+
name = match(ID, TOKENS_FOLLOWING_ID_IN_parameter_346)
|
560
560
|
# --> action
|
561
561
|
parameters.splat = name.text
|
562
562
|
# <-- action
|
563
563
|
|
564
564
|
when 2
|
565
|
-
# at line
|
566
|
-
match(T__18,
|
567
|
-
name = match(ID,
|
565
|
+
# at line 118:5: '&' name= ID
|
566
|
+
match(T__18, TOKENS_FOLLOWING_T__18_IN_parameter_354)
|
567
|
+
name = match(ID, TOKENS_FOLLOWING_ID_IN_parameter_358)
|
568
568
|
# --> action
|
569
569
|
parameters.block = name.text
|
570
570
|
# <-- action
|
571
571
|
|
572
572
|
when 3
|
573
|
-
# at line
|
574
|
-
name = match(ID,
|
573
|
+
# at line 119:5: name= ID ( '=' v= STRING )?
|
574
|
+
name = match(ID, TOKENS_FOLLOWING_ID_IN_parameter_368)
|
575
575
|
# --> action
|
576
576
|
param = ANTLR3::Template::Parameter.new( name.text )
|
577
577
|
# <-- action
|
578
|
-
# at line
|
578
|
+
# at line 120:5: ( '=' v= STRING )?
|
579
579
|
alt_10 = 2
|
580
580
|
look_10_0 = @input.peek(1)
|
581
581
|
|
@@ -584,9 +584,9 @@ class Group
|
|
584
584
|
end
|
585
585
|
case alt_10
|
586
586
|
when 1
|
587
|
-
# at line
|
588
|
-
match(T__19,
|
589
|
-
v = match(STRING,
|
587
|
+
# at line 120:7: '=' v= STRING
|
588
|
+
match(T__19, TOKENS_FOLLOWING_T__19_IN_parameter_382)
|
589
|
+
v = match(STRING, TOKENS_FOLLOWING_STRING_IN_parameter_386)
|
590
590
|
# --> action
|
591
591
|
param.default = v.text
|
592
592
|
# <-- action
|
@@ -612,39 +612,39 @@ class Group
|
|
612
612
|
|
613
613
|
|
614
614
|
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
615
|
+
TOKENS_FOLLOWING_group_name_IN_group_spec_85 = Set[1, 5]
|
616
|
+
TOKENS_FOLLOWING_member_IN_group_spec_108 = Set[1, 5]
|
617
|
+
TOKENS_FOLLOWING_T__10_IN_group_name_128 = Set[4]
|
618
|
+
TOKENS_FOLLOWING_CONSTANT_IN_group_name_144 = Set[11]
|
619
|
+
TOKENS_FOLLOWING_T__11_IN_group_name_146 = Set[4]
|
620
|
+
TOKENS_FOLLOWING_CONSTANT_IN_group_name_169 = Set[1, 12]
|
621
|
+
TOKENS_FOLLOWING_T__12_IN_group_name_177 = Set[1]
|
622
|
+
TOKENS_FOLLOWING_ID_IN_member_199 = Set[5, 13, 14, 17, 18]
|
623
|
+
TOKENS_FOLLOWING_parameter_declaration_IN_member_203 = Set[13]
|
624
|
+
TOKENS_FOLLOWING_T__13_IN_member_210 = Set[5, 6, 7]
|
625
|
+
TOKENS_FOLLOWING_ID_IN_member_220 = Set[1]
|
626
|
+
TOKENS_FOLLOWING_TEMPLATE_IN_member_230 = Set[1]
|
627
|
+
TOKENS_FOLLOWING_STRING_IN_member_242 = Set[1]
|
628
|
+
TOKENS_FOLLOWING_T__14_IN_parameter_declaration_276 = Set[5, 14, 15, 17, 18]
|
629
|
+
TOKENS_FOLLOWING_parameters_IN_parameter_declaration_280 = Set[15]
|
630
|
+
TOKENS_FOLLOWING_T__15_IN_parameter_declaration_287 = Set[1]
|
631
|
+
TOKENS_FOLLOWING_parameters_IN_parameter_declaration_293 = Set[1]
|
632
|
+
TOKENS_FOLLOWING_parameter_IN_parameters_317 = Set[1, 16]
|
633
|
+
TOKENS_FOLLOWING_T__16_IN_parameters_322 = Set[5, 14, 17, 18]
|
634
|
+
TOKENS_FOLLOWING_parameter_IN_parameters_324 = Set[1, 16]
|
635
|
+
TOKENS_FOLLOWING_T__17_IN_parameter_342 = Set[5]
|
636
|
+
TOKENS_FOLLOWING_ID_IN_parameter_346 = Set[1]
|
637
|
+
TOKENS_FOLLOWING_T__18_IN_parameter_354 = Set[5]
|
638
|
+
TOKENS_FOLLOWING_ID_IN_parameter_358 = Set[1]
|
639
|
+
TOKENS_FOLLOWING_ID_IN_parameter_368 = Set[1, 19]
|
640
|
+
TOKENS_FOLLOWING_T__19_IN_parameter_382 = Set[7]
|
641
|
+
TOKENS_FOLLOWING_STRING_IN_parameter_386 = Set[1]
|
642
642
|
|
643
643
|
end # class Parser < ANTLR3::Parser
|
644
644
|
|
645
645
|
end
|
646
646
|
# - - - - - - begin action @parser::footer - - - - - -
|
647
|
-
#
|
647
|
+
# GroupFile.g
|
648
648
|
|
649
649
|
|
650
650
|
end # module Template
|
@@ -655,7 +655,7 @@ end # module ANTLR3
|
|
655
655
|
|
656
656
|
if __FILE__ == $0 and ARGV.first != '--'
|
657
657
|
# - - - - - - begin action @parser::main - - - - - -
|
658
|
-
#
|
658
|
+
# GroupFile.g
|
659
659
|
|
660
660
|
|
661
661
|
defined?(ANTLR3::Template::Group::Lexer) or require 'antlr3/template/group-lexer'
|