java.lang.Object
io.cucumber.gherkin.Parser<T>
This class was generated by Berp.
Changes to this class will be lost if the code is regenerated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static final class(package private) static enum(package private) static interface(package private) static enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddError(Parser.ParserContext context, ParserError error) private voidbuild(Parser.ParserContext context, Token token) private voidendRule(Parser.ParserContext context, Parser.RuleType ruleType) private <V> voidhandleAstError(Parser.ParserContext context, V value, Parser.Builder<T> b, ThrowingBiConsumer<Parser.Builder<T>, V> action) private booleanhandleExternalError(Parser.ParserContext context, Token token, ThrowingBiPredicate<Parser.TokenMatcher, Token> action) private booleanlookahead_0(Parser.ParserContext context) private booleanlookahead_1(Parser.ParserContext context) private booleanmatch_BackgroundLine(Parser.ParserContext context, Token token) private booleanmatch_Comment(Parser.ParserContext context, Token token) private booleanmatch_DocStringSeparator(Parser.ParserContext context, Token token) private booleanmatch_Empty(Parser.ParserContext context, Token token) private booleanmatch_EOF(Parser.ParserContext context, Token token) private booleanmatch_ExamplesLine(Parser.ParserContext context, Token token) private booleanmatch_FeatureLine(Parser.ParserContext context, Token token) private booleanmatch_Language(Parser.ParserContext context, Token token) private booleanmatch_Other(Parser.ParserContext context, Token token) private booleanmatch_RuleLine(Parser.ParserContext context, Token token) private booleanmatch_ScenarioLine(Parser.ParserContext context, Token token) private booleanmatch_StepLine(Parser.ParserContext context, Token token) private booleanmatch_TableRow(Parser.ParserContext context, Token token) private booleanmatch_TagLine(Parser.ParserContext context, Token token) private intmatchToken(int state, Token token, Parser.ParserContext context) private intmatchTokenAt_0(Token token, Parser.ParserContext context) private intmatchTokenAt_1(Token token, Parser.ParserContext context) private intmatchTokenAt_10(Token token, Parser.ParserContext context) private intmatchTokenAt_11(Token token, Parser.ParserContext context) private intmatchTokenAt_12(Token token, Parser.ParserContext context) private intmatchTokenAt_13(Token token, Parser.ParserContext context) private intmatchTokenAt_14(Token token, Parser.ParserContext context) private intmatchTokenAt_15(Token token, Parser.ParserContext context) private intmatchTokenAt_16(Token token, Parser.ParserContext context) private intmatchTokenAt_17(Token token, Parser.ParserContext context) private intmatchTokenAt_18(Token token, Parser.ParserContext context) private intmatchTokenAt_19(Token token, Parser.ParserContext context) private intmatchTokenAt_2(Token token, Parser.ParserContext context) private intmatchTokenAt_20(Token token, Parser.ParserContext context) private intmatchTokenAt_21(Token token, Parser.ParserContext context) private intmatchTokenAt_22(Token token, Parser.ParserContext context) private intmatchTokenAt_23(Token token, Parser.ParserContext context) private intmatchTokenAt_24(Token token, Parser.ParserContext context) private intmatchTokenAt_25(Token token, Parser.ParserContext context) private intmatchTokenAt_26(Token token, Parser.ParserContext context) private intmatchTokenAt_27(Token token, Parser.ParserContext context) private intmatchTokenAt_28(Token token, Parser.ParserContext context) private intmatchTokenAt_29(Token token, Parser.ParserContext context) private intmatchTokenAt_3(Token token, Parser.ParserContext context) private intmatchTokenAt_30(Token token, Parser.ParserContext context) private intmatchTokenAt_31(Token token, Parser.ParserContext context) private intmatchTokenAt_32(Token token, Parser.ParserContext context) private intmatchTokenAt_33(Token token, Parser.ParserContext context) private intmatchTokenAt_34(Token token, Parser.ParserContext context) private intmatchTokenAt_35(Token token, Parser.ParserContext context) private intmatchTokenAt_36(Token token, Parser.ParserContext context) private intmatchTokenAt_37(Token token, Parser.ParserContext context) private intmatchTokenAt_38(Token token, Parser.ParserContext context) private intmatchTokenAt_39(Token token, Parser.ParserContext context) private intmatchTokenAt_4(Token token, Parser.ParserContext context) private intmatchTokenAt_40(Token token, Parser.ParserContext context) private intmatchTokenAt_41(Token token, Parser.ParserContext context) private intmatchTokenAt_43(Token token, Parser.ParserContext context) private intmatchTokenAt_44(Token token, Parser.ParserContext context) private intmatchTokenAt_45(Token token, Parser.ParserContext context) private intmatchTokenAt_46(Token token, Parser.ParserContext context) private intmatchTokenAt_47(Token token, Parser.ParserContext context) private intmatchTokenAt_48(Token token, Parser.ParserContext context) private intmatchTokenAt_49(Token token, Parser.ParserContext context) private intmatchTokenAt_5(Token token, Parser.ParserContext context) private intmatchTokenAt_50(Token token, Parser.ParserContext context) private intmatchTokenAt_51(Token token, Parser.ParserContext context) private intmatchTokenAt_52(Token token, Parser.ParserContext context) private intmatchTokenAt_53(Token token, Parser.ParserContext context) private intmatchTokenAt_54(Token token, Parser.ParserContext context) private intmatchTokenAt_6(Token token, Parser.ParserContext context) private intmatchTokenAt_7(Token token, Parser.ParserContext context) private intmatchTokenAt_8(Token token, Parser.ParserContext context) private intmatchTokenAt_9(Token token, Parser.ParserContext context) (package private) Tparse(TokenScanner tokenScanner, Parser.TokenMatcher tokenMatcher, String uri) (package private) Tparse(TokenScanner tokenScanner, String uri) (package private) Tparse(String source, Parser.TokenMatcher tokenMatcher, String uri) (package private) Tprivate TokenreadToken(Parser.ParserContext context) private voidstartRule(Parser.ParserContext context, Parser.RuleType ruleType)
-
Field Details
-
builder
-
-
Constructor Details
-
Parser
Parser(Parser.Builder<T> builder)
-
-
Method Details
-
parse
- Throws:
ParserException
-
parse
- Throws:
ParserException
-
parse
- Throws:
ParserException
-
parse
T parse(TokenScanner tokenScanner, Parser.TokenMatcher tokenMatcher, String uri) throws ParserException - Throws:
ParserException
-
addError
- Throws:
ParserException
-
handleAstError
private <V> void handleAstError(Parser.ParserContext context, V value, Parser.Builder<T> b, ThrowingBiConsumer<Parser.Builder<T>, V> action) throws ParserException- Throws:
ParserException
-
handleExternalError
private boolean handleExternalError(Parser.ParserContext context, Token token, ThrowingBiPredicate<Parser.TokenMatcher, Token> action) throws ParserException- Throws:
ParserException
-
build
- Throws:
ParserException
-
startRule
private void startRule(Parser.ParserContext context, Parser.RuleType ruleType) throws ParserException - Throws:
ParserException
-
endRule
- Throws:
ParserException
-
readToken
-
match_EOF
- Throws:
ParserException
-
match_Empty
- Throws:
ParserException
-
match_Comment
- Throws:
ParserException
-
match_TagLine
- Throws:
ParserException
-
match_FeatureLine
- Throws:
ParserException
-
match_RuleLine
- Throws:
ParserException
-
match_BackgroundLine
private boolean match_BackgroundLine(Parser.ParserContext context, Token token) throws ParserException - Throws:
ParserException
-
match_ScenarioLine
private boolean match_ScenarioLine(Parser.ParserContext context, Token token) throws ParserException - Throws:
ParserException
-
match_ExamplesLine
private boolean match_ExamplesLine(Parser.ParserContext context, Token token) throws ParserException - Throws:
ParserException
-
match_StepLine
- Throws:
ParserException
-
match_DocStringSeparator
private boolean match_DocStringSeparator(Parser.ParserContext context, Token token) throws ParserException - Throws:
ParserException
-
match_TableRow
- Throws:
ParserException
-
match_Language
- Throws:
ParserException
-
match_Other
- Throws:
ParserException
-
matchToken
- Throws:
ParserException
-
matchTokenAt_0
- Throws:
ParserException
-
matchTokenAt_1
- Throws:
ParserException
-
matchTokenAt_2
- Throws:
ParserException
-
matchTokenAt_3
- Throws:
ParserException
-
matchTokenAt_4
- Throws:
ParserException
-
matchTokenAt_5
- Throws:
ParserException
-
matchTokenAt_6
- Throws:
ParserException
-
matchTokenAt_7
- Throws:
ParserException
-
matchTokenAt_8
- Throws:
ParserException
-
matchTokenAt_9
- Throws:
ParserException
-
matchTokenAt_10
- Throws:
ParserException
-
matchTokenAt_11
- Throws:
ParserException
-
matchTokenAt_12
- Throws:
ParserException
-
matchTokenAt_13
- Throws:
ParserException
-
matchTokenAt_14
- Throws:
ParserException
-
matchTokenAt_15
- Throws:
ParserException
-
matchTokenAt_16
- Throws:
ParserException
-
matchTokenAt_17
- Throws:
ParserException
-
matchTokenAt_18
- Throws:
ParserException
-
matchTokenAt_19
- Throws:
ParserException
-
matchTokenAt_20
- Throws:
ParserException
-
matchTokenAt_21
- Throws:
ParserException
-
matchTokenAt_22
- Throws:
ParserException
-
matchTokenAt_23
- Throws:
ParserException
-
matchTokenAt_24
- Throws:
ParserException
-
matchTokenAt_25
- Throws:
ParserException
-
matchTokenAt_26
- Throws:
ParserException
-
matchTokenAt_27
- Throws:
ParserException
-
matchTokenAt_28
- Throws:
ParserException
-
matchTokenAt_29
- Throws:
ParserException
-
matchTokenAt_30
- Throws:
ParserException
-
matchTokenAt_31
- Throws:
ParserException
-
matchTokenAt_32
- Throws:
ParserException
-
matchTokenAt_33
- Throws:
ParserException
-
matchTokenAt_34
- Throws:
ParserException
-
matchTokenAt_35
- Throws:
ParserException
-
matchTokenAt_36
- Throws:
ParserException
-
matchTokenAt_37
- Throws:
ParserException
-
matchTokenAt_38
- Throws:
ParserException
-
matchTokenAt_39
- Throws:
ParserException
-
matchTokenAt_40
- Throws:
ParserException
-
matchTokenAt_41
- Throws:
ParserException
-
matchTokenAt_43
- Throws:
ParserException
-
matchTokenAt_44
- Throws:
ParserException
-
matchTokenAt_45
- Throws:
ParserException
-
matchTokenAt_46
- Throws:
ParserException
-
matchTokenAt_47
- Throws:
ParserException
-
matchTokenAt_48
- Throws:
ParserException
-
matchTokenAt_49
- Throws:
ParserException
-
matchTokenAt_50
- Throws:
ParserException
-
matchTokenAt_51
- Throws:
ParserException
-
matchTokenAt_52
- Throws:
ParserException
-
matchTokenAt_53
- Throws:
ParserException
-
matchTokenAt_54
- Throws:
ParserException
-
lookahead_0
- Throws:
ParserException
-
lookahead_1
- Throws:
ParserException
-