cucumber-gherkin 29.0.0 → 30.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -219,105 +219,105 @@ module Gherkin
219
219
  def match_token(state, token, context)
220
220
  case state
221
221
  when 0
222
- match_token_at_0(token, context)
222
+ match_token_at_state0(token, context)
223
223
  when 1
224
- match_token_at_1(token, context)
224
+ match_token_at_state1(token, context)
225
225
  when 2
226
- match_token_at_2(token, context)
226
+ match_token_at_state2(token, context)
227
227
  when 3
228
- match_token_at_3(token, context)
228
+ match_token_at_state3(token, context)
229
229
  when 4
230
- match_token_at_4(token, context)
230
+ match_token_at_state4(token, context)
231
231
  when 5
232
- match_token_at_5(token, context)
232
+ match_token_at_state5(token, context)
233
233
  when 6
234
- match_token_at_6(token, context)
234
+ match_token_at_state6(token, context)
235
235
  when 7
236
- match_token_at_7(token, context)
236
+ match_token_at_state7(token, context)
237
237
  when 8
238
- match_token_at_8(token, context)
238
+ match_token_at_state8(token, context)
239
239
  when 9
240
- match_token_at_9(token, context)
240
+ match_token_at_state9(token, context)
241
241
  when 10
242
- match_token_at_10(token, context)
242
+ match_token_at_state10(token, context)
243
243
  when 11
244
- match_token_at_11(token, context)
244
+ match_token_at_state11(token, context)
245
245
  when 12
246
- match_token_at_12(token, context)
246
+ match_token_at_state12(token, context)
247
247
  when 13
248
- match_token_at_13(token, context)
248
+ match_token_at_state13(token, context)
249
249
  when 14
250
- match_token_at_14(token, context)
250
+ match_token_at_state14(token, context)
251
251
  when 15
252
- match_token_at_15(token, context)
252
+ match_token_at_state15(token, context)
253
253
  when 16
254
- match_token_at_16(token, context)
254
+ match_token_at_state16(token, context)
255
255
  when 17
256
- match_token_at_17(token, context)
256
+ match_token_at_state17(token, context)
257
257
  when 18
258
- match_token_at_18(token, context)
258
+ match_token_at_state18(token, context)
259
259
  when 19
260
- match_token_at_19(token, context)
260
+ match_token_at_state19(token, context)
261
261
  when 20
262
- match_token_at_20(token, context)
262
+ match_token_at_state20(token, context)
263
263
  when 21
264
- match_token_at_21(token, context)
264
+ match_token_at_state21(token, context)
265
265
  when 22
266
- match_token_at_22(token, context)
266
+ match_token_at_state22(token, context)
267
267
  when 23
268
- match_token_at_23(token, context)
268
+ match_token_at_state23(token, context)
269
269
  when 24
270
- match_token_at_24(token, context)
270
+ match_token_at_state24(token, context)
271
271
  when 25
272
- match_token_at_25(token, context)
272
+ match_token_at_state25(token, context)
273
273
  when 26
274
- match_token_at_26(token, context)
274
+ match_token_at_state26(token, context)
275
275
  when 27
276
- match_token_at_27(token, context)
276
+ match_token_at_state27(token, context)
277
277
  when 28
278
- match_token_at_28(token, context)
278
+ match_token_at_state28(token, context)
279
279
  when 29
280
- match_token_at_29(token, context)
280
+ match_token_at_state29(token, context)
281
281
  when 30
282
- match_token_at_30(token, context)
282
+ match_token_at_state30(token, context)
283
283
  when 31
284
- match_token_at_31(token, context)
284
+ match_token_at_state31(token, context)
285
285
  when 32
286
- match_token_at_32(token, context)
286
+ match_token_at_state32(token, context)
287
287
  when 33
288
- match_token_at_33(token, context)
288
+ match_token_at_state33(token, context)
289
289
  when 34
290
- match_token_at_34(token, context)
290
+ match_token_at_state34(token, context)
291
291
  when 35
292
- match_token_at_35(token, context)
292
+ match_token_at_state35(token, context)
293
293
  when 36
294
- match_token_at_36(token, context)
294
+ match_token_at_state36(token, context)
295
295
  when 37
296
- match_token_at_37(token, context)
296
+ match_token_at_state37(token, context)
297
297
  when 38
298
- match_token_at_38(token, context)
298
+ match_token_at_state38(token, context)
299
299
  when 39
300
- match_token_at_39(token, context)
300
+ match_token_at_state39(token, context)
301
301
  when 40
302
- match_token_at_40(token, context)
302
+ match_token_at_state40(token, context)
303
303
  when 41
304
- match_token_at_41(token, context)
304
+ match_token_at_state41(token, context)
305
305
  when 43
306
- match_token_at_43(token, context)
306
+ match_token_at_state43(token, context)
307
307
  when 44
308
- match_token_at_44(token, context)
308
+ match_token_at_state44(token, context)
309
309
  when 45
310
- match_token_at_45(token, context)
310
+ match_token_at_state45(token, context)
311
311
  when 46
312
- match_token_at_46(token, context)
312
+ match_token_at_state46(token, context)
313
313
  when 47
314
- match_token_at_47(token, context)
314
+ match_token_at_state47(token, context)
315
315
  when 48
316
- match_token_at_48(token, context)
316
+ match_token_at_state48(token, context)
317
317
  when 49
318
- match_token_at_49(token, context)
318
+ match_token_at_state49(token, context)
319
319
  when 50
320
- match_token_at_50(token, context)
320
+ match_token_at_state50(token, context)
321
321
  else
322
322
  raise InvalidOperationException, "Unknown state: #{state}"
323
323
  end
@@ -325,7 +325,7 @@ module Gherkin
325
325
 
326
326
 
327
327
  # Start
328
- def match_token_at_0(token, context)
328
+ def match_token_at_state0(token, context)
329
329
  if match_EOF(context, token)
330
330
  build(context, token);
331
331
  return 42
@@ -367,7 +367,7 @@ module Gherkin
367
367
  return 0
368
368
  end
369
369
  # GherkinDocument:0>Feature:0>FeatureHeader:0>#Language:0
370
- def match_token_at_1(token, context)
370
+ def match_token_at_state1(token, context)
371
371
  if match_TagLine(context, token)
372
372
  start_rule(context, :Tags);
373
373
  build(context, token);
@@ -395,7 +395,7 @@ module Gherkin
395
395
  return 1
396
396
  end
397
397
  # GherkinDocument:0>Feature:0>FeatureHeader:1>Tags:0>#TagLine:0
398
- def match_token_at_2(token, context)
398
+ def match_token_at_state2(token, context)
399
399
  if match_TagLine(context, token)
400
400
  build(context, token);
401
401
  return 2
@@ -423,7 +423,7 @@ module Gherkin
423
423
  return 2
424
424
  end
425
425
  # GherkinDocument:0>Feature:0>FeatureHeader:2>#FeatureLine:0
426
- def match_token_at_3(token, context)
426
+ def match_token_at_state3(token, context)
427
427
  if match_EOF(context, token)
428
428
  end_rule(context, :FeatureHeader);
429
429
  end_rule(context, :Feature);
@@ -445,12 +445,12 @@ module Gherkin
445
445
  return 6
446
446
  end
447
447
  if match_TagLine(context, token)
448
- if lookahead_0(context, token)
449
- end_rule(context, :FeatureHeader);
450
- start_rule(context, :ScenarioDefinition);
451
- start_rule(context, :Tags);
452
- build(context, token);
453
- return 11
448
+ if lookahead0(context, token)
449
+ end_rule(context, :FeatureHeader);
450
+ start_rule(context, :ScenarioDefinition);
451
+ start_rule(context, :Tags);
452
+ build(context, token);
453
+ return 11
454
454
  end
455
455
  end
456
456
  if match_TagLine(context, token)
@@ -490,7 +490,7 @@ module Gherkin
490
490
  return 3
491
491
  end
492
492
  # GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:1>Description:0>#Other:0
493
- def match_token_at_4(token, context)
493
+ def match_token_at_state4(token, context)
494
494
  if match_EOF(context, token)
495
495
  end_rule(context, :Description);
496
496
  end_rule(context, :FeatureHeader);
@@ -511,13 +511,13 @@ module Gherkin
511
511
  return 6
512
512
  end
513
513
  if match_TagLine(context, token)
514
- if lookahead_0(context, token)
515
- end_rule(context, :Description);
516
- end_rule(context, :FeatureHeader);
517
- start_rule(context, :ScenarioDefinition);
518
- start_rule(context, :Tags);
519
- build(context, token);
520
- return 11
514
+ if lookahead0(context, token)
515
+ end_rule(context, :Description);
516
+ end_rule(context, :FeatureHeader);
517
+ start_rule(context, :ScenarioDefinition);
518
+ start_rule(context, :Tags);
519
+ build(context, token);
520
+ return 11
521
521
  end
522
522
  end
523
523
  if match_TagLine(context, token)
@@ -559,7 +559,7 @@ module Gherkin
559
559
  return 4
560
560
  end
561
561
  # GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:2>#Comment:0
562
- def match_token_at_5(token, context)
562
+ def match_token_at_state5(token, context)
563
563
  if match_EOF(context, token)
564
564
  end_rule(context, :FeatureHeader);
565
565
  end_rule(context, :Feature);
@@ -577,12 +577,12 @@ module Gherkin
577
577
  return 6
578
578
  end
579
579
  if match_TagLine(context, token)
580
- if lookahead_0(context, token)
581
- end_rule(context, :FeatureHeader);
582
- start_rule(context, :ScenarioDefinition);
583
- start_rule(context, :Tags);
584
- build(context, token);
585
- return 11
580
+ if lookahead0(context, token)
581
+ end_rule(context, :FeatureHeader);
582
+ start_rule(context, :ScenarioDefinition);
583
+ start_rule(context, :Tags);
584
+ build(context, token);
585
+ return 11
586
586
  end
587
587
  end
588
588
  if match_TagLine(context, token)
@@ -621,7 +621,7 @@ module Gherkin
621
621
  return 5
622
622
  end
623
623
  # GherkinDocument:0>Feature:1>Background:0>#BackgroundLine:0
624
- def match_token_at_6(token, context)
624
+ def match_token_at_state6(token, context)
625
625
  if match_EOF(context, token)
626
626
  end_rule(context, :Background);
627
627
  end_rule(context, :Feature);
@@ -642,12 +642,12 @@ module Gherkin
642
642
  return 9
643
643
  end
644
644
  if match_TagLine(context, token)
645
- if lookahead_0(context, token)
646
- end_rule(context, :Background);
647
- start_rule(context, :ScenarioDefinition);
648
- start_rule(context, :Tags);
649
- build(context, token);
650
- return 11
645
+ if lookahead0(context, token)
646
+ end_rule(context, :Background);
647
+ start_rule(context, :ScenarioDefinition);
648
+ start_rule(context, :Tags);
649
+ build(context, token);
650
+ return 11
651
651
  end
652
652
  end
653
653
  if match_TagLine(context, token)
@@ -687,7 +687,7 @@ module Gherkin
687
687
  return 6
688
688
  end
689
689
  # GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:1>Description:0>#Other:0
690
- def match_token_at_7(token, context)
690
+ def match_token_at_state7(token, context)
691
691
  if match_EOF(context, token)
692
692
  end_rule(context, :Description);
693
693
  end_rule(context, :Background);
@@ -707,13 +707,13 @@ module Gherkin
707
707
  return 9
708
708
  end
709
709
  if match_TagLine(context, token)
710
- if lookahead_0(context, token)
711
- end_rule(context, :Description);
712
- end_rule(context, :Background);
713
- start_rule(context, :ScenarioDefinition);
714
- start_rule(context, :Tags);
715
- build(context, token);
716
- return 11
710
+ if lookahead0(context, token)
711
+ end_rule(context, :Description);
712
+ end_rule(context, :Background);
713
+ start_rule(context, :ScenarioDefinition);
714
+ start_rule(context, :Tags);
715
+ build(context, token);
716
+ return 11
717
717
  end
718
718
  end
719
719
  if match_TagLine(context, token)
@@ -755,7 +755,7 @@ module Gherkin
755
755
  return 7
756
756
  end
757
757
  # GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:2>#Comment:0
758
- def match_token_at_8(token, context)
758
+ def match_token_at_state8(token, context)
759
759
  if match_EOF(context, token)
760
760
  end_rule(context, :Background);
761
761
  end_rule(context, :Feature);
@@ -772,12 +772,12 @@ module Gherkin
772
772
  return 9
773
773
  end
774
774
  if match_TagLine(context, token)
775
- if lookahead_0(context, token)
776
- end_rule(context, :Background);
777
- start_rule(context, :ScenarioDefinition);
778
- start_rule(context, :Tags);
779
- build(context, token);
780
- return 11
775
+ if lookahead0(context, token)
776
+ end_rule(context, :Background);
777
+ start_rule(context, :ScenarioDefinition);
778
+ start_rule(context, :Tags);
779
+ build(context, token);
780
+ return 11
781
781
  end
782
782
  end
783
783
  if match_TagLine(context, token)
@@ -816,7 +816,7 @@ module Gherkin
816
816
  return 8
817
817
  end
818
818
  # GherkinDocument:0>Feature:1>Background:2>Step:0>#StepLine:0
819
- def match_token_at_9(token, context)
819
+ def match_token_at_state9(token, context)
820
820
  if match_EOF(context, token)
821
821
  end_rule(context, :Step);
822
822
  end_rule(context, :Background);
@@ -841,13 +841,13 @@ module Gherkin
841
841
  return 9
842
842
  end
843
843
  if match_TagLine(context, token)
844
- if lookahead_0(context, token)
845
- end_rule(context, :Step);
846
- end_rule(context, :Background);
847
- start_rule(context, :ScenarioDefinition);
848
- start_rule(context, :Tags);
849
- build(context, token);
850
- return 11
844
+ if lookahead0(context, token)
845
+ end_rule(context, :Step);
846
+ end_rule(context, :Background);
847
+ start_rule(context, :ScenarioDefinition);
848
+ start_rule(context, :Tags);
849
+ build(context, token);
850
+ return 11
851
851
  end
852
852
  end
853
853
  if match_TagLine(context, token)
@@ -893,7 +893,7 @@ module Gherkin
893
893
  return 9
894
894
  end
895
895
  # GherkinDocument:0>Feature:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0
896
- def match_token_at_10(token, context)
896
+ def match_token_at_state10(token, context)
897
897
  if match_EOF(context, token)
898
898
  end_rule(context, :DataTable);
899
899
  end_rule(context, :Step);
@@ -914,14 +914,14 @@ module Gherkin
914
914
  return 9
915
915
  end
916
916
  if match_TagLine(context, token)
917
- if lookahead_0(context, token)
918
- end_rule(context, :DataTable);
919
- end_rule(context, :Step);
920
- end_rule(context, :Background);
921
- start_rule(context, :ScenarioDefinition);
922
- start_rule(context, :Tags);
923
- build(context, token);
924
- return 11
917
+ if lookahead0(context, token)
918
+ end_rule(context, :DataTable);
919
+ end_rule(context, :Step);
920
+ end_rule(context, :Background);
921
+ start_rule(context, :ScenarioDefinition);
922
+ start_rule(context, :Tags);
923
+ build(context, token);
924
+ return 11
925
925
  end
926
926
  end
927
927
  if match_TagLine(context, token)
@@ -970,7 +970,7 @@ module Gherkin
970
970
  return 10
971
971
  end
972
972
  # GherkinDocument:0>Feature:2>ScenarioDefinition:0>Tags:0>#TagLine:0
973
- def match_token_at_11(token, context)
973
+ def match_token_at_state11(token, context)
974
974
  if match_TagLine(context, token)
975
975
  build(context, token);
976
976
  return 11
@@ -999,7 +999,7 @@ module Gherkin
999
999
  return 11
1000
1000
  end
1001
1001
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:0
1002
- def match_token_at_12(token, context)
1002
+ def match_token_at_state12(token, context)
1003
1003
  if match_EOF(context, token)
1004
1004
  end_rule(context, :Scenario);
1005
1005
  end_rule(context, :ScenarioDefinition);
@@ -1021,21 +1021,21 @@ module Gherkin
1021
1021
  return 15
1022
1022
  end
1023
1023
  if match_TagLine(context, token)
1024
- if lookahead_1(context, token)
1025
- start_rule(context, :ExamplesDefinition);
1026
- start_rule(context, :Tags);
1027
- build(context, token);
1028
- return 17
1024
+ if lookahead1(context, token)
1025
+ start_rule(context, :ExamplesDefinition);
1026
+ start_rule(context, :Tags);
1027
+ build(context, token);
1028
+ return 17
1029
1029
  end
1030
1030
  end
1031
1031
  if match_TagLine(context, token)
1032
- if lookahead_0(context, token)
1033
- end_rule(context, :Scenario);
1034
- end_rule(context, :ScenarioDefinition);
1035
- start_rule(context, :ScenarioDefinition);
1036
- start_rule(context, :Tags);
1037
- build(context, token);
1038
- return 11
1032
+ if lookahead0(context, token)
1033
+ end_rule(context, :Scenario);
1034
+ end_rule(context, :ScenarioDefinition);
1035
+ start_rule(context, :ScenarioDefinition);
1036
+ start_rule(context, :Tags);
1037
+ build(context, token);
1038
+ return 11
1039
1039
  end
1040
1040
  end
1041
1041
  if match_TagLine(context, token)
@@ -1084,7 +1084,7 @@ module Gherkin
1084
1084
  return 12
1085
1085
  end
1086
1086
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:0
1087
- def match_token_at_13(token, context)
1087
+ def match_token_at_state13(token, context)
1088
1088
  if match_EOF(context, token)
1089
1089
  end_rule(context, :Description);
1090
1090
  end_rule(context, :Scenario);
@@ -1105,23 +1105,23 @@ module Gherkin
1105
1105
  return 15
1106
1106
  end
1107
1107
  if match_TagLine(context, token)
1108
- if lookahead_1(context, token)
1109
- end_rule(context, :Description);
1110
- start_rule(context, :ExamplesDefinition);
1111
- start_rule(context, :Tags);
1112
- build(context, token);
1113
- return 17
1108
+ if lookahead1(context, token)
1109
+ end_rule(context, :Description);
1110
+ start_rule(context, :ExamplesDefinition);
1111
+ start_rule(context, :Tags);
1112
+ build(context, token);
1113
+ return 17
1114
1114
  end
1115
1115
  end
1116
1116
  if match_TagLine(context, token)
1117
- if lookahead_0(context, token)
1118
- end_rule(context, :Description);
1119
- end_rule(context, :Scenario);
1120
- end_rule(context, :ScenarioDefinition);
1121
- start_rule(context, :ScenarioDefinition);
1122
- start_rule(context, :Tags);
1123
- build(context, token);
1124
- return 11
1117
+ if lookahead0(context, token)
1118
+ end_rule(context, :Description);
1119
+ end_rule(context, :Scenario);
1120
+ end_rule(context, :ScenarioDefinition);
1121
+ start_rule(context, :ScenarioDefinition);
1122
+ start_rule(context, :Tags);
1123
+ build(context, token);
1124
+ return 11
1125
1125
  end
1126
1126
  end
1127
1127
  if match_TagLine(context, token)
@@ -1173,7 +1173,7 @@ module Gherkin
1173
1173
  return 13
1174
1174
  end
1175
1175
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:0
1176
- def match_token_at_14(token, context)
1176
+ def match_token_at_state14(token, context)
1177
1177
  if match_EOF(context, token)
1178
1178
  end_rule(context, :Scenario);
1179
1179
  end_rule(context, :ScenarioDefinition);
@@ -1191,21 +1191,21 @@ module Gherkin
1191
1191
  return 15
1192
1192
  end
1193
1193
  if match_TagLine(context, token)
1194
- if lookahead_1(context, token)
1195
- start_rule(context, :ExamplesDefinition);
1196
- start_rule(context, :Tags);
1197
- build(context, token);
1198
- return 17
1194
+ if lookahead1(context, token)
1195
+ start_rule(context, :ExamplesDefinition);
1196
+ start_rule(context, :Tags);
1197
+ build(context, token);
1198
+ return 17
1199
1199
  end
1200
1200
  end
1201
1201
  if match_TagLine(context, token)
1202
- if lookahead_0(context, token)
1203
- end_rule(context, :Scenario);
1204
- end_rule(context, :ScenarioDefinition);
1205
- start_rule(context, :ScenarioDefinition);
1206
- start_rule(context, :Tags);
1207
- build(context, token);
1208
- return 11
1202
+ if lookahead0(context, token)
1203
+ end_rule(context, :Scenario);
1204
+ end_rule(context, :ScenarioDefinition);
1205
+ start_rule(context, :ScenarioDefinition);
1206
+ start_rule(context, :Tags);
1207
+ build(context, token);
1208
+ return 11
1209
1209
  end
1210
1210
  end
1211
1211
  if match_TagLine(context, token)
@@ -1253,7 +1253,7 @@ module Gherkin
1253
1253
  return 14
1254
1254
  end
1255
1255
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:0
1256
- def match_token_at_15(token, context)
1256
+ def match_token_at_state15(token, context)
1257
1257
  if match_EOF(context, token)
1258
1258
  end_rule(context, :Step);
1259
1259
  end_rule(context, :Scenario);
@@ -1279,23 +1279,23 @@ module Gherkin
1279
1279
  return 15
1280
1280
  end
1281
1281
  if match_TagLine(context, token)
1282
- if lookahead_1(context, token)
1283
- end_rule(context, :Step);
1284
- start_rule(context, :ExamplesDefinition);
1285
- start_rule(context, :Tags);
1286
- build(context, token);
1287
- return 17
1282
+ if lookahead1(context, token)
1283
+ end_rule(context, :Step);
1284
+ start_rule(context, :ExamplesDefinition);
1285
+ start_rule(context, :Tags);
1286
+ build(context, token);
1287
+ return 17
1288
1288
  end
1289
1289
  end
1290
1290
  if match_TagLine(context, token)
1291
- if lookahead_0(context, token)
1292
- end_rule(context, :Step);
1293
- end_rule(context, :Scenario);
1294
- end_rule(context, :ScenarioDefinition);
1295
- start_rule(context, :ScenarioDefinition);
1296
- start_rule(context, :Tags);
1297
- build(context, token);
1298
- return 11
1291
+ if lookahead0(context, token)
1292
+ end_rule(context, :Step);
1293
+ end_rule(context, :Scenario);
1294
+ end_rule(context, :ScenarioDefinition);
1295
+ start_rule(context, :ScenarioDefinition);
1296
+ start_rule(context, :Tags);
1297
+ build(context, token);
1298
+ return 11
1299
1299
  end
1300
1300
  end
1301
1301
  if match_TagLine(context, token)
@@ -1351,7 +1351,7 @@ module Gherkin
1351
1351
  return 15
1352
1352
  end
1353
1353
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0
1354
- def match_token_at_16(token, context)
1354
+ def match_token_at_state16(token, context)
1355
1355
  if match_EOF(context, token)
1356
1356
  end_rule(context, :DataTable);
1357
1357
  end_rule(context, :Step);
@@ -1373,25 +1373,25 @@ module Gherkin
1373
1373
  return 15
1374
1374
  end
1375
1375
  if match_TagLine(context, token)
1376
- if lookahead_1(context, token)
1377
- end_rule(context, :DataTable);
1378
- end_rule(context, :Step);
1379
- start_rule(context, :ExamplesDefinition);
1380
- start_rule(context, :Tags);
1381
- build(context, token);
1382
- return 17
1376
+ if lookahead1(context, token)
1377
+ end_rule(context, :DataTable);
1378
+ end_rule(context, :Step);
1379
+ start_rule(context, :ExamplesDefinition);
1380
+ start_rule(context, :Tags);
1381
+ build(context, token);
1382
+ return 17
1383
1383
  end
1384
1384
  end
1385
1385
  if match_TagLine(context, token)
1386
- if lookahead_0(context, token)
1387
- end_rule(context, :DataTable);
1388
- end_rule(context, :Step);
1389
- end_rule(context, :Scenario);
1390
- end_rule(context, :ScenarioDefinition);
1391
- start_rule(context, :ScenarioDefinition);
1392
- start_rule(context, :Tags);
1393
- build(context, token);
1394
- return 11
1386
+ if lookahead0(context, token)
1387
+ end_rule(context, :DataTable);
1388
+ end_rule(context, :Step);
1389
+ end_rule(context, :Scenario);
1390
+ end_rule(context, :ScenarioDefinition);
1391
+ start_rule(context, :ScenarioDefinition);
1392
+ start_rule(context, :Tags);
1393
+ build(context, token);
1394
+ return 11
1395
1395
  end
1396
1396
  end
1397
1397
  if match_TagLine(context, token)
@@ -1451,7 +1451,7 @@ module Gherkin
1451
1451
  return 16
1452
1452
  end
1453
1453
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:0
1454
- def match_token_at_17(token, context)
1454
+ def match_token_at_state17(token, context)
1455
1455
  if match_TagLine(context, token)
1456
1456
  build(context, token);
1457
1457
  return 17
@@ -1480,7 +1480,7 @@ module Gherkin
1480
1480
  return 17
1481
1481
  end
1482
1482
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:0
1483
- def match_token_at_18(token, context)
1483
+ def match_token_at_state18(token, context)
1484
1484
  if match_EOF(context, token)
1485
1485
  end_rule(context, :Examples);
1486
1486
  end_rule(context, :ExamplesDefinition);
@@ -1504,25 +1504,25 @@ module Gherkin
1504
1504
  return 21
1505
1505
  end
1506
1506
  if match_TagLine(context, token)
1507
- if lookahead_1(context, token)
1508
- end_rule(context, :Examples);
1509
- end_rule(context, :ExamplesDefinition);
1510
- start_rule(context, :ExamplesDefinition);
1511
- start_rule(context, :Tags);
1512
- build(context, token);
1513
- return 17
1507
+ if lookahead1(context, token)
1508
+ end_rule(context, :Examples);
1509
+ end_rule(context, :ExamplesDefinition);
1510
+ start_rule(context, :ExamplesDefinition);
1511
+ start_rule(context, :Tags);
1512
+ build(context, token);
1513
+ return 17
1514
1514
  end
1515
1515
  end
1516
1516
  if match_TagLine(context, token)
1517
- if lookahead_0(context, token)
1518
- end_rule(context, :Examples);
1519
- end_rule(context, :ExamplesDefinition);
1520
- end_rule(context, :Scenario);
1521
- end_rule(context, :ScenarioDefinition);
1522
- start_rule(context, :ScenarioDefinition);
1523
- start_rule(context, :Tags);
1524
- build(context, token);
1525
- return 11
1517
+ if lookahead0(context, token)
1518
+ end_rule(context, :Examples);
1519
+ end_rule(context, :ExamplesDefinition);
1520
+ end_rule(context, :Scenario);
1521
+ end_rule(context, :ScenarioDefinition);
1522
+ start_rule(context, :ScenarioDefinition);
1523
+ start_rule(context, :Tags);
1524
+ build(context, token);
1525
+ return 11
1526
1526
  end
1527
1527
  end
1528
1528
  if match_TagLine(context, token)
@@ -1579,7 +1579,7 @@ module Gherkin
1579
1579
  return 18
1580
1580
  end
1581
1581
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:0
1582
- def match_token_at_19(token, context)
1582
+ def match_token_at_state19(token, context)
1583
1583
  if match_EOF(context, token)
1584
1584
  end_rule(context, :Description);
1585
1585
  end_rule(context, :Examples);
@@ -1602,27 +1602,27 @@ module Gherkin
1602
1602
  return 21
1603
1603
  end
1604
1604
  if match_TagLine(context, token)
1605
- if lookahead_1(context, token)
1606
- end_rule(context, :Description);
1607
- end_rule(context, :Examples);
1608
- end_rule(context, :ExamplesDefinition);
1609
- start_rule(context, :ExamplesDefinition);
1610
- start_rule(context, :Tags);
1611
- build(context, token);
1612
- return 17
1605
+ if lookahead1(context, token)
1606
+ end_rule(context, :Description);
1607
+ end_rule(context, :Examples);
1608
+ end_rule(context, :ExamplesDefinition);
1609
+ start_rule(context, :ExamplesDefinition);
1610
+ start_rule(context, :Tags);
1611
+ build(context, token);
1612
+ return 17
1613
1613
  end
1614
1614
  end
1615
1615
  if match_TagLine(context, token)
1616
- if lookahead_0(context, token)
1617
- end_rule(context, :Description);
1618
- end_rule(context, :Examples);
1619
- end_rule(context, :ExamplesDefinition);
1620
- end_rule(context, :Scenario);
1621
- end_rule(context, :ScenarioDefinition);
1622
- start_rule(context, :ScenarioDefinition);
1623
- start_rule(context, :Tags);
1624
- build(context, token);
1625
- return 11
1616
+ if lookahead0(context, token)
1617
+ end_rule(context, :Description);
1618
+ end_rule(context, :Examples);
1619
+ end_rule(context, :ExamplesDefinition);
1620
+ end_rule(context, :Scenario);
1621
+ end_rule(context, :ScenarioDefinition);
1622
+ start_rule(context, :ScenarioDefinition);
1623
+ start_rule(context, :Tags);
1624
+ build(context, token);
1625
+ return 11
1626
1626
  end
1627
1627
  end
1628
1628
  if match_TagLine(context, token)
@@ -1682,7 +1682,7 @@ module Gherkin
1682
1682
  return 19
1683
1683
  end
1684
1684
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:2>#Comment:0
1685
- def match_token_at_20(token, context)
1685
+ def match_token_at_state20(token, context)
1686
1686
  if match_EOF(context, token)
1687
1687
  end_rule(context, :Examples);
1688
1688
  end_rule(context, :ExamplesDefinition);
@@ -1702,25 +1702,25 @@ module Gherkin
1702
1702
  return 21
1703
1703
  end
1704
1704
  if match_TagLine(context, token)
1705
- if lookahead_1(context, token)
1706
- end_rule(context, :Examples);
1707
- end_rule(context, :ExamplesDefinition);
1708
- start_rule(context, :ExamplesDefinition);
1709
- start_rule(context, :Tags);
1710
- build(context, token);
1711
- return 17
1705
+ if lookahead1(context, token)
1706
+ end_rule(context, :Examples);
1707
+ end_rule(context, :ExamplesDefinition);
1708
+ start_rule(context, :ExamplesDefinition);
1709
+ start_rule(context, :Tags);
1710
+ build(context, token);
1711
+ return 17
1712
1712
  end
1713
1713
  end
1714
1714
  if match_TagLine(context, token)
1715
- if lookahead_0(context, token)
1716
- end_rule(context, :Examples);
1717
- end_rule(context, :ExamplesDefinition);
1718
- end_rule(context, :Scenario);
1719
- end_rule(context, :ScenarioDefinition);
1720
- start_rule(context, :ScenarioDefinition);
1721
- start_rule(context, :Tags);
1722
- build(context, token);
1723
- return 11
1715
+ if lookahead0(context, token)
1716
+ end_rule(context, :Examples);
1717
+ end_rule(context, :ExamplesDefinition);
1718
+ end_rule(context, :Scenario);
1719
+ end_rule(context, :ScenarioDefinition);
1720
+ start_rule(context, :ScenarioDefinition);
1721
+ start_rule(context, :Tags);
1722
+ build(context, token);
1723
+ return 11
1724
1724
  end
1725
1725
  end
1726
1726
  if match_TagLine(context, token)
@@ -1776,7 +1776,7 @@ module Gherkin
1776
1776
  return 20
1777
1777
  end
1778
1778
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:2>ExamplesTable:0>#TableRow:0
1779
- def match_token_at_21(token, context)
1779
+ def match_token_at_state21(token, context)
1780
1780
  if match_EOF(context, token)
1781
1781
  end_rule(context, :ExamplesTable);
1782
1782
  end_rule(context, :Examples);
@@ -1792,27 +1792,27 @@ module Gherkin
1792
1792
  return 21
1793
1793
  end
1794
1794
  if match_TagLine(context, token)
1795
- if lookahead_1(context, token)
1796
- end_rule(context, :ExamplesTable);
1797
- end_rule(context, :Examples);
1798
- end_rule(context, :ExamplesDefinition);
1799
- start_rule(context, :ExamplesDefinition);
1800
- start_rule(context, :Tags);
1801
- build(context, token);
1802
- return 17
1795
+ if lookahead1(context, token)
1796
+ end_rule(context, :ExamplesTable);
1797
+ end_rule(context, :Examples);
1798
+ end_rule(context, :ExamplesDefinition);
1799
+ start_rule(context, :ExamplesDefinition);
1800
+ start_rule(context, :Tags);
1801
+ build(context, token);
1802
+ return 17
1803
1803
  end
1804
1804
  end
1805
1805
  if match_TagLine(context, token)
1806
- if lookahead_0(context, token)
1807
- end_rule(context, :ExamplesTable);
1808
- end_rule(context, :Examples);
1809
- end_rule(context, :ExamplesDefinition);
1810
- end_rule(context, :Scenario);
1811
- end_rule(context, :ScenarioDefinition);
1812
- start_rule(context, :ScenarioDefinition);
1813
- start_rule(context, :Tags);
1814
- build(context, token);
1815
- return 11
1806
+ if lookahead0(context, token)
1807
+ end_rule(context, :ExamplesTable);
1808
+ end_rule(context, :Examples);
1809
+ end_rule(context, :ExamplesDefinition);
1810
+ end_rule(context, :Scenario);
1811
+ end_rule(context, :ScenarioDefinition);
1812
+ start_rule(context, :ScenarioDefinition);
1813
+ start_rule(context, :Tags);
1814
+ build(context, token);
1815
+ return 11
1816
1816
  end
1817
1817
  end
1818
1818
  if match_TagLine(context, token)
@@ -1876,7 +1876,7 @@ module Gherkin
1876
1876
  return 21
1877
1877
  end
1878
1878
  # GherkinDocument:0>Feature:3>Rule:0>RuleHeader:0>Tags:0>#TagLine:0
1879
- def match_token_at_22(token, context)
1879
+ def match_token_at_state22(token, context)
1880
1880
  if match_TagLine(context, token)
1881
1881
  build(context, token);
1882
1882
  return 22
@@ -1904,7 +1904,7 @@ module Gherkin
1904
1904
  return 22
1905
1905
  end
1906
1906
  # GherkinDocument:0>Feature:3>Rule:0>RuleHeader:1>#RuleLine:0
1907
- def match_token_at_23(token, context)
1907
+ def match_token_at_state23(token, context)
1908
1908
  if match_EOF(context, token)
1909
1909
  end_rule(context, :RuleHeader);
1910
1910
  end_rule(context, :Rule);
@@ -1927,12 +1927,12 @@ module Gherkin
1927
1927
  return 26
1928
1928
  end
1929
1929
  if match_TagLine(context, token)
1930
- if lookahead_0(context, token)
1931
- end_rule(context, :RuleHeader);
1932
- start_rule(context, :ScenarioDefinition);
1933
- start_rule(context, :Tags);
1934
- build(context, token);
1935
- return 31
1930
+ if lookahead0(context, token)
1931
+ end_rule(context, :RuleHeader);
1932
+ start_rule(context, :ScenarioDefinition);
1933
+ start_rule(context, :Tags);
1934
+ build(context, token);
1935
+ return 31
1936
1936
  end
1937
1937
  end
1938
1938
  if match_TagLine(context, token)
@@ -1974,7 +1974,7 @@ module Gherkin
1974
1974
  return 23
1975
1975
  end
1976
1976
  # GherkinDocument:0>Feature:3>Rule:0>RuleHeader:2>DescriptionHelper:1>Description:0>#Other:0
1977
- def match_token_at_24(token, context)
1977
+ def match_token_at_state24(token, context)
1978
1978
  if match_EOF(context, token)
1979
1979
  end_rule(context, :Description);
1980
1980
  end_rule(context, :RuleHeader);
@@ -1996,13 +1996,13 @@ module Gherkin
1996
1996
  return 26
1997
1997
  end
1998
1998
  if match_TagLine(context, token)
1999
- if lookahead_0(context, token)
2000
- end_rule(context, :Description);
2001
- end_rule(context, :RuleHeader);
2002
- start_rule(context, :ScenarioDefinition);
2003
- start_rule(context, :Tags);
2004
- build(context, token);
2005
- return 31
1999
+ if lookahead0(context, token)
2000
+ end_rule(context, :Description);
2001
+ end_rule(context, :RuleHeader);
2002
+ start_rule(context, :ScenarioDefinition);
2003
+ start_rule(context, :Tags);
2004
+ build(context, token);
2005
+ return 31
2006
2006
  end
2007
2007
  end
2008
2008
  if match_TagLine(context, token)
@@ -2046,7 +2046,7 @@ module Gherkin
2046
2046
  return 24
2047
2047
  end
2048
2048
  # GherkinDocument:0>Feature:3>Rule:0>RuleHeader:2>DescriptionHelper:2>#Comment:0
2049
- def match_token_at_25(token, context)
2049
+ def match_token_at_state25(token, context)
2050
2050
  if match_EOF(context, token)
2051
2051
  end_rule(context, :RuleHeader);
2052
2052
  end_rule(context, :Rule);
@@ -2065,12 +2065,12 @@ module Gherkin
2065
2065
  return 26
2066
2066
  end
2067
2067
  if match_TagLine(context, token)
2068
- if lookahead_0(context, token)
2069
- end_rule(context, :RuleHeader);
2070
- start_rule(context, :ScenarioDefinition);
2071
- start_rule(context, :Tags);
2072
- build(context, token);
2073
- return 31
2068
+ if lookahead0(context, token)
2069
+ end_rule(context, :RuleHeader);
2070
+ start_rule(context, :ScenarioDefinition);
2071
+ start_rule(context, :Tags);
2072
+ build(context, token);
2073
+ return 31
2074
2074
  end
2075
2075
  end
2076
2076
  if match_TagLine(context, token)
@@ -2111,7 +2111,7 @@ module Gherkin
2111
2111
  return 25
2112
2112
  end
2113
2113
  # GherkinDocument:0>Feature:3>Rule:1>Background:0>#BackgroundLine:0
2114
- def match_token_at_26(token, context)
2114
+ def match_token_at_state26(token, context)
2115
2115
  if match_EOF(context, token)
2116
2116
  end_rule(context, :Background);
2117
2117
  end_rule(context, :Rule);
@@ -2133,12 +2133,12 @@ module Gherkin
2133
2133
  return 29
2134
2134
  end
2135
2135
  if match_TagLine(context, token)
2136
- if lookahead_0(context, token)
2137
- end_rule(context, :Background);
2138
- start_rule(context, :ScenarioDefinition);
2139
- start_rule(context, :Tags);
2140
- build(context, token);
2141
- return 31
2136
+ if lookahead0(context, token)
2137
+ end_rule(context, :Background);
2138
+ start_rule(context, :ScenarioDefinition);
2139
+ start_rule(context, :Tags);
2140
+ build(context, token);
2141
+ return 31
2142
2142
  end
2143
2143
  end
2144
2144
  if match_TagLine(context, token)
@@ -2180,7 +2180,7 @@ module Gherkin
2180
2180
  return 26
2181
2181
  end
2182
2182
  # GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:1>Description:0>#Other:0
2183
- def match_token_at_27(token, context)
2183
+ def match_token_at_state27(token, context)
2184
2184
  if match_EOF(context, token)
2185
2185
  end_rule(context, :Description);
2186
2186
  end_rule(context, :Background);
@@ -2201,13 +2201,13 @@ module Gherkin
2201
2201
  return 29
2202
2202
  end
2203
2203
  if match_TagLine(context, token)
2204
- if lookahead_0(context, token)
2205
- end_rule(context, :Description);
2206
- end_rule(context, :Background);
2207
- start_rule(context, :ScenarioDefinition);
2208
- start_rule(context, :Tags);
2209
- build(context, token);
2210
- return 31
2204
+ if lookahead0(context, token)
2205
+ end_rule(context, :Description);
2206
+ end_rule(context, :Background);
2207
+ start_rule(context, :ScenarioDefinition);
2208
+ start_rule(context, :Tags);
2209
+ build(context, token);
2210
+ return 31
2211
2211
  end
2212
2212
  end
2213
2213
  if match_TagLine(context, token)
@@ -2251,7 +2251,7 @@ module Gherkin
2251
2251
  return 27
2252
2252
  end
2253
2253
  # GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:2>#Comment:0
2254
- def match_token_at_28(token, context)
2254
+ def match_token_at_state28(token, context)
2255
2255
  if match_EOF(context, token)
2256
2256
  end_rule(context, :Background);
2257
2257
  end_rule(context, :Rule);
@@ -2269,12 +2269,12 @@ module Gherkin
2269
2269
  return 29
2270
2270
  end
2271
2271
  if match_TagLine(context, token)
2272
- if lookahead_0(context, token)
2273
- end_rule(context, :Background);
2274
- start_rule(context, :ScenarioDefinition);
2275
- start_rule(context, :Tags);
2276
- build(context, token);
2277
- return 31
2272
+ if lookahead0(context, token)
2273
+ end_rule(context, :Background);
2274
+ start_rule(context, :ScenarioDefinition);
2275
+ start_rule(context, :Tags);
2276
+ build(context, token);
2277
+ return 31
2278
2278
  end
2279
2279
  end
2280
2280
  if match_TagLine(context, token)
@@ -2315,7 +2315,7 @@ module Gherkin
2315
2315
  return 28
2316
2316
  end
2317
2317
  # GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:0>#StepLine:0
2318
- def match_token_at_29(token, context)
2318
+ def match_token_at_state29(token, context)
2319
2319
  if match_EOF(context, token)
2320
2320
  end_rule(context, :Step);
2321
2321
  end_rule(context, :Background);
@@ -2341,13 +2341,13 @@ module Gherkin
2341
2341
  return 29
2342
2342
  end
2343
2343
  if match_TagLine(context, token)
2344
- if lookahead_0(context, token)
2345
- end_rule(context, :Step);
2346
- end_rule(context, :Background);
2347
- start_rule(context, :ScenarioDefinition);
2348
- start_rule(context, :Tags);
2349
- build(context, token);
2350
- return 31
2344
+ if lookahead0(context, token)
2345
+ end_rule(context, :Step);
2346
+ end_rule(context, :Background);
2347
+ start_rule(context, :ScenarioDefinition);
2348
+ start_rule(context, :Tags);
2349
+ build(context, token);
2350
+ return 31
2351
2351
  end
2352
2352
  end
2353
2353
  if match_TagLine(context, token)
@@ -2395,7 +2395,7 @@ module Gherkin
2395
2395
  return 29
2396
2396
  end
2397
2397
  # GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0
2398
- def match_token_at_30(token, context)
2398
+ def match_token_at_state30(token, context)
2399
2399
  if match_EOF(context, token)
2400
2400
  end_rule(context, :DataTable);
2401
2401
  end_rule(context, :Step);
@@ -2417,14 +2417,14 @@ module Gherkin
2417
2417
  return 29
2418
2418
  end
2419
2419
  if match_TagLine(context, token)
2420
- if lookahead_0(context, token)
2421
- end_rule(context, :DataTable);
2422
- end_rule(context, :Step);
2423
- end_rule(context, :Background);
2424
- start_rule(context, :ScenarioDefinition);
2425
- start_rule(context, :Tags);
2426
- build(context, token);
2427
- return 31
2420
+ if lookahead0(context, token)
2421
+ end_rule(context, :DataTable);
2422
+ end_rule(context, :Step);
2423
+ end_rule(context, :Background);
2424
+ start_rule(context, :ScenarioDefinition);
2425
+ start_rule(context, :Tags);
2426
+ build(context, token);
2427
+ return 31
2428
2428
  end
2429
2429
  end
2430
2430
  if match_TagLine(context, token)
@@ -2475,7 +2475,7 @@ module Gherkin
2475
2475
  return 30
2476
2476
  end
2477
2477
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:0>Tags:0>#TagLine:0
2478
- def match_token_at_31(token, context)
2478
+ def match_token_at_state31(token, context)
2479
2479
  if match_TagLine(context, token)
2480
2480
  build(context, token);
2481
2481
  return 31
@@ -2504,7 +2504,7 @@ module Gherkin
2504
2504
  return 31
2505
2505
  end
2506
2506
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:0
2507
- def match_token_at_32(token, context)
2507
+ def match_token_at_state32(token, context)
2508
2508
  if match_EOF(context, token)
2509
2509
  end_rule(context, :Scenario);
2510
2510
  end_rule(context, :ScenarioDefinition);
@@ -2527,21 +2527,21 @@ module Gherkin
2527
2527
  return 35
2528
2528
  end
2529
2529
  if match_TagLine(context, token)
2530
- if lookahead_1(context, token)
2531
- start_rule(context, :ExamplesDefinition);
2532
- start_rule(context, :Tags);
2533
- build(context, token);
2534
- return 37
2530
+ if lookahead1(context, token)
2531
+ start_rule(context, :ExamplesDefinition);
2532
+ start_rule(context, :Tags);
2533
+ build(context, token);
2534
+ return 37
2535
2535
  end
2536
2536
  end
2537
2537
  if match_TagLine(context, token)
2538
- if lookahead_0(context, token)
2539
- end_rule(context, :Scenario);
2540
- end_rule(context, :ScenarioDefinition);
2541
- start_rule(context, :ScenarioDefinition);
2542
- start_rule(context, :Tags);
2543
- build(context, token);
2544
- return 31
2538
+ if lookahead0(context, token)
2539
+ end_rule(context, :Scenario);
2540
+ end_rule(context, :ScenarioDefinition);
2541
+ start_rule(context, :ScenarioDefinition);
2542
+ start_rule(context, :Tags);
2543
+ build(context, token);
2544
+ return 31
2545
2545
  end
2546
2546
  end
2547
2547
  if match_TagLine(context, token)
@@ -2592,7 +2592,7 @@ module Gherkin
2592
2592
  return 32
2593
2593
  end
2594
2594
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:0
2595
- def match_token_at_33(token, context)
2595
+ def match_token_at_state33(token, context)
2596
2596
  if match_EOF(context, token)
2597
2597
  end_rule(context, :Description);
2598
2598
  end_rule(context, :Scenario);
@@ -2614,23 +2614,23 @@ module Gherkin
2614
2614
  return 35
2615
2615
  end
2616
2616
  if match_TagLine(context, token)
2617
- if lookahead_1(context, token)
2618
- end_rule(context, :Description);
2619
- start_rule(context, :ExamplesDefinition);
2620
- start_rule(context, :Tags);
2621
- build(context, token);
2622
- return 37
2617
+ if lookahead1(context, token)
2618
+ end_rule(context, :Description);
2619
+ start_rule(context, :ExamplesDefinition);
2620
+ start_rule(context, :Tags);
2621
+ build(context, token);
2622
+ return 37
2623
2623
  end
2624
2624
  end
2625
2625
  if match_TagLine(context, token)
2626
- if lookahead_0(context, token)
2627
- end_rule(context, :Description);
2628
- end_rule(context, :Scenario);
2629
- end_rule(context, :ScenarioDefinition);
2630
- start_rule(context, :ScenarioDefinition);
2631
- start_rule(context, :Tags);
2632
- build(context, token);
2633
- return 31
2626
+ if lookahead0(context, token)
2627
+ end_rule(context, :Description);
2628
+ end_rule(context, :Scenario);
2629
+ end_rule(context, :ScenarioDefinition);
2630
+ start_rule(context, :ScenarioDefinition);
2631
+ start_rule(context, :Tags);
2632
+ build(context, token);
2633
+ return 31
2634
2634
  end
2635
2635
  end
2636
2636
  if match_TagLine(context, token)
@@ -2684,7 +2684,7 @@ module Gherkin
2684
2684
  return 33
2685
2685
  end
2686
2686
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:0
2687
- def match_token_at_34(token, context)
2687
+ def match_token_at_state34(token, context)
2688
2688
  if match_EOF(context, token)
2689
2689
  end_rule(context, :Scenario);
2690
2690
  end_rule(context, :ScenarioDefinition);
@@ -2703,21 +2703,21 @@ module Gherkin
2703
2703
  return 35
2704
2704
  end
2705
2705
  if match_TagLine(context, token)
2706
- if lookahead_1(context, token)
2707
- start_rule(context, :ExamplesDefinition);
2708
- start_rule(context, :Tags);
2709
- build(context, token);
2710
- return 37
2706
+ if lookahead1(context, token)
2707
+ start_rule(context, :ExamplesDefinition);
2708
+ start_rule(context, :Tags);
2709
+ build(context, token);
2710
+ return 37
2711
2711
  end
2712
2712
  end
2713
2713
  if match_TagLine(context, token)
2714
- if lookahead_0(context, token)
2715
- end_rule(context, :Scenario);
2716
- end_rule(context, :ScenarioDefinition);
2717
- start_rule(context, :ScenarioDefinition);
2718
- start_rule(context, :Tags);
2719
- build(context, token);
2720
- return 31
2714
+ if lookahead0(context, token)
2715
+ end_rule(context, :Scenario);
2716
+ end_rule(context, :ScenarioDefinition);
2717
+ start_rule(context, :ScenarioDefinition);
2718
+ start_rule(context, :Tags);
2719
+ build(context, token);
2720
+ return 31
2721
2721
  end
2722
2722
  end
2723
2723
  if match_TagLine(context, token)
@@ -2767,7 +2767,7 @@ module Gherkin
2767
2767
  return 34
2768
2768
  end
2769
2769
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:0
2770
- def match_token_at_35(token, context)
2770
+ def match_token_at_state35(token, context)
2771
2771
  if match_EOF(context, token)
2772
2772
  end_rule(context, :Step);
2773
2773
  end_rule(context, :Scenario);
@@ -2794,23 +2794,23 @@ module Gherkin
2794
2794
  return 35
2795
2795
  end
2796
2796
  if match_TagLine(context, token)
2797
- if lookahead_1(context, token)
2798
- end_rule(context, :Step);
2799
- start_rule(context, :ExamplesDefinition);
2800
- start_rule(context, :Tags);
2801
- build(context, token);
2802
- return 37
2797
+ if lookahead1(context, token)
2798
+ end_rule(context, :Step);
2799
+ start_rule(context, :ExamplesDefinition);
2800
+ start_rule(context, :Tags);
2801
+ build(context, token);
2802
+ return 37
2803
2803
  end
2804
2804
  end
2805
2805
  if match_TagLine(context, token)
2806
- if lookahead_0(context, token)
2807
- end_rule(context, :Step);
2808
- end_rule(context, :Scenario);
2809
- end_rule(context, :ScenarioDefinition);
2810
- start_rule(context, :ScenarioDefinition);
2811
- start_rule(context, :Tags);
2812
- build(context, token);
2813
- return 31
2806
+ if lookahead0(context, token)
2807
+ end_rule(context, :Step);
2808
+ end_rule(context, :Scenario);
2809
+ end_rule(context, :ScenarioDefinition);
2810
+ start_rule(context, :ScenarioDefinition);
2811
+ start_rule(context, :Tags);
2812
+ build(context, token);
2813
+ return 31
2814
2814
  end
2815
2815
  end
2816
2816
  if match_TagLine(context, token)
@@ -2868,7 +2868,7 @@ module Gherkin
2868
2868
  return 35
2869
2869
  end
2870
2870
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0
2871
- def match_token_at_36(token, context)
2871
+ def match_token_at_state36(token, context)
2872
2872
  if match_EOF(context, token)
2873
2873
  end_rule(context, :DataTable);
2874
2874
  end_rule(context, :Step);
@@ -2891,25 +2891,25 @@ module Gherkin
2891
2891
  return 35
2892
2892
  end
2893
2893
  if match_TagLine(context, token)
2894
- if lookahead_1(context, token)
2895
- end_rule(context, :DataTable);
2896
- end_rule(context, :Step);
2897
- start_rule(context, :ExamplesDefinition);
2898
- start_rule(context, :Tags);
2899
- build(context, token);
2900
- return 37
2894
+ if lookahead1(context, token)
2895
+ end_rule(context, :DataTable);
2896
+ end_rule(context, :Step);
2897
+ start_rule(context, :ExamplesDefinition);
2898
+ start_rule(context, :Tags);
2899
+ build(context, token);
2900
+ return 37
2901
2901
  end
2902
2902
  end
2903
2903
  if match_TagLine(context, token)
2904
- if lookahead_0(context, token)
2905
- end_rule(context, :DataTable);
2906
- end_rule(context, :Step);
2907
- end_rule(context, :Scenario);
2908
- end_rule(context, :ScenarioDefinition);
2909
- start_rule(context, :ScenarioDefinition);
2910
- start_rule(context, :Tags);
2911
- build(context, token);
2912
- return 31
2904
+ if lookahead0(context, token)
2905
+ end_rule(context, :DataTable);
2906
+ end_rule(context, :Step);
2907
+ end_rule(context, :Scenario);
2908
+ end_rule(context, :ScenarioDefinition);
2909
+ start_rule(context, :ScenarioDefinition);
2910
+ start_rule(context, :Tags);
2911
+ build(context, token);
2912
+ return 31
2913
2913
  end
2914
2914
  end
2915
2915
  if match_TagLine(context, token)
@@ -2971,7 +2971,7 @@ module Gherkin
2971
2971
  return 36
2972
2972
  end
2973
2973
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:0
2974
- def match_token_at_37(token, context)
2974
+ def match_token_at_state37(token, context)
2975
2975
  if match_TagLine(context, token)
2976
2976
  build(context, token);
2977
2977
  return 37
@@ -3000,7 +3000,7 @@ module Gherkin
3000
3000
  return 37
3001
3001
  end
3002
3002
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:0
3003
- def match_token_at_38(token, context)
3003
+ def match_token_at_state38(token, context)
3004
3004
  if match_EOF(context, token)
