How to use matchTokenAt_39 method in Cucumber-gherkin

Best JavaScript code snippet using cucumber-gherkin

parser.js

Source:parser.js Github

copy

Full Screen

...205      return matchTokenAt_37(token, context);206    case 38:207      return matchTokenAt_38(token, context);208    case 39:209      return matchTokenAt_39(token, context);210    case 40:211      return matchTokenAt_40(token, context);212    case 42:213      return matchTokenAt_42(token, context);214    case 43:215      return matchTokenAt_43(token, context);216    case 44:217      return matchTokenAt_44(token, context);218    case 45:219      return matchTokenAt_45(token, context);220    case 46:221      return matchTokenAt_46(token, context);222    case 47:223      return matchTokenAt_47(token, context);224    case 48:225      return matchTokenAt_48(token, context);226    case 49:227      return matchTokenAt_49(token, context);228    default:229      throw new Error("Unknown state: " + state);230    }231  }232  // Start233  function matchTokenAt_0(token, context) {234    if(match_EOF(context, token)) {235      build(context, token);236      return 41;237    }238    if(match_Language(context, token)) {239      startRule(context, 'Feature');240      startRule(context, 'FeatureHeader');241      build(context, token);242      return 1;243    }244    if(match_TagLine(context, token)) {245      startRule(context, 'Feature');246      startRule(context, 'FeatureHeader');247      startRule(context, 'Tags');248      build(context, token);249      return 2;250    }251    if(match_FeatureLine(context, token)) {252      startRule(context, 'Feature');253      startRule(context, 'FeatureHeader');254      build(context, token);255      return 3;256    }257    if(match_Comment(context, token)) {258      build(context, token);259      return 0;260    }261    if(match_Empty(context, token)) {262      build(context, token);263      return 0;264    }265    266    var stateComment = "State: 0 - Start";267    token.detach();268    var expectedTokens = ["#EOF", "#Language", "#TagLine", "#FeatureLine", "#Comment", "#Empty"];269    var error = token.isEof ?270      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :271      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);272    if (self.stopAtFirstError) throw error;273    addError(context, error);274    return 0;275  }276  // GherkinDocument:0>Feature:0>FeatureHeader:0>#Language:0277  function matchTokenAt_1(token, context) {278    if(match_TagLine(context, token)) {279      startRule(context, 'Tags');280      build(context, token);281      return 2;282    }283    if(match_FeatureLine(context, token)) {284      build(context, token);285      return 3;286    }287    if(match_Comment(context, token)) {288      build(context, token);289      return 1;290    }291    if(match_Empty(context, token)) {292      build(context, token);293      return 1;294    }295    296    var stateComment = "State: 1 - GherkinDocument:0>Feature:0>FeatureHeader:0>#Language:0";297    token.detach();298    var expectedTokens = ["#TagLine", "#FeatureLine", "#Comment", "#Empty"];299    var error = token.isEof ?300      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :301      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);302    if (self.stopAtFirstError) throw error;303    addError(context, error);304    return 1;305  }306  // GherkinDocument:0>Feature:0>FeatureHeader:1>Tags:0>#TagLine:0307  function matchTokenAt_2(token, context) {308    if(match_TagLine(context, token)) {309      build(context, token);310      return 2;311    }312    if(match_FeatureLine(context, token)) {313      endRule(context, 'Tags');314      build(context, token);315      return 3;316    }317    if(match_Comment(context, token)) {318      build(context, token);319      return 2;320    }321    if(match_Empty(context, token)) {322      build(context, token);323      return 2;324    }325    326    var stateComment = "State: 2 - GherkinDocument:0>Feature:0>FeatureHeader:1>Tags:0>#TagLine:0";327    token.detach();328    var expectedTokens = ["#TagLine", "#FeatureLine", "#Comment", "#Empty"];329    var error = token.isEof ?330      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :331      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);332    if (self.stopAtFirstError) throw error;333    addError(context, error);334    return 2;335  }336  // GherkinDocument:0>Feature:0>FeatureHeader:2>#FeatureLine:0337  function matchTokenAt_3(token, context) {338    if(match_EOF(context, token)) {339      endRule(context, 'FeatureHeader');340      endRule(context, 'Feature');341      build(context, token);342      return 41;343    }344    if(match_Empty(context, token)) {345      build(context, token);346      return 3;347    }348    if(match_Comment(context, token)) {349      build(context, token);350      return 5;351    }352    if(match_BackgroundLine(context, token)) {353      endRule(context, 'FeatureHeader');354      startRule(context, 'Background');355      build(context, token);356      return 6;357    }358    if(match_TagLine(context, token)) {359      endRule(context, 'FeatureHeader');360      startRule(context, 'ScenarioDefinition');361      startRule(context, 'Tags');362      build(context, token);363      return 11;364    }365    if(match_ScenarioLine(context, token)) {366      endRule(context, 'FeatureHeader');367      startRule(context, 'ScenarioDefinition');368      startRule(context, 'Scenario');369      build(context, token);370      return 12;371    }372    if(match_RuleLine(context, token)) {373      endRule(context, 'FeatureHeader');374      startRule(context, 'Rule');375      startRule(context, 'RuleHeader');376      build(context, token);377      return 22;378    }379    if(match_Other(context, token)) {380      startRule(context, 'Description');381      build(context, token);382      return 4;383    }384    385    var stateComment = "State: 3 - GherkinDocument:0>Feature:0>FeatureHeader:2>#FeatureLine:0";386    token.detach();387    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];388    var error = token.isEof ?389      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :390      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);391    if (self.stopAtFirstError) throw error;392    addError(context, error);393    return 3;394  }395  // GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:1>Description:0>#Other:0396  function matchTokenAt_4(token, context) {397    if(match_EOF(context, token)) {398      endRule(context, 'Description');399      endRule(context, 'FeatureHeader');400      endRule(context, 'Feature');401      build(context, token);402      return 41;403    }404    if(match_Comment(context, token)) {405      endRule(context, 'Description');406      build(context, token);407      return 5;408    }409    if(match_BackgroundLine(context, token)) {410      endRule(context, 'Description');411      endRule(context, 'FeatureHeader');412      startRule(context, 'Background');413      build(context, token);414      return 6;415    }416    if(match_TagLine(context, token)) {417      endRule(context, 'Description');418      endRule(context, 'FeatureHeader');419      startRule(context, 'ScenarioDefinition');420      startRule(context, 'Tags');421      build(context, token);422      return 11;423    }424    if(match_ScenarioLine(context, token)) {425      endRule(context, 'Description');426      endRule(context, 'FeatureHeader');427      startRule(context, 'ScenarioDefinition');428      startRule(context, 'Scenario');429      build(context, token);430      return 12;431    }432    if(match_RuleLine(context, token)) {433      endRule(context, 'Description');434      endRule(context, 'FeatureHeader');435      startRule(context, 'Rule');436      startRule(context, 'RuleHeader');437      build(context, token);438      return 22;439    }440    if(match_Other(context, token)) {441      build(context, token);442      return 4;443    }444    445    var stateComment = "State: 4 - GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:1>Description:0>#Other:0";446    token.detach();447    var expectedTokens = ["#EOF", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];448    var error = token.isEof ?449      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :450      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);451    if (self.stopAtFirstError) throw error;452    addError(context, error);453    return 4;454  }455  // GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:2>#Comment:0456  function matchTokenAt_5(token, context) {457    if(match_EOF(context, token)) {458      endRule(context, 'FeatureHeader');459      endRule(context, 'Feature');460      build(context, token);461      return 41;462    }463    if(match_Comment(context, token)) {464      build(context, token);465      return 5;466    }467    if(match_BackgroundLine(context, token)) {468      endRule(context, 'FeatureHeader');469      startRule(context, 'Background');470      build(context, token);471      return 6;472    }473    if(match_TagLine(context, token)) {474      endRule(context, 'FeatureHeader');475      startRule(context, 'ScenarioDefinition');476      startRule(context, 'Tags');477      build(context, token);478      return 11;479    }480    if(match_ScenarioLine(context, token)) {481      endRule(context, 'FeatureHeader');482      startRule(context, 'ScenarioDefinition');483      startRule(context, 'Scenario');484      build(context, token);485      return 12;486    }487    if(match_RuleLine(context, token)) {488      endRule(context, 'FeatureHeader');489      startRule(context, 'Rule');490      startRule(context, 'RuleHeader');491      build(context, token);492      return 22;493    }494    if(match_Empty(context, token)) {495      build(context, token);496      return 5;497    }498    499    var stateComment = "State: 5 - GherkinDocument:0>Feature:0>FeatureHeader:3>DescriptionHelper:2>#Comment:0";500    token.detach();501    var expectedTokens = ["#EOF", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Empty"];502    var error = token.isEof ?503      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :504      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);505    if (self.stopAtFirstError) throw error;506    addError(context, error);507    return 5;508  }509  // GherkinDocument:0>Feature:1>Background:0>#BackgroundLine:0510  function matchTokenAt_6(token, context) {511    if(match_EOF(context, token)) {512      endRule(context, 'Background');513      endRule(context, 'Feature');514      build(context, token);515      return 41;516    }517    if(match_Empty(context, token)) {518      build(context, token);519      return 6;520    }521    if(match_Comment(context, token)) {522      build(context, token);523      return 8;524    }525    if(match_StepLine(context, token)) {526      startRule(context, 'Step');527      build(context, token);528      return 9;529    }530    if(match_TagLine(context, token)) {531      endRule(context, 'Background');532      startRule(context, 'ScenarioDefinition');533      startRule(context, 'Tags');534      build(context, token);535      return 11;536    }537    if(match_ScenarioLine(context, token)) {538      endRule(context, 'Background');539      startRule(context, 'ScenarioDefinition');540      startRule(context, 'Scenario');541      build(context, token);542      return 12;543    }544    if(match_RuleLine(context, token)) {545      endRule(context, 'Background');546      startRule(context, 'Rule');547      startRule(context, 'RuleHeader');548      build(context, token);549      return 22;550    }551    if(match_Other(context, token)) {552      startRule(context, 'Description');553      build(context, token);554      return 7;555    }556    557    var stateComment = "State: 6 - GherkinDocument:0>Feature:1>Background:0>#BackgroundLine:0";558    token.detach();559    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];560    var error = token.isEof ?561      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :562      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);563    if (self.stopAtFirstError) throw error;564    addError(context, error);565    return 6;566  }567  // GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:1>Description:0>#Other:0568  function matchTokenAt_7(token, context) {569    if(match_EOF(context, token)) {570      endRule(context, 'Description');571      endRule(context, 'Background');572      endRule(context, 'Feature');573      build(context, token);574      return 41;575    }576    if(match_Comment(context, token)) {577      endRule(context, 'Description');578      build(context, token);579      return 8;580    }581    if(match_StepLine(context, token)) {582      endRule(context, 'Description');583      startRule(context, 'Step');584      build(context, token);585      return 9;586    }587    if(match_TagLine(context, token)) {588      endRule(context, 'Description');589      endRule(context, 'Background');590      startRule(context, 'ScenarioDefinition');591      startRule(context, 'Tags');592      build(context, token);593      return 11;594    }595    if(match_ScenarioLine(context, token)) {596      endRule(context, 'Description');597      endRule(context, 'Background');598      startRule(context, 'ScenarioDefinition');599      startRule(context, 'Scenario');600      build(context, token);601      return 12;602    }603    if(match_RuleLine(context, token)) {604      endRule(context, 'Description');605      endRule(context, 'Background');606      startRule(context, 'Rule');607      startRule(context, 'RuleHeader');608      build(context, token);609      return 22;610    }611    if(match_Other(context, token)) {612      build(context, token);613      return 7;614    }615    616    var stateComment = "State: 7 - GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:1>Description:0>#Other:0";617    token.detach();618    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];619    var error = token.isEof ?620      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :621      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);622    if (self.stopAtFirstError) throw error;623    addError(context, error);624    return 7;625  }626  // GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:2>#Comment:0627  function matchTokenAt_8(token, context) {628    if(match_EOF(context, token)) {629      endRule(context, 'Background');630      endRule(context, 'Feature');631      build(context, token);632      return 41;633    }634    if(match_Comment(context, token)) {635      build(context, token);636      return 8;637    }638    if(match_StepLine(context, token)) {639      startRule(context, 'Step');640      build(context, token);641      return 9;642    }643    if(match_TagLine(context, token)) {644      endRule(context, 'Background');645      startRule(context, 'ScenarioDefinition');646      startRule(context, 'Tags');647      build(context, token);648      return 11;649    }650    if(match_ScenarioLine(context, token)) {651      endRule(context, 'Background');652      startRule(context, 'ScenarioDefinition');653      startRule(context, 'Scenario');654      build(context, token);655      return 12;656    }657    if(match_RuleLine(context, token)) {658      endRule(context, 'Background');659      startRule(context, 'Rule');660      startRule(context, 'RuleHeader');661      build(context, token);662      return 22;663    }664    if(match_Empty(context, token)) {665      build(context, token);666      return 8;667    }668    669    var stateComment = "State: 8 - GherkinDocument:0>Feature:1>Background:1>DescriptionHelper:2>#Comment:0";670    token.detach();671    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Empty"];672    var error = token.isEof ?673      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :674      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);675    if (self.stopAtFirstError) throw error;676    addError(context, error);677    return 8;678  }679  // GherkinDocument:0>Feature:1>Background:2>Step:0>#StepLine:0680  function matchTokenAt_9(token, context) {681    if(match_EOF(context, token)) {682      endRule(context, 'Step');683      endRule(context, 'Background');684      endRule(context, 'Feature');685      build(context, token);686      return 41;687    }688    if(match_TableRow(context, token)) {689      startRule(context, 'DataTable');690      build(context, token);691      return 10;692    }693    if(match_DocStringSeparator(context, token)) {694      startRule(context, 'DocString');695      build(context, token);696      return 48;697    }698    if(match_StepLine(context, token)) {699      endRule(context, 'Step');700      startRule(context, 'Step');701      build(context, token);702      return 9;703    }704    if(match_TagLine(context, token)) {705      endRule(context, 'Step');706      endRule(context, 'Background');707      startRule(context, 'ScenarioDefinition');708      startRule(context, 'Tags');709      build(context, token);710      return 11;711    }712    if(match_ScenarioLine(context, token)) {713      endRule(context, 'Step');714      endRule(context, 'Background');715      startRule(context, 'ScenarioDefinition');716      startRule(context, 'Scenario');717      build(context, token);718      return 12;719    }720    if(match_RuleLine(context, token)) {721      endRule(context, 'Step');722      endRule(context, 'Background');723      startRule(context, 'Rule');724      startRule(context, 'RuleHeader');725      build(context, token);726      return 22;727    }728    if(match_Comment(context, token)) {729      build(context, token);730      return 9;731    }732    if(match_Empty(context, token)) {733      build(context, token);734      return 9;735    }736    737    var stateComment = "State: 9 - GherkinDocument:0>Feature:1>Background:2>Step:0>#StepLine:0";738    token.detach();739    var expectedTokens = ["#EOF", "#TableRow", "#DocStringSeparator", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];740    var error = token.isEof ?741      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :742      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);743    if (self.stopAtFirstError) throw error;744    addError(context, error);745    return 9;746  }747  // GherkinDocument:0>Feature:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0748  function matchTokenAt_10(token, context) {749    if(match_EOF(context, token)) {750      endRule(context, 'DataTable');751      endRule(context, 'Step');752      endRule(context, 'Background');753      endRule(context, 'Feature');754      build(context, token);755      return 41;756    }757    if(match_TableRow(context, token)) {758      build(context, token);759      return 10;760    }761    if(match_StepLine(context, token)) {762      endRule(context, 'DataTable');763      endRule(context, 'Step');764      startRule(context, 'Step');765      build(context, token);766      return 9;767    }768    if(match_TagLine(context, token)) {769      endRule(context, 'DataTable');770      endRule(context, 'Step');771      endRule(context, 'Background');772      startRule(context, 'ScenarioDefinition');773      startRule(context, 'Tags');774      build(context, token);775      return 11;776    }777    if(match_ScenarioLine(context, token)) {778      endRule(context, 'DataTable');779      endRule(context, 'Step');780      endRule(context, 'Background');781      startRule(context, 'ScenarioDefinition');782      startRule(context, 'Scenario');783      build(context, token);784      return 12;785    }786    if(match_RuleLine(context, token)) {787      endRule(context, 'DataTable');788      endRule(context, 'Step');789      endRule(context, 'Background');790      startRule(context, 'Rule');791      startRule(context, 'RuleHeader');792      build(context, token);793      return 22;794    }795    if(match_Comment(context, token)) {796      build(context, token);797      return 10;798    }799    if(match_Empty(context, token)) {800      build(context, token);801      return 10;802    }803    804    var stateComment = "State: 10 - GherkinDocument:0>Feature:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0";805    token.detach();806    var expectedTokens = ["#EOF", "#TableRow", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];807    var error = token.isEof ?808      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :809      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);810    if (self.stopAtFirstError) throw error;811    addError(context, error);812    return 10;813  }814  // GherkinDocument:0>Feature:2>ScenarioDefinition:0>Tags:0>#TagLine:0815  function matchTokenAt_11(token, context) {816    if(match_TagLine(context, token)) {817      build(context, token);818      return 11;819    }820    if(match_ScenarioLine(context, token)) {821      endRule(context, 'Tags');822      startRule(context, 'Scenario');823      build(context, token);824      return 12;825    }826    if(match_Comment(context, token)) {827      build(context, token);828      return 11;829    }830    if(match_Empty(context, token)) {831      build(context, token);832      return 11;833    }834    835    var stateComment = "State: 11 - GherkinDocument:0>Feature:2>ScenarioDefinition:0>Tags:0>#TagLine:0";836    token.detach();837    var expectedTokens = ["#TagLine", "#ScenarioLine", "#Comment", "#Empty"];838    var error = token.isEof ?839      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :840      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);841    if (self.stopAtFirstError) throw error;842    addError(context, error);843    return 11;844  }845  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:0846  function matchTokenAt_12(token, context) {847    if(match_EOF(context, token)) {848      endRule(context, 'Scenario');849      endRule(context, 'ScenarioDefinition');850      endRule(context, 'Feature');851      build(context, token);852      return 41;853    }854    if(match_Empty(context, token)) {855      build(context, token);856      return 12;857    }858    if(match_Comment(context, token)) {859      build(context, token);860      return 14;861    }862    if(match_StepLine(context, token)) {863      startRule(context, 'Step');864      build(context, token);865      return 15;866    }867    if(match_TagLine(context, token)) {868      if(lookahead_0(context, token)) {869      startRule(context, 'ExamplesDefinition');870      startRule(context, 'Tags');871      build(context, token);872      return 17;873      }874    }875    if(match_TagLine(context, token)) {876      endRule(context, 'Scenario');877      endRule(context, 'ScenarioDefinition');878      startRule(context, 'ScenarioDefinition');879      startRule(context, 'Tags');880      build(context, token);881      return 11;882    }883    if(match_ExamplesLine(context, token)) {884      startRule(context, 'ExamplesDefinition');885      startRule(context, 'Examples');886      build(context, token);887      return 18;888    }889    if(match_ScenarioLine(context, token)) {890      endRule(context, 'Scenario');891      endRule(context, 'ScenarioDefinition');892      startRule(context, 'ScenarioDefinition');893      startRule(context, 'Scenario');894      build(context, token);895      return 12;896    }897    if(match_RuleLine(context, token)) {898      endRule(context, 'Scenario');899      endRule(context, 'ScenarioDefinition');900      startRule(context, 'Rule');901      startRule(context, 'RuleHeader');902      build(context, token);903      return 22;904    }905    if(match_Other(context, token)) {906      startRule(context, 'Description');907      build(context, token);908      return 13;909    }910    911    var stateComment = "State: 12 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:0";912    token.detach();913    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];914    var error = token.isEof ?915      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :916      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);917    if (self.stopAtFirstError) throw error;918    addError(context, error);919    return 12;920  }921  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:0922  function matchTokenAt_13(token, context) {923    if(match_EOF(context, token)) {924      endRule(context, 'Description');925      endRule(context, 'Scenario');926      endRule(context, 'ScenarioDefinition');927      endRule(context, 'Feature');928      build(context, token);929      return 41;930    }931    if(match_Comment(context, token)) {932      endRule(context, 'Description');933      build(context, token);934      return 14;935    }936    if(match_StepLine(context, token)) {937      endRule(context, 'Description');938      startRule(context, 'Step');939      build(context, token);940      return 15;941    }942    if(match_TagLine(context, token)) {943      if(lookahead_0(context, token)) {944      endRule(context, 'Description');945      startRule(context, 'ExamplesDefinition');946      startRule(context, 'Tags');947      build(context, token);948      return 17;949      }950    }951    if(match_TagLine(context, token)) {952      endRule(context, 'Description');953      endRule(context, 'Scenario');954      endRule(context, 'ScenarioDefinition');955      startRule(context, 'ScenarioDefinition');956      startRule(context, 'Tags');957      build(context, token);958      return 11;959    }960    if(match_ExamplesLine(context, token)) {961      endRule(context, 'Description');962      startRule(context, 'ExamplesDefinition');963      startRule(context, 'Examples');964      build(context, token);965      return 18;966    }967    if(match_ScenarioLine(context, token)) {968      endRule(context, 'Description');969      endRule(context, 'Scenario');970      endRule(context, 'ScenarioDefinition');971      startRule(context, 'ScenarioDefinition');972      startRule(context, 'Scenario');973      build(context, token);974      return 12;975    }976    if(match_RuleLine(context, token)) {977      endRule(context, 'Description');978      endRule(context, 'Scenario');979      endRule(context, 'ScenarioDefinition');980      startRule(context, 'Rule');981      startRule(context, 'RuleHeader');982      build(context, token);983      return 22;984    }985    if(match_Other(context, token)) {986      build(context, token);987      return 13;988    }989    990    var stateComment = "State: 13 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:0";991    token.detach();992    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];993    var error = token.isEof ?994      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :995      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);996    if (self.stopAtFirstError) throw error;997    addError(context, error);998    return 13;999  }1000  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:01001  function matchTokenAt_14(token, context) {1002    if(match_EOF(context, token)) {1003      endRule(context, 'Scenario');1004      endRule(context, 'ScenarioDefinition');1005      endRule(context, 'Feature');1006      build(context, token);1007      return 41;1008    }1009    if(match_Comment(context, token)) {1010      build(context, token);1011      return 14;1012    }1013    if(match_StepLine(context, token)) {1014      startRule(context, 'Step');1015      build(context, token);1016      return 15;1017    }1018    if(match_TagLine(context, token)) {1019      if(lookahead_0(context, token)) {1020      startRule(context, 'ExamplesDefinition');1021      startRule(context, 'Tags');1022      build(context, token);1023      return 17;1024      }1025    }1026    if(match_TagLine(context, token)) {1027      endRule(context, 'Scenario');1028      endRule(context, 'ScenarioDefinition');1029      startRule(context, 'ScenarioDefinition');1030      startRule(context, 'Tags');1031      build(context, token);1032      return 11;1033    }1034    if(match_ExamplesLine(context, token)) {1035      startRule(context, 'ExamplesDefinition');1036      startRule(context, 'Examples');1037      build(context, token);1038      return 18;1039    }1040    if(match_ScenarioLine(context, token)) {1041      endRule(context, 'Scenario');1042      endRule(context, 'ScenarioDefinition');1043      startRule(context, 'ScenarioDefinition');1044      startRule(context, 'Scenario');1045      build(context, token);1046      return 12;1047    }1048    if(match_RuleLine(context, token)) {1049      endRule(context, 'Scenario');1050      endRule(context, 'ScenarioDefinition');1051      startRule(context, 'Rule');1052      startRule(context, 'RuleHeader');1053      build(context, token);1054      return 22;1055    }1056    if(match_Empty(context, token)) {1057      build(context, token);1058      return 14;1059    }1060    1061    var stateComment = "State: 14 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:0";1062    token.detach();1063    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Empty"];1064    var error = token.isEof ?1065      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1066      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1067    if (self.stopAtFirstError) throw error;1068    addError(context, error);1069    return 14;1070  }1071  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:01072  function matchTokenAt_15(token, context) {1073    if(match_EOF(context, token)) {1074      endRule(context, 'Step');1075      endRule(context, 'Scenario');1076      endRule(context, 'ScenarioDefinition');1077      endRule(context, 'Feature');1078      build(context, token);1079      return 41;1080    }1081    if(match_TableRow(context, token)) {1082      startRule(context, 'DataTable');1083      build(context, token);1084      return 16;1085    }1086    if(match_DocStringSeparator(context, token)) {1087      startRule(context, 'DocString');1088      build(context, token);1089      return 46;1090    }1091    if(match_StepLine(context, token)) {1092      endRule(context, 'Step');1093      startRule(context, 'Step');1094      build(context, token);1095      return 15;1096    }1097    if(match_TagLine(context, token)) {1098      if(lookahead_0(context, token)) {1099      endRule(context, 'Step');1100      startRule(context, 'ExamplesDefinition');1101      startRule(context, 'Tags');1102      build(context, token);1103      return 17;1104      }1105    }1106    if(match_TagLine(context, token)) {1107      endRule(context, 'Step');1108      endRule(context, 'Scenario');1109      endRule(context, 'ScenarioDefinition');1110      startRule(context, 'ScenarioDefinition');1111      startRule(context, 'Tags');1112      build(context, token);1113      return 11;1114    }1115    if(match_ExamplesLine(context, token)) {1116      endRule(context, 'Step');1117      startRule(context, 'ExamplesDefinition');1118      startRule(context, 'Examples');1119      build(context, token);1120      return 18;1121    }1122    if(match_ScenarioLine(context, token)) {1123      endRule(context, 'Step');1124      endRule(context, 'Scenario');1125      endRule(context, 'ScenarioDefinition');1126      startRule(context, 'ScenarioDefinition');1127      startRule(context, 'Scenario');1128      build(context, token);1129      return 12;1130    }1131    if(match_RuleLine(context, token)) {1132      endRule(context, 'Step');1133      endRule(context, 'Scenario');1134      endRule(context, 'ScenarioDefinition');1135      startRule(context, 'Rule');1136      startRule(context, 'RuleHeader');1137      build(context, token);1138      return 22;1139    }1140    if(match_Comment(context, token)) {1141      build(context, token);1142      return 15;1143    }1144    if(match_Empty(context, token)) {1145      build(context, token);1146      return 15;1147    }1148    1149    var stateComment = "State: 15 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:0";1150    token.detach();1151    var expectedTokens = ["#EOF", "#TableRow", "#DocStringSeparator", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];1152    var error = token.isEof ?1153      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1154      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1155    if (self.stopAtFirstError) throw error;1156    addError(context, error);1157    return 15;1158  }1159  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:01160  function matchTokenAt_16(token, context) {1161    if(match_EOF(context, token)) {1162      endRule(context, 'DataTable');1163      endRule(context, 'Step');1164      endRule(context, 'Scenario');1165      endRule(context, 'ScenarioDefinition');1166      endRule(context, 'Feature');1167      build(context, token);1168      return 41;1169    }1170    if(match_TableRow(context, token)) {1171      build(context, token);1172      return 16;1173    }1174    if(match_StepLine(context, token)) {1175      endRule(context, 'DataTable');1176      endRule(context, 'Step');1177      startRule(context, 'Step');1178      build(context, token);1179      return 15;1180    }1181    if(match_TagLine(context, token)) {1182      if(lookahead_0(context, token)) {1183      endRule(context, 'DataTable');1184      endRule(context, 'Step');1185      startRule(context, 'ExamplesDefinition');1186      startRule(context, 'Tags');1187      build(context, token);1188      return 17;1189      }1190    }1191    if(match_TagLine(context, token)) {1192      endRule(context, 'DataTable');1193      endRule(context, 'Step');1194      endRule(context, 'Scenario');1195      endRule(context, 'ScenarioDefinition');1196      startRule(context, 'ScenarioDefinition');1197      startRule(context, 'Tags');1198      build(context, token);1199      return 11;1200    }1201    if(match_ExamplesLine(context, token)) {1202      endRule(context, 'DataTable');1203      endRule(context, 'Step');1204      startRule(context, 'ExamplesDefinition');1205      startRule(context, 'Examples');1206      build(context, token);1207      return 18;1208    }1209    if(match_ScenarioLine(context, token)) {1210      endRule(context, 'DataTable');1211      endRule(context, 'Step');1212      endRule(context, 'Scenario');1213      endRule(context, 'ScenarioDefinition');1214      startRule(context, 'ScenarioDefinition');1215      startRule(context, 'Scenario');1216      build(context, token);1217      return 12;1218    }1219    if(match_RuleLine(context, token)) {1220      endRule(context, 'DataTable');1221      endRule(context, 'Step');1222      endRule(context, 'Scenario');1223      endRule(context, 'ScenarioDefinition');1224      startRule(context, 'Rule');1225      startRule(context, 'RuleHeader');1226      build(context, token);1227      return 22;1228    }1229    if(match_Comment(context, token)) {1230      build(context, token);1231      return 16;1232    }1233    if(match_Empty(context, token)) {1234      build(context, token);1235      return 16;1236    }1237    1238    var stateComment = "State: 16 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0";1239    token.detach();1240    var expectedTokens = ["#EOF", "#TableRow", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];1241    var error = token.isEof ?1242      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1243      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1244    if (self.stopAtFirstError) throw error;1245    addError(context, error);1246    return 16;1247  }1248  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:01249  function matchTokenAt_17(token, context) {1250    if(match_TagLine(context, token)) {1251      build(context, token);1252      return 17;1253    }1254    if(match_ExamplesLine(context, token)) {1255      endRule(context, 'Tags');1256      startRule(context, 'Examples');1257      build(context, token);1258      return 18;1259    }1260    if(match_Comment(context, token)) {1261      build(context, token);1262      return 17;1263    }1264    if(match_Empty(context, token)) {1265      build(context, token);1266      return 17;1267    }1268    1269    var stateComment = "State: 17 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:0";1270    token.detach();1271    var expectedTokens = ["#TagLine", "#ExamplesLine", "#Comment", "#Empty"];1272    var error = token.isEof ?1273      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1274      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1275    if (self.stopAtFirstError) throw error;1276    addError(context, error);1277    return 17;1278  }1279  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:01280  function matchTokenAt_18(token, context) {1281    if(match_EOF(context, token)) {1282      endRule(context, 'Examples');1283      endRule(context, 'ExamplesDefinition');1284      endRule(context, 'Scenario');1285      endRule(context, 'ScenarioDefinition');1286      endRule(context, 'Feature');1287      build(context, token);1288      return 41;1289    }1290    if(match_Empty(context, token)) {1291      build(context, token);1292      return 18;1293    }1294    if(match_Comment(context, token)) {1295      build(context, token);1296      return 20;1297    }1298    if(match_TableRow(context, token)) {1299      startRule(context, 'ExamplesTable');1300      build(context, token);1301      return 21;1302    }1303    if(match_TagLine(context, token)) {1304      if(lookahead_0(context, token)) {1305      endRule(context, 'Examples');1306      endRule(context, 'ExamplesDefinition');1307      startRule(context, 'ExamplesDefinition');1308      startRule(context, 'Tags');1309      build(context, token);1310      return 17;1311      }1312    }1313    if(match_TagLine(context, token)) {1314      endRule(context, 'Examples');1315      endRule(context, 'ExamplesDefinition');1316      endRule(context, 'Scenario');1317      endRule(context, 'ScenarioDefinition');1318      startRule(context, 'ScenarioDefinition');1319      startRule(context, 'Tags');1320      build(context, token);1321      return 11;1322    }1323    if(match_ExamplesLine(context, token)) {1324      endRule(context, 'Examples');1325      endRule(context, 'ExamplesDefinition');1326      startRule(context, 'ExamplesDefinition');1327      startRule(context, 'Examples');1328      build(context, token);1329      return 18;1330    }1331    if(match_ScenarioLine(context, token)) {1332      endRule(context, 'Examples');1333      endRule(context, 'ExamplesDefinition');1334      endRule(context, 'Scenario');1335      endRule(context, 'ScenarioDefinition');1336      startRule(context, 'ScenarioDefinition');1337      startRule(context, 'Scenario');1338      build(context, token);1339      return 12;1340    }1341    if(match_RuleLine(context, token)) {1342      endRule(context, 'Examples');1343      endRule(context, 'ExamplesDefinition');1344      endRule(context, 'Scenario');1345      endRule(context, 'ScenarioDefinition');1346      startRule(context, 'Rule');1347      startRule(context, 'RuleHeader');1348      build(context, token);1349      return 22;1350    }1351    if(match_Other(context, token)) {1352      startRule(context, 'Description');1353      build(context, token);1354      return 19;1355    }1356    1357    var stateComment = "State: 18 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:0";1358    token.detach();1359    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];1360    var error = token.isEof ?1361      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1362      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1363    if (self.stopAtFirstError) throw error;1364    addError(context, error);1365    return 18;1366  }1367  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:01368  function matchTokenAt_19(token, context) {1369    if(match_EOF(context, token)) {1370      endRule(context, 'Description');1371      endRule(context, 'Examples');1372      endRule(context, 'ExamplesDefinition');1373      endRule(context, 'Scenario');1374      endRule(context, 'ScenarioDefinition');1375      endRule(context, 'Feature');1376      build(context, token);1377      return 41;1378    }1379    if(match_Comment(context, token)) {1380      endRule(context, 'Description');1381      build(context, token);1382      return 20;1383    }1384    if(match_TableRow(context, token)) {1385      endRule(context, 'Description');1386      startRule(context, 'ExamplesTable');1387      build(context, token);1388      return 21;1389    }1390    if(match_TagLine(context, token)) {1391      if(lookahead_0(context, token)) {1392      endRule(context, 'Description');1393      endRule(context, 'Examples');1394      endRule(context, 'ExamplesDefinition');1395      startRule(context, 'ExamplesDefinition');1396      startRule(context, 'Tags');1397      build(context, token);1398      return 17;1399      }1400    }1401    if(match_TagLine(context, token)) {1402      endRule(context, 'Description');1403      endRule(context, 'Examples');1404      endRule(context, 'ExamplesDefinition');1405      endRule(context, 'Scenario');1406      endRule(context, 'ScenarioDefinition');1407      startRule(context, 'ScenarioDefinition');1408      startRule(context, 'Tags');1409      build(context, token);1410      return 11;1411    }1412    if(match_ExamplesLine(context, token)) {1413      endRule(context, 'Description');1414      endRule(context, 'Examples');1415      endRule(context, 'ExamplesDefinition');1416      startRule(context, 'ExamplesDefinition');1417      startRule(context, 'Examples');1418      build(context, token);1419      return 18;1420    }1421    if(match_ScenarioLine(context, token)) {1422      endRule(context, 'Description');1423      endRule(context, 'Examples');1424      endRule(context, 'ExamplesDefinition');1425      endRule(context, 'Scenario');1426      endRule(context, 'ScenarioDefinition');1427      startRule(context, 'ScenarioDefinition');1428      startRule(context, 'Scenario');1429      build(context, token);1430      return 12;1431    }1432    if(match_RuleLine(context, token)) {1433      endRule(context, 'Description');1434      endRule(context, 'Examples');1435      endRule(context, 'ExamplesDefinition');1436      endRule(context, 'Scenario');1437      endRule(context, 'ScenarioDefinition');1438      startRule(context, 'Rule');1439      startRule(context, 'RuleHeader');1440      build(context, token);1441      return 22;1442    }1443    if(match_Other(context, token)) {1444      build(context, token);1445      return 19;1446    }1447    1448    var stateComment = "State: 19 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:0";1449    token.detach();1450    var expectedTokens = ["#EOF", "#Comment", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];1451    var error = token.isEof ?1452      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1453      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1454    if (self.stopAtFirstError) throw error;1455    addError(context, error);1456    return 19;1457  }1458  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:2>#Comment:01459  function matchTokenAt_20(token, context) {1460    if(match_EOF(context, token)) {1461      endRule(context, 'Examples');1462      endRule(context, 'ExamplesDefinition');1463      endRule(context, 'Scenario');1464      endRule(context, 'ScenarioDefinition');1465      endRule(context, 'Feature');1466      build(context, token);1467      return 41;1468    }1469    if(match_Comment(context, token)) {1470      build(context, token);1471      return 20;1472    }1473    if(match_TableRow(context, token)) {1474      startRule(context, 'ExamplesTable');1475      build(context, token);1476      return 21;1477    }1478    if(match_TagLine(context, token)) {1479      if(lookahead_0(context, token)) {1480      endRule(context, 'Examples');1481      endRule(context, 'ExamplesDefinition');1482      startRule(context, 'ExamplesDefinition');1483      startRule(context, 'Tags');1484      build(context, token);1485      return 17;1486      }1487    }1488    if(match_TagLine(context, token)) {1489      endRule(context, 'Examples');1490      endRule(context, 'ExamplesDefinition');1491      endRule(context, 'Scenario');1492      endRule(context, 'ScenarioDefinition');1493      startRule(context, 'ScenarioDefinition');1494      startRule(context, 'Tags');1495      build(context, token);1496      return 11;1497    }1498    if(match_ExamplesLine(context, token)) {1499      endRule(context, 'Examples');1500      endRule(context, 'ExamplesDefinition');1501      startRule(context, 'ExamplesDefinition');1502      startRule(context, 'Examples');1503      build(context, token);1504      return 18;1505    }1506    if(match_ScenarioLine(context, token)) {1507      endRule(context, 'Examples');1508      endRule(context, 'ExamplesDefinition');1509      endRule(context, 'Scenario');1510      endRule(context, 'ScenarioDefinition');1511      startRule(context, 'ScenarioDefinition');1512      startRule(context, 'Scenario');1513      build(context, token);1514      return 12;1515    }1516    if(match_RuleLine(context, token)) {1517      endRule(context, 'Examples');1518      endRule(context, 'ExamplesDefinition');1519      endRule(context, 'Scenario');1520      endRule(context, 'ScenarioDefinition');1521      startRule(context, 'Rule');1522      startRule(context, 'RuleHeader');1523      build(context, token);1524      return 22;1525    }1526    if(match_Empty(context, token)) {1527      build(context, token);1528      return 20;1529    }1530    1531    var stateComment = "State: 20 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:2>#Comment:0";1532    token.detach();1533    var expectedTokens = ["#EOF", "#Comment", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Empty"];1534    var error = token.isEof ?1535      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1536      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1537    if (self.stopAtFirstError) throw error;1538    addError(context, error);1539    return 20;1540  }1541  // GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:2>ExamplesTable:0>#TableRow:01542  function matchTokenAt_21(token, context) {1543    if(match_EOF(context, token)) {1544      endRule(context, 'ExamplesTable');1545      endRule(context, 'Examples');1546      endRule(context, 'ExamplesDefinition');1547      endRule(context, 'Scenario');1548      endRule(context, 'ScenarioDefinition');1549      endRule(context, 'Feature');1550      build(context, token);1551      return 41;1552    }1553    if(match_TableRow(context, token)) {1554      build(context, token);1555      return 21;1556    }1557    if(match_TagLine(context, token)) {1558      if(lookahead_0(context, token)) {1559      endRule(context, 'ExamplesTable');1560      endRule(context, 'Examples');1561      endRule(context, 'ExamplesDefinition');1562      startRule(context, 'ExamplesDefinition');1563      startRule(context, 'Tags');1564      build(context, token);1565      return 17;1566      }1567    }1568    if(match_TagLine(context, token)) {1569      endRule(context, 'ExamplesTable');1570      endRule(context, 'Examples');1571      endRule(context, 'ExamplesDefinition');1572      endRule(context, 'Scenario');1573      endRule(context, 'ScenarioDefinition');1574      startRule(context, 'ScenarioDefinition');1575      startRule(context, 'Tags');1576      build(context, token);1577      return 11;1578    }1579    if(match_ExamplesLine(context, token)) {1580      endRule(context, 'ExamplesTable');1581      endRule(context, 'Examples');1582      endRule(context, 'ExamplesDefinition');1583      startRule(context, 'ExamplesDefinition');1584      startRule(context, 'Examples');1585      build(context, token);1586      return 18;1587    }1588    if(match_ScenarioLine(context, token)) {1589      endRule(context, 'ExamplesTable');1590      endRule(context, 'Examples');1591      endRule(context, 'ExamplesDefinition');1592      endRule(context, 'Scenario');1593      endRule(context, 'ScenarioDefinition');1594      startRule(context, 'ScenarioDefinition');1595      startRule(context, 'Scenario');1596      build(context, token);1597      return 12;1598    }1599    if(match_RuleLine(context, token)) {1600      endRule(context, 'ExamplesTable');1601      endRule(context, 'Examples');1602      endRule(context, 'ExamplesDefinition');1603      endRule(context, 'Scenario');1604      endRule(context, 'ScenarioDefinition');1605      startRule(context, 'Rule');1606      startRule(context, 'RuleHeader');1607      build(context, token);1608      return 22;1609    }1610    if(match_Comment(context, token)) {1611      build(context, token);1612      return 21;1613    }1614    if(match_Empty(context, token)) {1615      build(context, token);1616      return 21;1617    }1618    1619    var stateComment = "State: 21 - GherkinDocument:0>Feature:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:2>ExamplesTable:0>#TableRow:0";1620    token.detach();1621    var expectedTokens = ["#EOF", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];1622    var error = token.isEof ?1623      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1624      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1625    if (self.stopAtFirstError) throw error;1626    addError(context, error);1627    return 21;1628  }1629  // GherkinDocument:0>Feature:3>Rule:0>RuleHeader:0>#RuleLine:01630  function matchTokenAt_22(token, context) {1631    if(match_EOF(context, token)) {1632      endRule(context, 'RuleHeader');1633      endRule(context, 'Rule');1634      endRule(context, 'Feature');1635      build(context, token);1636      return 41;1637    }1638    if(match_Empty(context, token)) {1639      build(context, token);1640      return 22;1641    }1642    if(match_Comment(context, token)) {1643      build(context, token);1644      return 24;1645    }1646    if(match_BackgroundLine(context, token)) {1647      endRule(context, 'RuleHeader');1648      startRule(context, 'Background');1649      build(context, token);1650      return 25;1651    }1652    if(match_TagLine(context, token)) {1653      endRule(context, 'RuleHeader');1654      startRule(context, 'ScenarioDefinition');1655      startRule(context, 'Tags');1656      build(context, token);1657      return 30;1658    }1659    if(match_ScenarioLine(context, token)) {1660      endRule(context, 'RuleHeader');1661      startRule(context, 'ScenarioDefinition');1662      startRule(context, 'Scenario');1663      build(context, token);1664      return 31;1665    }1666    if(match_RuleLine(context, token)) {1667      endRule(context, 'RuleHeader');1668      endRule(context, 'Rule');1669      startRule(context, 'Rule');1670      startRule(context, 'RuleHeader');1671      build(context, token);1672      return 22;1673    }1674    if(match_Other(context, token)) {1675      startRule(context, 'Description');1676      build(context, token);1677      return 23;1678    }1679    1680    var stateComment = "State: 22 - GherkinDocument:0>Feature:3>Rule:0>RuleHeader:0>#RuleLine:0";1681    token.detach();1682    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];1683    var error = token.isEof ?1684      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1685      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1686    if (self.stopAtFirstError) throw error;1687    addError(context, error);1688    return 22;1689  }1690  // GherkinDocument:0>Feature:3>Rule:0>RuleHeader:1>DescriptionHelper:1>Description:0>#Other:01691  function matchTokenAt_23(token, context) {1692    if(match_EOF(context, token)) {1693      endRule(context, 'Description');1694      endRule(context, 'RuleHeader');1695      endRule(context, 'Rule');1696      endRule(context, 'Feature');1697      build(context, token);1698      return 41;1699    }1700    if(match_Comment(context, token)) {1701      endRule(context, 'Description');1702      build(context, token);1703      return 24;1704    }1705    if(match_BackgroundLine(context, token)) {1706      endRule(context, 'Description');1707      endRule(context, 'RuleHeader');1708      startRule(context, 'Background');1709      build(context, token);1710      return 25;1711    }1712    if(match_TagLine(context, token)) {1713      endRule(context, 'Description');1714      endRule(context, 'RuleHeader');1715      startRule(context, 'ScenarioDefinition');1716      startRule(context, 'Tags');1717      build(context, token);1718      return 30;1719    }1720    if(match_ScenarioLine(context, token)) {1721      endRule(context, 'Description');1722      endRule(context, 'RuleHeader');1723      startRule(context, 'ScenarioDefinition');1724      startRule(context, 'Scenario');1725      build(context, token);1726      return 31;1727    }1728    if(match_RuleLine(context, token)) {1729      endRule(context, 'Description');1730      endRule(context, 'RuleHeader');1731      endRule(context, 'Rule');1732      startRule(context, 'Rule');1733      startRule(context, 'RuleHeader');1734      build(context, token);1735      return 22;1736    }1737    if(match_Other(context, token)) {1738      build(context, token);1739      return 23;1740    }1741    1742    var stateComment = "State: 23 - GherkinDocument:0>Feature:3>Rule:0>RuleHeader:1>DescriptionHelper:1>Description:0>#Other:0";1743    token.detach();1744    var expectedTokens = ["#EOF", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];1745    var error = token.isEof ?1746      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1747      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1748    if (self.stopAtFirstError) throw error;1749    addError(context, error);1750    return 23;1751  }1752  // GherkinDocument:0>Feature:3>Rule:0>RuleHeader:1>DescriptionHelper:2>#Comment:01753  function matchTokenAt_24(token, context) {1754    if(match_EOF(context, token)) {1755      endRule(context, 'RuleHeader');1756      endRule(context, 'Rule');1757      endRule(context, 'Feature');1758      build(context, token);1759      return 41;1760    }1761    if(match_Comment(context, token)) {1762      build(context, token);1763      return 24;1764    }1765    if(match_BackgroundLine(context, token)) {1766      endRule(context, 'RuleHeader');1767      startRule(context, 'Background');1768      build(context, token);1769      return 25;1770    }1771    if(match_TagLine(context, token)) {1772      endRule(context, 'RuleHeader');1773      startRule(context, 'ScenarioDefinition');1774      startRule(context, 'Tags');1775      build(context, token);1776      return 30;1777    }1778    if(match_ScenarioLine(context, token)) {1779      endRule(context, 'RuleHeader');1780      startRule(context, 'ScenarioDefinition');1781      startRule(context, 'Scenario');1782      build(context, token);1783      return 31;1784    }1785    if(match_RuleLine(context, token)) {1786      endRule(context, 'RuleHeader');1787      endRule(context, 'Rule');1788      startRule(context, 'Rule');1789      startRule(context, 'RuleHeader');1790      build(context, token);1791      return 22;1792    }1793    if(match_Empty(context, token)) {1794      build(context, token);1795      return 24;1796    }1797    1798    var stateComment = "State: 24 - GherkinDocument:0>Feature:3>Rule:0>RuleHeader:1>DescriptionHelper:2>#Comment:0";1799    token.detach();1800    var expectedTokens = ["#EOF", "#Comment", "#BackgroundLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Empty"];1801    var error = token.isEof ?1802      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1803      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1804    if (self.stopAtFirstError) throw error;1805    addError(context, error);1806    return 24;1807  }1808  // GherkinDocument:0>Feature:3>Rule:1>Background:0>#BackgroundLine:01809  function matchTokenAt_25(token, context) {1810    if(match_EOF(context, token)) {1811      endRule(context, 'Background');1812      endRule(context, 'Rule');1813      endRule(context, 'Feature');1814      build(context, token);1815      return 41;1816    }1817    if(match_Empty(context, token)) {1818      build(context, token);1819      return 25;1820    }1821    if(match_Comment(context, token)) {1822      build(context, token);1823      return 27;1824    }1825    if(match_StepLine(context, token)) {1826      startRule(context, 'Step');1827      build(context, token);1828      return 28;1829    }1830    if(match_TagLine(context, token)) {1831      endRule(context, 'Background');1832      startRule(context, 'ScenarioDefinition');1833      startRule(context, 'Tags');1834      build(context, token);1835      return 30;1836    }1837    if(match_ScenarioLine(context, token)) {1838      endRule(context, 'Background');1839      startRule(context, 'ScenarioDefinition');1840      startRule(context, 'Scenario');1841      build(context, token);1842      return 31;1843    }1844    if(match_RuleLine(context, token)) {1845      endRule(context, 'Background');1846      endRule(context, 'Rule');1847      startRule(context, 'Rule');1848      startRule(context, 'RuleHeader');1849      build(context, token);1850      return 22;1851    }1852    if(match_Other(context, token)) {1853      startRule(context, 'Description');1854      build(context, token);1855      return 26;1856    }1857    1858    var stateComment = "State: 25 - GherkinDocument:0>Feature:3>Rule:1>Background:0>#BackgroundLine:0";1859    token.detach();1860    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];1861    var error = token.isEof ?1862      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1863      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1864    if (self.stopAtFirstError) throw error;1865    addError(context, error);1866    return 25;1867  }1868  // GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:1>Description:0>#Other:01869  function matchTokenAt_26(token, context) {1870    if(match_EOF(context, token)) {1871      endRule(context, 'Description');1872      endRule(context, 'Background');1873      endRule(context, 'Rule');1874      endRule(context, 'Feature');1875      build(context, token);1876      return 41;1877    }1878    if(match_Comment(context, token)) {1879      endRule(context, 'Description');1880      build(context, token);1881      return 27;1882    }1883    if(match_StepLine(context, token)) {1884      endRule(context, 'Description');1885      startRule(context, 'Step');1886      build(context, token);1887      return 28;1888    }1889    if(match_TagLine(context, token)) {1890      endRule(context, 'Description');1891      endRule(context, 'Background');1892      startRule(context, 'ScenarioDefinition');1893      startRule(context, 'Tags');1894      build(context, token);1895      return 30;1896    }1897    if(match_ScenarioLine(context, token)) {1898      endRule(context, 'Description');1899      endRule(context, 'Background');1900      startRule(context, 'ScenarioDefinition');1901      startRule(context, 'Scenario');1902      build(context, token);1903      return 31;1904    }1905    if(match_RuleLine(context, token)) {1906      endRule(context, 'Description');1907      endRule(context, 'Background');1908      endRule(context, 'Rule');1909      startRule(context, 'Rule');1910      startRule(context, 'RuleHeader');1911      build(context, token);1912      return 22;1913    }1914    if(match_Other(context, token)) {1915      build(context, token);1916      return 26;1917    }1918    1919    var stateComment = "State: 26 - GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:1>Description:0>#Other:0";1920    token.detach();1921    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Other"];1922    var error = token.isEof ?1923      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1924      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1925    if (self.stopAtFirstError) throw error;1926    addError(context, error);1927    return 26;1928  }1929  // GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:2>#Comment:01930  function matchTokenAt_27(token, context) {1931    if(match_EOF(context, token)) {1932      endRule(context, 'Background');1933      endRule(context, 'Rule');1934      endRule(context, 'Feature');1935      build(context, token);1936      return 41;1937    }1938    if(match_Comment(context, token)) {1939      build(context, token);1940      return 27;1941    }1942    if(match_StepLine(context, token)) {1943      startRule(context, 'Step');1944      build(context, token);1945      return 28;1946    }1947    if(match_TagLine(context, token)) {1948      endRule(context, 'Background');1949      startRule(context, 'ScenarioDefinition');1950      startRule(context, 'Tags');1951      build(context, token);1952      return 30;1953    }1954    if(match_ScenarioLine(context, token)) {1955      endRule(context, 'Background');1956      startRule(context, 'ScenarioDefinition');1957      startRule(context, 'Scenario');1958      build(context, token);1959      return 31;1960    }1961    if(match_RuleLine(context, token)) {1962      endRule(context, 'Background');1963      endRule(context, 'Rule');1964      startRule(context, 'Rule');1965      startRule(context, 'RuleHeader');1966      build(context, token);1967      return 22;1968    }1969    if(match_Empty(context, token)) {1970      build(context, token);1971      return 27;1972    }1973    1974    var stateComment = "State: 27 - GherkinDocument:0>Feature:3>Rule:1>Background:1>DescriptionHelper:2>#Comment:0";1975    token.detach();1976    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Empty"];1977    var error = token.isEof ?1978      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :1979      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);1980    if (self.stopAtFirstError) throw error;1981    addError(context, error);1982    return 27;1983  }1984  // GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:0>#StepLine:01985  function matchTokenAt_28(token, context) {1986    if(match_EOF(context, token)) {1987      endRule(context, 'Step');1988      endRule(context, 'Background');1989      endRule(context, 'Rule');1990      endRule(context, 'Feature');1991      build(context, token);1992      return 41;1993    }1994    if(match_TableRow(context, token)) {1995      startRule(context, 'DataTable');1996      build(context, token);1997      return 29;1998    }1999    if(match_DocStringSeparator(context, token)) {2000      startRule(context, 'DocString');2001      build(context, token);2002      return 44;2003    }2004    if(match_StepLine(context, token)) {2005      endRule(context, 'Step');2006      startRule(context, 'Step');2007      build(context, token);2008      return 28;2009    }2010    if(match_TagLine(context, token)) {2011      endRule(context, 'Step');2012      endRule(context, 'Background');2013      startRule(context, 'ScenarioDefinition');2014      startRule(context, 'Tags');2015      build(context, token);2016      return 30;2017    }2018    if(match_ScenarioLine(context, token)) {2019      endRule(context, 'Step');2020      endRule(context, 'Background');2021      startRule(context, 'ScenarioDefinition');2022      startRule(context, 'Scenario');2023      build(context, token);2024      return 31;2025    }2026    if(match_RuleLine(context, token)) {2027      endRule(context, 'Step');2028      endRule(context, 'Background');2029      endRule(context, 'Rule');2030      startRule(context, 'Rule');2031      startRule(context, 'RuleHeader');2032      build(context, token);2033      return 22;2034    }2035    if(match_Comment(context, token)) {2036      build(context, token);2037      return 28;2038    }2039    if(match_Empty(context, token)) {2040      build(context, token);2041      return 28;2042    }2043    2044    var stateComment = "State: 28 - GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:0>#StepLine:0";2045    token.detach();2046    var expectedTokens = ["#EOF", "#TableRow", "#DocStringSeparator", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];2047    var error = token.isEof ?2048      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2049      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2050    if (self.stopAtFirstError) throw error;2051    addError(context, error);2052    return 28;2053  }2054  // GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:02055  function matchTokenAt_29(token, context) {2056    if(match_EOF(context, token)) {2057      endRule(context, 'DataTable');2058      endRule(context, 'Step');2059      endRule(context, 'Background');2060      endRule(context, 'Rule');2061      endRule(context, 'Feature');2062      build(context, token);2063      return 41;2064    }2065    if(match_TableRow(context, token)) {2066      build(context, token);2067      return 29;2068    }2069    if(match_StepLine(context, token)) {2070      endRule(context, 'DataTable');2071      endRule(context, 'Step');2072      startRule(context, 'Step');2073      build(context, token);2074      return 28;2075    }2076    if(match_TagLine(context, token)) {2077      endRule(context, 'DataTable');2078      endRule(context, 'Step');2079      endRule(context, 'Background');2080      startRule(context, 'ScenarioDefinition');2081      startRule(context, 'Tags');2082      build(context, token);2083      return 30;2084    }2085    if(match_ScenarioLine(context, token)) {2086      endRule(context, 'DataTable');2087      endRule(context, 'Step');2088      endRule(context, 'Background');2089      startRule(context, 'ScenarioDefinition');2090      startRule(context, 'Scenario');2091      build(context, token);2092      return 31;2093    }2094    if(match_RuleLine(context, token)) {2095      endRule(context, 'DataTable');2096      endRule(context, 'Step');2097      endRule(context, 'Background');2098      endRule(context, 'Rule');2099      startRule(context, 'Rule');2100      startRule(context, 'RuleHeader');2101      build(context, token);2102      return 22;2103    }2104    if(match_Comment(context, token)) {2105      build(context, token);2106      return 29;2107    }2108    if(match_Empty(context, token)) {2109      build(context, token);2110      return 29;2111    }2112    2113    var stateComment = "State: 29 - GherkinDocument:0>Feature:3>Rule:1>Background:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0";2114    token.detach();2115    var expectedTokens = ["#EOF", "#TableRow", "#StepLine", "#TagLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];2116    var error = token.isEof ?2117      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2118      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2119    if (self.stopAtFirstError) throw error;2120    addError(context, error);2121    return 29;2122  }2123  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:0>Tags:0>#TagLine:02124  function matchTokenAt_30(token, context) {2125    if(match_TagLine(context, token)) {2126      build(context, token);2127      return 30;2128    }2129    if(match_ScenarioLine(context, token)) {2130      endRule(context, 'Tags');2131      startRule(context, 'Scenario');2132      build(context, token);2133      return 31;2134    }2135    if(match_Comment(context, token)) {2136      build(context, token);2137      return 30;2138    }2139    if(match_Empty(context, token)) {2140      build(context, token);2141      return 30;2142    }2143    2144    var stateComment = "State: 30 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:0>Tags:0>#TagLine:0";2145    token.detach();2146    var expectedTokens = ["#TagLine", "#ScenarioLine", "#Comment", "#Empty"];2147    var error = token.isEof ?2148      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2149      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2150    if (self.stopAtFirstError) throw error;2151    addError(context, error);2152    return 30;2153  }2154  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:02155  function matchTokenAt_31(token, context) {2156    if(match_EOF(context, token)) {2157      endRule(context, 'Scenario');2158      endRule(context, 'ScenarioDefinition');2159      endRule(context, 'Rule');2160      endRule(context, 'Feature');2161      build(context, token);2162      return 41;2163    }2164    if(match_Empty(context, token)) {2165      build(context, token);2166      return 31;2167    }2168    if(match_Comment(context, token)) {2169      build(context, token);2170      return 33;2171    }2172    if(match_StepLine(context, token)) {2173      startRule(context, 'Step');2174      build(context, token);2175      return 34;2176    }2177    if(match_TagLine(context, token)) {2178      if(lookahead_0(context, token)) {2179      startRule(context, 'ExamplesDefinition');2180      startRule(context, 'Tags');2181      build(context, token);2182      return 36;2183      }2184    }2185    if(match_TagLine(context, token)) {2186      endRule(context, 'Scenario');2187      endRule(context, 'ScenarioDefinition');2188      startRule(context, 'ScenarioDefinition');2189      startRule(context, 'Tags');2190      build(context, token);2191      return 30;2192    }2193    if(match_ExamplesLine(context, token)) {2194      startRule(context, 'ExamplesDefinition');2195      startRule(context, 'Examples');2196      build(context, token);2197      return 37;2198    }2199    if(match_ScenarioLine(context, token)) {2200      endRule(context, 'Scenario');2201      endRule(context, 'ScenarioDefinition');2202      startRule(context, 'ScenarioDefinition');2203      startRule(context, 'Scenario');2204      build(context, token);2205      return 31;2206    }2207    if(match_RuleLine(context, token)) {2208      endRule(context, 'Scenario');2209      endRule(context, 'ScenarioDefinition');2210      endRule(context, 'Rule');2211      startRule(context, 'Rule');2212      startRule(context, 'RuleHeader');2213      build(context, token);2214      return 22;2215    }2216    if(match_Other(context, token)) {2217      startRule(context, 'Description');2218      build(context, token);2219      return 32;2220    }2221    2222    var stateComment = "State: 31 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:0>#ScenarioLine:0";2223    token.detach();2224    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];2225    var error = token.isEof ?2226      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2227      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2228    if (self.stopAtFirstError) throw error;2229    addError(context, error);2230    return 31;2231  }2232  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:02233  function matchTokenAt_32(token, context) {2234    if(match_EOF(context, token)) {2235      endRule(context, 'Description');2236      endRule(context, 'Scenario');2237      endRule(context, 'ScenarioDefinition');2238      endRule(context, 'Rule');2239      endRule(context, 'Feature');2240      build(context, token);2241      return 41;2242    }2243    if(match_Comment(context, token)) {2244      endRule(context, 'Description');2245      build(context, token);2246      return 33;2247    }2248    if(match_StepLine(context, token)) {2249      endRule(context, 'Description');2250      startRule(context, 'Step');2251      build(context, token);2252      return 34;2253    }2254    if(match_TagLine(context, token)) {2255      if(lookahead_0(context, token)) {2256      endRule(context, 'Description');2257      startRule(context, 'ExamplesDefinition');2258      startRule(context, 'Tags');2259      build(context, token);2260      return 36;2261      }2262    }2263    if(match_TagLine(context, token)) {2264      endRule(context, 'Description');2265      endRule(context, 'Scenario');2266      endRule(context, 'ScenarioDefinition');2267      startRule(context, 'ScenarioDefinition');2268      startRule(context, 'Tags');2269      build(context, token);2270      return 30;2271    }2272    if(match_ExamplesLine(context, token)) {2273      endRule(context, 'Description');2274      startRule(context, 'ExamplesDefinition');2275      startRule(context, 'Examples');2276      build(context, token);2277      return 37;2278    }2279    if(match_ScenarioLine(context, token)) {2280      endRule(context, 'Description');2281      endRule(context, 'Scenario');2282      endRule(context, 'ScenarioDefinition');2283      startRule(context, 'ScenarioDefinition');2284      startRule(context, 'Scenario');2285      build(context, token);2286      return 31;2287    }2288    if(match_RuleLine(context, token)) {2289      endRule(context, 'Description');2290      endRule(context, 'Scenario');2291      endRule(context, 'ScenarioDefinition');2292      endRule(context, 'Rule');2293      startRule(context, 'Rule');2294      startRule(context, 'RuleHeader');2295      build(context, token);2296      return 22;2297    }2298    if(match_Other(context, token)) {2299      build(context, token);2300      return 32;2301    }2302    2303    var stateComment = "State: 32 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:1>Description:0>#Other:0";2304    token.detach();2305    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];2306    var error = token.isEof ?2307      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2308      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2309    if (self.stopAtFirstError) throw error;2310    addError(context, error);2311    return 32;2312  }2313  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:02314  function matchTokenAt_33(token, context) {2315    if(match_EOF(context, token)) {2316      endRule(context, 'Scenario');2317      endRule(context, 'ScenarioDefinition');2318      endRule(context, 'Rule');2319      endRule(context, 'Feature');2320      build(context, token);2321      return 41;2322    }2323    if(match_Comment(context, token)) {2324      build(context, token);2325      return 33;2326    }2327    if(match_StepLine(context, token)) {2328      startRule(context, 'Step');2329      build(context, token);2330      return 34;2331    }2332    if(match_TagLine(context, token)) {2333      if(lookahead_0(context, token)) {2334      startRule(context, 'ExamplesDefinition');2335      startRule(context, 'Tags');2336      build(context, token);2337      return 36;2338      }2339    }2340    if(match_TagLine(context, token)) {2341      endRule(context, 'Scenario');2342      endRule(context, 'ScenarioDefinition');2343      startRule(context, 'ScenarioDefinition');2344      startRule(context, 'Tags');2345      build(context, token);2346      return 30;2347    }2348    if(match_ExamplesLine(context, token)) {2349      startRule(context, 'ExamplesDefinition');2350      startRule(context, 'Examples');2351      build(context, token);2352      return 37;2353    }2354    if(match_ScenarioLine(context, token)) {2355      endRule(context, 'Scenario');2356      endRule(context, 'ScenarioDefinition');2357      startRule(context, 'ScenarioDefinition');2358      startRule(context, 'Scenario');2359      build(context, token);2360      return 31;2361    }2362    if(match_RuleLine(context, token)) {2363      endRule(context, 'Scenario');2364      endRule(context, 'ScenarioDefinition');2365      endRule(context, 'Rule');2366      startRule(context, 'Rule');2367      startRule(context, 'RuleHeader');2368      build(context, token);2369      return 22;2370    }2371    if(match_Empty(context, token)) {2372      build(context, token);2373      return 33;2374    }2375    2376    var stateComment = "State: 33 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:1>DescriptionHelper:2>#Comment:0";2377    token.detach();2378    var expectedTokens = ["#EOF", "#Comment", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Empty"];2379    var error = token.isEof ?2380      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2381      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2382    if (self.stopAtFirstError) throw error;2383    addError(context, error);2384    return 33;2385  }2386  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:02387  function matchTokenAt_34(token, context) {2388    if(match_EOF(context, token)) {2389      endRule(context, 'Step');2390      endRule(context, 'Scenario');2391      endRule(context, 'ScenarioDefinition');2392      endRule(context, 'Rule');2393      endRule(context, 'Feature');2394      build(context, token);2395      return 41;2396    }2397    if(match_TableRow(context, token)) {2398      startRule(context, 'DataTable');2399      build(context, token);2400      return 35;2401    }2402    if(match_DocStringSeparator(context, token)) {2403      startRule(context, 'DocString');2404      build(context, token);2405      return 42;2406    }2407    if(match_StepLine(context, token)) {2408      endRule(context, 'Step');2409      startRule(context, 'Step');2410      build(context, token);2411      return 34;2412    }2413    if(match_TagLine(context, token)) {2414      if(lookahead_0(context, token)) {2415      endRule(context, 'Step');2416      startRule(context, 'ExamplesDefinition');2417      startRule(context, 'Tags');2418      build(context, token);2419      return 36;2420      }2421    }2422    if(match_TagLine(context, token)) {2423      endRule(context, 'Step');2424      endRule(context, 'Scenario');2425      endRule(context, 'ScenarioDefinition');2426      startRule(context, 'ScenarioDefinition');2427      startRule(context, 'Tags');2428      build(context, token);2429      return 30;2430    }2431    if(match_ExamplesLine(context, token)) {2432      endRule(context, 'Step');2433      startRule(context, 'ExamplesDefinition');2434      startRule(context, 'Examples');2435      build(context, token);2436      return 37;2437    }2438    if(match_ScenarioLine(context, token)) {2439      endRule(context, 'Step');2440      endRule(context, 'Scenario');2441      endRule(context, 'ScenarioDefinition');2442      startRule(context, 'ScenarioDefinition');2443      startRule(context, 'Scenario');2444      build(context, token);2445      return 31;2446    }2447    if(match_RuleLine(context, token)) {2448      endRule(context, 'Step');2449      endRule(context, 'Scenario');2450      endRule(context, 'ScenarioDefinition');2451      endRule(context, 'Rule');2452      startRule(context, 'Rule');2453      startRule(context, 'RuleHeader');2454      build(context, token);2455      return 22;2456    }2457    if(match_Comment(context, token)) {2458      build(context, token);2459      return 34;2460    }2461    if(match_Empty(context, token)) {2462      build(context, token);2463      return 34;2464    }2465    2466    var stateComment = "State: 34 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:0>#StepLine:0";2467    token.detach();2468    var expectedTokens = ["#EOF", "#TableRow", "#DocStringSeparator", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];2469    var error = token.isEof ?2470      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2471      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2472    if (self.stopAtFirstError) throw error;2473    addError(context, error);2474    return 34;2475  }2476  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:02477  function matchTokenAt_35(token, context) {2478    if(match_EOF(context, token)) {2479      endRule(context, 'DataTable');2480      endRule(context, 'Step');2481      endRule(context, 'Scenario');2482      endRule(context, 'ScenarioDefinition');2483      endRule(context, 'Rule');2484      endRule(context, 'Feature');2485      build(context, token);2486      return 41;2487    }2488    if(match_TableRow(context, token)) {2489      build(context, token);2490      return 35;2491    }2492    if(match_StepLine(context, token)) {2493      endRule(context, 'DataTable');2494      endRule(context, 'Step');2495      startRule(context, 'Step');2496      build(context, token);2497      return 34;2498    }2499    if(match_TagLine(context, token)) {2500      if(lookahead_0(context, token)) {2501      endRule(context, 'DataTable');2502      endRule(context, 'Step');2503      startRule(context, 'ExamplesDefinition');2504      startRule(context, 'Tags');2505      build(context, token);2506      return 36;2507      }2508    }2509    if(match_TagLine(context, token)) {2510      endRule(context, 'DataTable');2511      endRule(context, 'Step');2512      endRule(context, 'Scenario');2513      endRule(context, 'ScenarioDefinition');2514      startRule(context, 'ScenarioDefinition');2515      startRule(context, 'Tags');2516      build(context, token);2517      return 30;2518    }2519    if(match_ExamplesLine(context, token)) {2520      endRule(context, 'DataTable');2521      endRule(context, 'Step');2522      startRule(context, 'ExamplesDefinition');2523      startRule(context, 'Examples');2524      build(context, token);2525      return 37;2526    }2527    if(match_ScenarioLine(context, token)) {2528      endRule(context, 'DataTable');2529      endRule(context, 'Step');2530      endRule(context, 'Scenario');2531      endRule(context, 'ScenarioDefinition');2532      startRule(context, 'ScenarioDefinition');2533      startRule(context, 'Scenario');2534      build(context, token);2535      return 31;2536    }2537    if(match_RuleLine(context, token)) {2538      endRule(context, 'DataTable');2539      endRule(context, 'Step');2540      endRule(context, 'Scenario');2541      endRule(context, 'ScenarioDefinition');2542      endRule(context, 'Rule');2543      startRule(context, 'Rule');2544      startRule(context, 'RuleHeader');2545      build(context, token);2546      return 22;2547    }2548    if(match_Comment(context, token)) {2549      build(context, token);2550      return 35;2551    }2552    if(match_Empty(context, token)) {2553      build(context, token);2554      return 35;2555    }2556    2557    var stateComment = "State: 35 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:2>Step:1>StepArg:0>__alt0:0>DataTable:0>#TableRow:0";2558    token.detach();2559    var expectedTokens = ["#EOF", "#TableRow", "#StepLine", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Comment", "#Empty"];2560    var error = token.isEof ?2561      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2562      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2563    if (self.stopAtFirstError) throw error;2564    addError(context, error);2565    return 35;2566  }2567  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:02568  function matchTokenAt_36(token, context) {2569    if(match_TagLine(context, token)) {2570      build(context, token);2571      return 36;2572    }2573    if(match_ExamplesLine(context, token)) {2574      endRule(context, 'Tags');2575      startRule(context, 'Examples');2576      build(context, token);2577      return 37;2578    }2579    if(match_Comment(context, token)) {2580      build(context, token);2581      return 36;2582    }2583    if(match_Empty(context, token)) {2584      build(context, token);2585      return 36;2586    }2587    2588    var stateComment = "State: 36 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:0>Tags:0>#TagLine:0";2589    token.detach();2590    var expectedTokens = ["#TagLine", "#ExamplesLine", "#Comment", "#Empty"];2591    var error = token.isEof ?2592      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2593      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2594    if (self.stopAtFirstError) throw error;2595    addError(context, error);2596    return 36;2597  }2598  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:02599  function matchTokenAt_37(token, context) {2600    if(match_EOF(context, token)) {2601      endRule(context, 'Examples');2602      endRule(context, 'ExamplesDefinition');2603      endRule(context, 'Scenario');2604      endRule(context, 'ScenarioDefinition');2605      endRule(context, 'Rule');2606      endRule(context, 'Feature');2607      build(context, token);2608      return 41;2609    }2610    if(match_Empty(context, token)) {2611      build(context, token);2612      return 37;2613    }2614    if(match_Comment(context, token)) {2615      build(context, token);2616      return 39;2617    }2618    if(match_TableRow(context, token)) {2619      startRule(context, 'ExamplesTable');2620      build(context, token);2621      return 40;2622    }2623    if(match_TagLine(context, token)) {2624      if(lookahead_0(context, token)) {2625      endRule(context, 'Examples');2626      endRule(context, 'ExamplesDefinition');2627      startRule(context, 'ExamplesDefinition');2628      startRule(context, 'Tags');2629      build(context, token);2630      return 36;2631      }2632    }2633    if(match_TagLine(context, token)) {2634      endRule(context, 'Examples');2635      endRule(context, 'ExamplesDefinition');2636      endRule(context, 'Scenario');2637      endRule(context, 'ScenarioDefinition');2638      startRule(context, 'ScenarioDefinition');2639      startRule(context, 'Tags');2640      build(context, token);2641      return 30;2642    }2643    if(match_ExamplesLine(context, token)) {2644      endRule(context, 'Examples');2645      endRule(context, 'ExamplesDefinition');2646      startRule(context, 'ExamplesDefinition');2647      startRule(context, 'Examples');2648      build(context, token);2649      return 37;2650    }2651    if(match_ScenarioLine(context, token)) {2652      endRule(context, 'Examples');2653      endRule(context, 'ExamplesDefinition');2654      endRule(context, 'Scenario');2655      endRule(context, 'ScenarioDefinition');2656      startRule(context, 'ScenarioDefinition');2657      startRule(context, 'Scenario');2658      build(context, token);2659      return 31;2660    }2661    if(match_RuleLine(context, token)) {2662      endRule(context, 'Examples');2663      endRule(context, 'ExamplesDefinition');2664      endRule(context, 'Scenario');2665      endRule(context, 'ScenarioDefinition');2666      endRule(context, 'Rule');2667      startRule(context, 'Rule');2668      startRule(context, 'RuleHeader');2669      build(context, token);2670      return 22;2671    }2672    if(match_Other(context, token)) {2673      startRule(context, 'Description');2674      build(context, token);2675      return 38;2676    }2677    2678    var stateComment = "State: 37 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:0>#ExamplesLine:0";2679    token.detach();2680    var expectedTokens = ["#EOF", "#Empty", "#Comment", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];2681    var error = token.isEof ?2682      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2683      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2684    if (self.stopAtFirstError) throw error;2685    addError(context, error);2686    return 37;2687  }2688  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:02689  function matchTokenAt_38(token, context) {2690    if(match_EOF(context, token)) {2691      endRule(context, 'Description');2692      endRule(context, 'Examples');2693      endRule(context, 'ExamplesDefinition');2694      endRule(context, 'Scenario');2695      endRule(context, 'ScenarioDefinition');2696      endRule(context, 'Rule');2697      endRule(context, 'Feature');2698      build(context, token);2699      return 41;2700    }2701    if(match_Comment(context, token)) {2702      endRule(context, 'Description');2703      build(context, token);2704      return 39;2705    }2706    if(match_TableRow(context, token)) {2707      endRule(context, 'Description');2708      startRule(context, 'ExamplesTable');2709      build(context, token);2710      return 40;2711    }2712    if(match_TagLine(context, token)) {2713      if(lookahead_0(context, token)) {2714      endRule(context, 'Description');2715      endRule(context, 'Examples');2716      endRule(context, 'ExamplesDefinition');2717      startRule(context, 'ExamplesDefinition');2718      startRule(context, 'Tags');2719      build(context, token);2720      return 36;2721      }2722    }2723    if(match_TagLine(context, token)) {2724      endRule(context, 'Description');2725      endRule(context, 'Examples');2726      endRule(context, 'ExamplesDefinition');2727      endRule(context, 'Scenario');2728      endRule(context, 'ScenarioDefinition');2729      startRule(context, 'ScenarioDefinition');2730      startRule(context, 'Tags');2731      build(context, token);2732      return 30;2733    }2734    if(match_ExamplesLine(context, token)) {2735      endRule(context, 'Description');2736      endRule(context, 'Examples');2737      endRule(context, 'ExamplesDefinition');2738      startRule(context, 'ExamplesDefinition');2739      startRule(context, 'Examples');2740      build(context, token);2741      return 37;2742    }2743    if(match_ScenarioLine(context, token)) {2744      endRule(context, 'Description');2745      endRule(context, 'Examples');2746      endRule(context, 'ExamplesDefinition');2747      endRule(context, 'Scenario');2748      endRule(context, 'ScenarioDefinition');2749      startRule(context, 'ScenarioDefinition');2750      startRule(context, 'Scenario');2751      build(context, token);2752      return 31;2753    }2754    if(match_RuleLine(context, token)) {2755      endRule(context, 'Description');2756      endRule(context, 'Examples');2757      endRule(context, 'ExamplesDefinition');2758      endRule(context, 'Scenario');2759      endRule(context, 'ScenarioDefinition');2760      endRule(context, 'Rule');2761      startRule(context, 'Rule');2762      startRule(context, 'RuleHeader');2763      build(context, token);2764      return 22;2765    }2766    if(match_Other(context, token)) {2767      build(context, token);2768      return 38;2769    }2770    2771    var stateComment = "State: 38 - GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:1>Description:0>#Other:0";2772    token.detach();2773    var expectedTokens = ["#EOF", "#Comment", "#TableRow", "#TagLine", "#ExamplesLine", "#ScenarioLine", "#RuleLine", "#Other"];2774    var error = token.isEof ?2775      Errors.UnexpectedEOFException.create(token, expectedTokens, stateComment) :2776      Errors.UnexpectedTokenException.create(token, expectedTokens, stateComment);2777    if (self.stopAtFirstError) throw error;2778    addError(context, error);2779    return 38;2780  }2781  // GherkinDocument:0>Feature:3>Rule:2>ScenarioDefinition:1>Scenario:3>ExamplesDefinition:1>Examples:1>DescriptionHelper:2>#Comment:02782  function matchTokenAt_39(token, context) {2783    if(match_EOF(context, token)) {2784      endRule(context, 'Examples');2785      endRule(context, 'ExamplesDefinition');2786      endRule(context, 'Scenario');2787      endRule(context, 'ScenarioDefinition');2788      endRule(context, 'Rule');2789      endRule(context, 'Feature');2790      build(context, token);2791      return 41;2792    }2793    if(match_Comment(context, token)) {2794      build(context, token);2795      return 39;2796    }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var matchTokenAt_39 = require('cucumber-gherkin/lib/gherkin/lexer/en').matchTokenAt_39;2var source = 'Given a step';3var tokenMatcher = matchTokenAt_39(source, 0);4var token = tokenMatcher('Given', 'StepKeyword');5console.log(token);6var source = 'Given a step';7var tokenMatcher = matchTokenAt_39(source, 0);8var token = tokenMatcher('Given', 'StepKeyword');9console.log(token);10var source = 'Given a step';11var tokenMatcher = matchTokenAt_39(source, 0);12var token = tokenMatcher('Given', 'StepKeyword');13console.log(token);14var source = 'Given a step';15var tokenMatcher = matchTokenAt_39(source, 0);16var token = tokenMatcher('Given', 'StepKeyword');17console.log(token);18var source = 'Given a step';19var tokenMatcher = matchTokenAt_39(source, 0);20var token = tokenMatcher('Given', 'StepKeyword');21console.log(token);22var matchTokenAt_40 = require('cucumber-gherkin/lib/gherkin/lexer/en').matchTokenAt_40;23var source = 'Given a step';

Full Screen

Using AI Code Generation

copy

Full Screen

1var gherkin = require('cucumber-gherkin/lib/gherkin/lexer/en');2var lexer = new gherkin.Lexer('en');3var tokenMatcher = new gherkin.TokenMatcher();4var token = lexer.matchTokenAt_39(0);5console.log(token);6var gherkin = require('./gherkin');7var Lexer = gherkin.Lexer;8var TokenMatcher = gherkin.TokenMatcher;9Lexer.prototype.matchTokenAt_39 = function(offset) {10    var token = this.matchTokenAt(offset);11    if (tokenMatcher.match_39(token)) {12        return token;13    }14    return null;15};16var gherkin = require('./gherkin');17var TokenMatcher = gherkin.TokenMatcher;18TokenMatcher.prototype.match_39 = function(token) {19    return token.matchedType === 39;20};21var gherkin = require('./gherkin');22var Lexer = gherkin.Lexer;23var TokenMatcher = gherkin.TokenMatcher;24Lexer.prototype.matchTokenAt_39 = function(offset) {25    var token = this.matchTokenAt(offset);26    if (tokenMatcher.match_39(token)) {27        return token;28    }29    return null;30};

Full Screen

Using AI Code Generation

copy

Full Screen

1var gherkin = require('cucumber-gherkin');2var parser = new gherkin.Parser();3var tokenMatcher = new gherkin.TokenMatcher();4";5var tokens = parser.scan(feature);6console.log(tokenMatcher.matchTokenAt_39(tokens, 0, 0, 'Feature'));7var gherkin = require('cucumber-gherkin');8var parser = new gherkin.Parser();9var tokenMatcher = new gherkin.TokenMatcher();10";11var tokens = parser.scan(feature);12console.log(tokenMatcher.matchTokenAt_39(tokens, 0, 0, 'Feature'));13var gherkin = require('cucumber-gherkin');14var parser = new gherkin.Parser();15var tokenMatcher = new gherkin.TokenMatcher();16";17var tokens = parser.scan(feature);18console.log(tokenMatcher.matchTokenAt_39(tokens, 0, 0, 'Feature'));19var gherkin = require('cucumber-gherkin');20var parser = new gherkin.Parser();21var tokenMatcher = new gherkin.TokenMatcher();