3005
3005
  end_rule(context, :Examples);
3006
3006
  end_rule(context, :ExamplesDefinition);
@@ -3025,25 +3025,25 @@ module Gherkin
3025
3025
  return 41
3026
3026
  end
3027
3027
  if match_TagLine(context, token)
3028
- if lookahead_1(context, token)
3029
- end_rule(context, :Examples);
3030
- end_rule(context, :ExamplesDefinition);
3031
- start_rule(context, :ExamplesDefinition);
3032
- start_rule(context, :Tags);
3033
- build(context, token);
3034
- return 37
3028
+ if lookahead1(context, token)
3029
+ end_rule(context, :Examples);
3030
+ end_rule(context, :ExamplesDefinition);
3031
+ start_rule(context, :ExamplesDefinition);
3032
+ start_rule(context, :Tags);
3033
+ build(context, token);
3034
+ return 37
3035
3035
  end
3036
3036
  end
3037
3037
  if match_TagLine(context, token)
3038
- if lookahead_0(context, token)
3039
- end_rule(context, :Examples);
3040
- end_rule(context, :ExamplesDefinition);
3041
- end_rule(context, :Scenario);
3042
- end_rule(context, :ScenarioDefinition);
3043
- start_rule(context, :ScenarioDefinition);
3044
- start_rule(context, :Tags);
3045
- build(context, token);
3046
- return 31
3038
+ if lookahead0(context, token)
3039
+ end_rule(context, :Examples);
3040
+ end_rule(context, :ExamplesDefinition);
3041
+ end_rule(context, :Scenario);
3042
+ end_rule(context, :ScenarioDefinition);
3043
+ start_rule(context, :ScenarioDefinition);
3044
+ start_rule(context, :Tags);
3045
+ build(context, token);
3046
+ return 31
3047
3047
  end
3048
3048
  end
3049
3049
  if match_TagLine(context, token)
@@ -3102,7 +3102,7 @@ module Gherkin
3102
3102
  return 38
3103
3103
  end
3104
3104
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:0
3105
- def match_token_at_39(token, context)
3105
+ def match_token_at_state39(token, context)
3106
3106
  if match_EOF(context, token)
3107
3107
  end_rule(context, :Description);
3108
3108
  end_rule(context, :Examples);
@@ -3126,27 +3126,27 @@ module Gherkin
3126
3126
  return 41
3127
3127
  end
3128
3128
  if match_TagLine(context, token)
3129
- if lookahead_1(context, token)
3130
- end_rule(context, :Description);
3131
- end_rule(context, :Examples);
3132
- end_rule(context, :ExamplesDefinition);
3133
- start_rule(context, :ExamplesDefinition);
3134
- start_rule(context, :Tags);
3135
- build(context, token);
3136
- return 37
3129
+ if lookahead1(context, token)
3130
+ end_rule(context, :Description);
3131
+ end_rule(context, :Examples);
3132
+ end_rule(context, :ExamplesDefinition);
3133
+ start_rule(context, :ExamplesDefinition);
3134
+ start_rule(context, :Tags);
3135
+ build(context, token);
3136
+ return 37
3137
3137
  end
3138
3138
  end
3139
3139
  if match_TagLine(context, token)
3140
- if lookahead_0(context, token)
3141
- end_rule(context, :Description);
3142
- end_rule(context, :Examples);
3143
- end_rule(context, :ExamplesDefinition);
3144
- end_rule(context, :Scenario);
3145
- end_rule(context, :ScenarioDefinition);
3146
- start_rule(context, :ScenarioDefinition);
3147
- start_rule(context, :Tags);
3148
- build(context, token);
3149
- return 31
3140
+ if lookahead0(context, token)
3141
+ end_rule(context, :Description);
3142
+ end_rule(context, :Examples);
3143
+ end_rule(context, :ExamplesDefinition);
3144
+ end_rule(context, :Scenario);
3145
+ end_rule(context, :ScenarioDefinition);
3146
+ start_rule(context, :ScenarioDefinition);
3147
+ start_rule(context, :Tags);
3148
+ build(context, token);
3149
+ return 31
3150
3150
  end
3151
3151
  end
3152
3152
  if match_TagLine(context, token)
@@ -3208,7 +3208,7 @@ module Gherkin
3208
3208
  return 39
3209
3209
  end
3210
3210
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:2>#Comment:0
3211
- def match_token_at_40(token, context)
3211
+ def match_token_at_state40(token, context)
3212
3212
  if match_EOF(context, token)
3213
3213
  end_rule(context, :Examples);
3214
3214
  end_rule(context, :ExamplesDefinition);
@@ -3229,25 +3229,25 @@ module Gherkin
3229
3229
  return 41
3230
3230
  end
3231
3231
  if match_TagLine(context, token)
3232
- if lookahead_1(context, token)
3233
- end_rule(context, :Examples);
3234
- end_rule(context, :ExamplesDefinition);
3235
- start_rule(context, :ExamplesDefinition);
3236
- start_rule(context, :Tags);
3237
- build(context, token);
3238
- return 37
3232
+ if lookahead1(context, token)
3233
+ end_rule(context, :Examples);
3234
+ end_rule(context, :ExamplesDefinition);
3235
+ start_rule(context, :ExamplesDefinition);
3236
+ start_rule(context, :Tags);
3237
+ build(context, token);
3238
+ return 37
3239
3239
  end
3240
3240
  end
3241
3241
  if match_TagLine(context, token)
3242
- if lookahead_0(context, token)
3243
- end_rule(context, :Examples);
3244
- end_rule(context, :ExamplesDefinition);
3245
- end_rule(context, :Scenario);
3246
- end_rule(context, :ScenarioDefinition);
3247
- start_rule(context, :ScenarioDefinition);
3248
- start_rule(context, :Tags);
3249
- build(context, token);
3250
- return 31
3242
+ if lookahead0(context, token)
3243
+ end_rule(context, :Examples);
3244
+ end_rule(context, :ExamplesDefinition);
3245
+ end_rule(context, :Scenario);
3246
+ end_rule(context, :ScenarioDefinition);
3247
+ start_rule(context, :ScenarioDefinition);
3248
+ start_rule(context, :Tags);
3249
+ build(context, token);
3250
+ return 31
3251
3251
  end
3252
3252
  end
3253
3253
  if match_TagLine(context, token)
@@ -3305,7 +3305,7 @@ module Gherkin
3305
3305
  return 40
3306
3306
  end
3307
3307
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:2>ExamplesTable:0>#TableRow:0
3308
- def match_token_at_41(token, context)
3308
+ def match_token_at_state41(token, context)
3309
3309
  if match_EOF(context, token)
3310
3310
  end_rule(context, :ExamplesTable);
3311
3311
  end_rule(context, :Examples);
@@ -3322,27 +3322,27 @@ module Gherkin
3322
3322
  return 41
3323
3323
  end
3324
3324
  if match_TagLine(context, token)
3325
- if lookahead_1(context, token)
3326
- end_rule(context, :ExamplesTable);
3327
- end_rule(context, :Examples);
3328
- end_rule(context, :ExamplesDefinition);
3329
- start_rule(context, :ExamplesDefinition);
3330
- start_rule(context, :Tags);
3331
- build(context, token);
3332
- return 37
3325
+ if lookahead1(context, token)
3326
+ end_rule(context, :ExamplesTable);
3327
+ end_rule(context, :Examples);
3328
+ end_rule(context, :ExamplesDefinition);
3329
+ start_rule(context, :ExamplesDefinition);
3330
+ start_rule(context, :Tags);
3331
+ build(context, token);
3332
+ return 37
3333
3333
  end
3334
3334
  end
3335
3335
  if match_TagLine(context, token)
3336
- if lookahead_0(context, token)
3337
- end_rule(context, :ExamplesTable);
3338
- end_rule(context, :Examples);
3339
- end_rule(context, :ExamplesDefinition);
3340
- end_rule(context, :Scenario);
3341
- end_rule(context, :ScenarioDefinition);
3342
- start_rule(context, :ScenarioDefinition);
3343
- start_rule(context, :Tags);
3344
- build(context, token);
3345
- return 31
3336
+ if lookahead0(context, token)
3337
+ end_rule(context, :ExamplesTable);
3338
+ end_rule(context, :Examples);
3339
+ end_rule(context, :ExamplesDefinition);
3340
+ end_rule(context, :Scenario);
3341
+ end_rule(context, :ScenarioDefinition);
3342
+ start_rule(context, :ScenarioDefinition);
3343
+ start_rule(context, :Tags);
3344
+ build(context, token);
3345
+ return 31
3346
3346
  end
3347
3347
  end
3348
3348
  if match_TagLine(context, token)
@@ -3408,7 +3408,7 @@ module Gherkin
3408
3408
  return 41
3409
3409
  end
3410
3410
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:1>DocString:0>#DocStringSeparator:0
3411
- def match_token_at_43(token, context)
3411
+ def match_token_at_state43(token, context)
3412
3412
  if match_DocStringSeparator(context, token)
3413
3413
  build(context, token);
3414
3414
  return 44
@@ -3427,7 +3427,7 @@ module Gherkin
3427
3427
  return 43
3428
3428
  end
3429
3429
  # GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:1>DocString:2>#DocStringSeparator:0
3430
- def match_token_at_44(token, context)
3430
+ def match_token_at_state44(token, context)
3431
3431
  if match_EOF(context, token)
3432
3432
  end_rule(context, :DocString);
3433
3433
  end_rule(context, :Step);
@@ -3446,25 +3446,25 @@ module Gherkin
3446
3446
  return 35
3447
3447
  end
3448
3448
  if match_TagLine(context, token)
3449
- if lookahead_1(context, token)
3450
- end_rule(context, :DocString);
3451
- end_rule(context, :Step);
3452
- start_rule(context, :ExamplesDefinition);
3453
- start_rule(context, :Tags);
3454
- build(context, token);
3455
- return 37
3449
+ if lookahead1(context, token)
3450
+ end_rule(context, :DocString);
3451
+ end_rule(context, :Step);
3452
+ start_rule(context, :ExamplesDefinition);
3453
+ start_rule(context, :Tags);
3454
+ build(context, token);
3455
+ return 37
3456
3456
  end
3457
3457
  end
3458
3458
  if match_TagLine(context, token)
3459
- if lookahead_0(context, token)
3460
- end_rule(context, :DocString);
3461
- end_rule(context, :Step);
3462
- end_rule(context, :Scenario);
3463
- end_rule(context, :ScenarioDefinition);
3464
- start_rule(context, :ScenarioDefinition);
3465
- start_rule(context, :Tags);
3466
- build(context, token);
3467
- return 31
3459
+ if lookahead0(context, token)
3460
+ end_rule(context, :DocString);
3461
+ end_rule(context, :Step);
3462
+ end_rule(context, :Scenario);
3463
+ end_rule(context, :ScenarioDefinition);
3464
+ start_rule(context, :ScenarioDefinition);
3465
+ start_rule(context, :Tags);
3466
+ build(context, token);
3467
+ return 31
3468
3468
  end
3469
3469
  end
3470
3470
  if match_TagLine(context, token)
@@ -3526,7 +3526,7 @@ module Gherkin
3526
3526
  return 44
3527
3527
  end
3528
3528
  # GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:1>StepArg:0>__alt0:1>DocString:0>#DocStringSeparator:0
3529
- def match_token_at_45(token, context)
3529
+ def match_token_at_state45(token, context)
3530
3530
  if match_DocStringSeparator(context, token)
3531
3531
  build(context, token);
3532
3532
  return 46
@@ -3545,7 +3545,7 @@ module Gherkin
3545
3545
  return 45
3546
3546
  end
3547
3547
  # GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:1>StepArg:0>__alt0:1>DocString:2>#DocStringSeparator:0
3548
- def match_token_at_46(token, context)
3548
+ def match_token_at_state46(token, context)
3549
3549
  if match_EOF(context, token)
3550
3550
  end_rule(context, :DocString);
3551
3551
  end_rule(context, :Step);
@@ -3563,14 +3563,14 @@ module Gherkin
3563
3563
  return 29
3564
3564
  end
3565
3565
  if match_TagLine(context, token)
3566
- if lookahead_0(context, token)
3567
- end_rule(context, :DocString);
3568
- end_rule(context, :Step);
3569
- end_rule(context, :Background);
3570
- start_rule(context, :ScenarioDefinition);
3571
- start_rule(context, :Tags);
3572
- build(context, token);
3573
- return 31
3566
+ if lookahead0(context, token)
3567
+ end_rule(context, :DocString);
3568
+ end_rule(context, :Step);
3569
+ end_rule(context, :Background);
3570
+ start_rule(context, :ScenarioDefinition);
3571
+ start_rule(context, :Tags);
3572
+ build(context, token);
3573
+ return 31
3574
3574
  end
3575
3575
  end
3576
3576
  if match_TagLine(context, token)
@@ -3621,7 +3621,7 @@ module Gherkin
3621
3621
  return 46
3622
3622
  end
3623
3623
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:1>DocString:0>#DocStringSeparator:0
3624
- def match_token_at_47(token, context)
3624
+ def match_token_at_state47(token, context)
3625
3625
  if match_DocStringSeparator(context, token)
3626
3626
  build(context, token);
3627
3627
  return 48
@@ -3640,7 +3640,7 @@ module Gherkin
3640
3640
  return 47
3641
3641
  end
3642
3642
  # GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:1>DocString:2>#DocStringSeparator:0
3643
- def match_token_at_48(token, context)
3643
+ def match_token_at_state48(token, context)
3644
3644
  if match_EOF(context, token)
3645
3645
  end_rule(context, :DocString);
3646
3646
  end_rule(context, :Step);
@@ -3658,25 +3658,25 @@ module Gherkin
3658
3658
  return 15
3659
3659
  end
3660
3660
  if match_TagLine(context, token)
3661
- if lookahead_1(context, token)
3662
- end_rule(context, :DocString);
3663
- end_rule(context, :Step);
3664
- start_rule(context, :ExamplesDefinition);
3665
- start_rule(context, :Tags);
3666
- build(context, token);
3667
- return 17
3661
+ if lookahead1(context, token)
3662
+ end_rule(context, :DocString);
3663
+ end_rule(context, :Step);
3664
+ start_rule(context, :ExamplesDefinition);
3665
+ start_rule(context, :Tags);
3666
+ build(context, token);
3667
+ return 17
3668
3668
  end
3669
3669
  end
3670
3670
  if match_TagLine(context, token)
3671
- if lookahead_0(context, token)
3672
- end_rule(context, :DocString);
3673
- end_rule(context, :Step);
3674
- end_rule(context, :Scenario);
3675
- end_rule(context, :ScenarioDefinition);
3676
- start_rule(context, :ScenarioDefinition);
3677
- start_rule(context, :Tags);
3678
- build(context, token);
3679
- return 11
3671
+ if lookahead0(context, token)
3672
+ end_rule(context, :DocString);
3673
+ end_rule(context, :Step);
3674
+ end_rule(context, :Scenario);
3675
+ end_rule(context, :ScenarioDefinition);
3676
+ start_rule(context, :ScenarioDefinition);
3677
+ start_rule(context, :Tags);
3678
+ build(context, token);
3679
+ return 11
3680
3680
  end
3681
3681
  end
3682
3682
  if match_TagLine(context, token)
@@ -3736,7 +3736,7 @@ module Gherkin
3736
3736
  return 48
3737
3737
  end
3738
3738
  # GherkinDocument:0>Feature:1>Background:2>Step:1>StepArg:0>__alt0:1>DocString:0>#DocStringSeparator:0
3739
- def match_token_at_49(token, context)
3739
+ def match_token_at_state49(token, context)
3740
3740
  if match_DocStringSeparator(context, token)
3741
3741
  build(context, token);
3742
3742
  return 50
@@ -3755,7 +3755,7 @@ module Gherkin
3755
3755
  return 49
3756
3756
  end
3757
3757
  # GherkinDocument:0>Feature:1>Background:2>Step:1>StepArg:0>__alt0:1>DocString:2>#DocStringSeparator:0
3758
- def match_token_at_50(token, context)
3758
+ def match_token_at_state50(token, context)
3759
3759
  if match_EOF(context, token)
3760
3760
  end_rule(context, :DocString);
3761
3761
  end_rule(context, :Step);
@@ -3772,14 +3772,14 @@ module Gherkin
3772
3772
  return 9
3773
3773
  end
3774
3774
  if match_TagLine(context, token)
3775
- if lookahead_0(context, token)
3776
- end_rule(context, :DocString);
3777
- end_rule(context, :Step);
3778
- end_rule(context, :Background);
3779
- start_rule(context, :ScenarioDefinition);
3780
- start_rule(context, :Tags);
3781
- build(context, token);
3782
- return 11
3775
+ if lookahead0(context, token)
3776
+ end_rule(context, :DocString);
3777
+ end_rule(context, :Step);
3778
+ end_rule(context, :Background);
3779
+ start_rule(context, :ScenarioDefinition);
3780
+ start_rule(context, :Tags);
3781
+ build(context, token);
3782
+ return 11
3783
3783
  end
3784
3784
  end
3785
3785
  if match_TagLine(context, token)
@@ -3828,8 +3828,8 @@ module Gherkin
3828
3828
  return 50
3829
3829
  end
3830
3830
 
3831
- def lookahead_0(context, currentToken)
3832
- currentToken.detach
3831
+ def lookahead0(context, current_token)
3832
+ current_token.detach
3833
3833
  token = nil
3834
3834
  queue = []
3835
3835
  match = false
@@ -3850,9 +3850,9 @@ module Gherkin
3850
3850
 
3851
3851
  return match
3852
3852
  end
3853
-
3854
- def lookahead_1(context, currentToken)
3855
- currentToken.detach
3853
+
3854
+ def lookahead1(context, current_token)
3855
+ current_token.detach
3856
3856
  token = nil
3857
3857
  queue = []
3858
3858
  match = false
@@ -3873,7 +3873,7 @@ module Gherkin
3873
3873
 
3874
3874
  return match
3875
3875
  end
3876
-
3876
+
3877
3877
  private
3878
3878
 
3879
3879
  def handle_ast_error(context, &action)