Full Screen

Using AI Code Generation

copy

Full Screen

1var gherkin = require('cucumber-gherkin');2var ast = gherkin.parse('Given I am a user');3console.log(ast);4var cucumber = require('cucumber');5var ast = cucumber.parse('Given I am a user');6console.log(ast);7var gherkin = require('cucumber-gherkin');8var ast = gherkin.parse('Given I am a user');9console.log(ast);10var cucumber = require('cucumber');11var ast = cucumber.parse('Given I am a user');12console.log(ast);13var gherkin = require('cucumber-gherkin');14var ast = gherkin.parse('Given I am a user');15console.log(ast);16var cucumber = require('cucumber');17var ast = cucumber.parse('Given I am a user');18console.log(ast);19var gherkin = require('cucumber-gherkin');20var ast = gherkin.parse('Given I am a user');21console.log(ast);22var cucumber = require('cucumber');23var ast = cucumber.parse('Given I am a user');24console.log(ast);25var gherkin = require('cucumber-gherkin');26var ast = gherkin.parse('Given I am a user');27console.log(ast);28var cucumber = require('cucumber');29var ast = cucumber.parse('Given I am a user');30console.log(ast);31var gherkin = require('cucumber-gherkin');32var ast = gherkin.parse('Given I am a user');33console.log(ast);34var cucumber = require('cucumber');35var ast = cucumber.parse('Given I am a user');36console.log(ast

Full Screen

Using AI Code Generation

copy

Full Screen

1var gherkin = require('gherkin');2var gherkinParser = new gherkin.Parser();3var gherkinLexer = new gherkin.Lexer(gherkinParser);4';5var token = gherkinLexer.matchTokenAt_39(gherkinSource, 0);6console.log(token);7{ matchedType: 0,8  matchedLine: 0 }

Full Screen

Cucumber Tutorial:

LambdaTest offers a detailed Cucumber testing tutorial, explaining its features, importance, best practices, and more to help you get started with running your automation testing scripts.

Cucumber Tutorial Chapters:

Here are the detailed Cucumber testing chapters to help you get started:

  • Importance of Cucumber - Learn why Cucumber is important in Selenium automation testing during the development phase to identify bugs and errors.
  • Setting Up Cucumber in Eclipse and IntelliJ - Learn how to set up Cucumber in Eclipse and IntelliJ.
  • Running First Cucumber.js Test Script - After successfully setting up your Cucumber in Eclipse or IntelliJ, this chapter will help you get started with Selenium Cucumber testing in no time.
  • Annotations in Cucumber - To handle multiple feature files and the multiple scenarios in each file, you need to use functionality to execute these scenarios. This chapter will help you learn about a handful of Cucumber annotations ranging from tags, Cucumber hooks, and more to ease the maintenance of the framework.
  • Automation Testing With Cucumber And Nightwatch JS - Learn how to build a robust BDD framework setup for performing Selenium automation testing by integrating Cucumber into the Nightwatch.js framework.
  • Automation Testing With Selenium, Cucumber & TestNG - Learn how to perform Selenium automation testing by integrating Cucumber with the TestNG framework.
  • Integrate Cucumber With Jenkins - By using Cucumber with Jenkins integration, you can schedule test case executions remotely and take advantage of the benefits of Jenkins. Learn how to integrate Cucumber with Jenkins with this detailed chapter.
  • Cucumber Best Practices For Selenium Automation - Take a deep dive into the advanced use cases, such as creating a feature file, separating feature files, and more for Cucumber testing.

Run Cucumber-gherkin automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful