Class GherkinParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- net.sourceforge.pmd.lang.gherkin.ast.GherkinParser
-
@Deprecated @Generated("org.antlr.v4.Tool") public class GherkinParser extends org.antlr.v4.runtime.Parser
Deprecated.Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.
-
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
Deprecated.protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
Deprecated.static String
_serializedATN
Deprecated.protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
Deprecated.static int
AND
Deprecated.static int
ANYSTEP
Deprecated.static int
BACKGROUND
Deprecated.static int
BOMUTF16
Deprecated.static int
BOMUTF8
Deprecated.static int
BUT
Deprecated.static int
COMMENT
Deprecated.static int
DATATABLE
Deprecated.static int
DOCSTRING1
Deprecated.static int
DOCSTRING2
Deprecated.static int
EXAMPLES
Deprecated.static int
FEATURE
Deprecated.static int
GIVEN
Deprecated.static int
NL
Deprecated.static int
PARAMETER
Deprecated.static int
RULE_and
Deprecated.static int
RULE_anystep
Deprecated.static int
RULE_background
Deprecated.static int
RULE_but
Deprecated.static int
RULE_datatable
Deprecated.static int
RULE_description
Deprecated.static int
RULE_examples
Deprecated.static int
RULE_feature
Deprecated.static int
RULE_given
Deprecated.static int
RULE_instruction
Deprecated.static int
RULE_instructionDescription
Deprecated.static int
RULE_instructionLine
Deprecated.static int
RULE_main
Deprecated.static int
RULE_rulex
Deprecated.static int
RULE_scenario
Deprecated.static int
RULE_scenarioOutline
Deprecated.static int
RULE_step
Deprecated.static int
RULE_stepDescription
Deprecated.static int
RULE_stepInstruction
Deprecated.static int
RULE_stepItem
Deprecated.static int
RULE_tagline
Deprecated.static int
RULE_text
Deprecated.static int
RULE_then
Deprecated.static int
RULE_when
Deprecated.static String[]
ruleNames
Deprecated.static int
RULEX
Deprecated.static int
SCENARIO
Deprecated.static int
SCENARIOOUTLINE
Deprecated.static int
STARTCOMMENT
Deprecated.static int
TAG
Deprecated.static int
THEN
Deprecated.static int
TOKEN
Deprecated.static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static org.antlr.v4.runtime.Vocabulary
VOCABULARY
Deprecated.static int
WHEN
Deprecated.static int
WHITESPACE
Deprecated.
-
Constructor Summary
Constructors Constructor Description GherkinParser(org.antlr.v4.runtime.TokenStream input)
Deprecated.
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.Parser
addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
Deprecated.
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
Deprecated.
-
BOMUTF8
public static final int BOMUTF8
Deprecated.- See Also:
- Constant Field Values
-
BOMUTF16
public static final int BOMUTF16
Deprecated.- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
Deprecated.- See Also:
- Constant Field Values
-
COMMENT
public static final int COMMENT
Deprecated.- See Also:
- Constant Field Values
-
STARTCOMMENT
public static final int STARTCOMMENT
Deprecated.- See Also:
- Constant Field Values
-
DOCSTRING1
public static final int DOCSTRING1
Deprecated.- See Also:
- Constant Field Values
-
DOCSTRING2
public static final int DOCSTRING2
Deprecated.- See Also:
- Constant Field Values
-
BACKGROUND
public static final int BACKGROUND
Deprecated.- See Also:
- Constant Field Values
-
EXAMPLES
public static final int EXAMPLES
Deprecated.- See Also:
- Constant Field Values
-
FEATURE
public static final int FEATURE
Deprecated.- See Also:
- Constant Field Values
-
RULEX
public static final int RULEX
Deprecated.- See Also:
- Constant Field Values
-
SCENARIO
public static final int SCENARIO
Deprecated.- See Also:
- Constant Field Values
-
SCENARIOOUTLINE
public static final int SCENARIOOUTLINE
Deprecated.- See Also:
- Constant Field Values
-
AND
public static final int AND
Deprecated.- See Also:
- Constant Field Values
-
ANYSTEP
public static final int ANYSTEP
Deprecated.- See Also:
- Constant Field Values
-
BUT
public static final int BUT
Deprecated.- See Also:
- Constant Field Values
-
DATATABLE
public static final int DATATABLE
Deprecated.- See Also:
- Constant Field Values
-
GIVEN
public static final int GIVEN
Deprecated.- See Also:
- Constant Field Values
-
THEN
public static final int THEN
Deprecated.- See Also:
- Constant Field Values
-
WHEN
public static final int WHEN
Deprecated.- See Also:
- Constant Field Values
-
TAG
public static final int TAG
Deprecated.- See Also:
- Constant Field Values
-
PARAMETER
public static final int PARAMETER
Deprecated.- See Also:
- Constant Field Values
-
NL
public static final int NL
Deprecated.- See Also:
- Constant Field Values
-
TOKEN
public static final int TOKEN
Deprecated.- See Also:
- Constant Field Values
-
RULE_main
public static final int RULE_main
Deprecated.- See Also:
- Constant Field Values
-
RULE_feature
public static final int RULE_feature
Deprecated.- See Also:
- Constant Field Values
-
RULE_instructionLine
public static final int RULE_instructionLine
Deprecated.- See Also:
- Constant Field Values
-
RULE_instruction
public static final int RULE_instruction
Deprecated.- See Also:
- Constant Field Values
-
RULE_stepInstruction
public static final int RULE_stepInstruction
Deprecated.- See Also:
- Constant Field Values
-
RULE_background
public static final int RULE_background
Deprecated.- See Also:
- Constant Field Values
-
RULE_rulex
public static final int RULE_rulex
Deprecated.- See Also:
- Constant Field Values
-
RULE_scenario
public static final int RULE_scenario
Deprecated.- See Also:
- Constant Field Values
-
RULE_scenarioOutline
public static final int RULE_scenarioOutline
Deprecated.- See Also:
- Constant Field Values
-
RULE_step
public static final int RULE_step
Deprecated.- See Also:
- Constant Field Values
-
RULE_stepItem
public static final int RULE_stepItem
Deprecated.- See Also:
- Constant Field Values
-
RULE_tagline
public static final int RULE_tagline
Deprecated.- See Also:
- Constant Field Values
-
RULE_and
public static final int RULE_and
Deprecated.- See Also:
- Constant Field Values
-
RULE_anystep
public static final int RULE_anystep
Deprecated.- See Also:
- Constant Field Values
-
RULE_but
public static final int RULE_but
Deprecated.- See Also:
- Constant Field Values
-
RULE_datatable
public static final int RULE_datatable
Deprecated.- See Also:
- Constant Field Values
-
RULE_given
public static final int RULE_given
Deprecated.- See Also:
- Constant Field Values
-
RULE_then
public static final int RULE_then
Deprecated.- See Also:
- Constant Field Values
-
RULE_when
public static final int RULE_when
Deprecated.- See Also:
- Constant Field Values
-
RULE_examples
public static final int RULE_examples
Deprecated.- See Also:
- Constant Field Values
-
RULE_instructionDescription
public static final int RULE_instructionDescription
Deprecated.- See Also:
- Constant Field Values
-
RULE_stepDescription
public static final int RULE_stepDescription
Deprecated.- See Also:
- Constant Field Values
-
RULE_description
public static final int RULE_description
Deprecated.- See Also:
- Constant Field Values
-
RULE_text
public static final int RULE_text
Deprecated.- See Also:
- Constant Field Values
-
ruleNames
public static final String[] ruleNames
Deprecated.
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
Deprecated.
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final String _serializedATN
Deprecated.- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
Deprecated.
-
-
Method Detail
-
getTokenNames
@Deprecated public String[] getTokenNames()
Deprecated.- Specified by:
getTokenNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
Deprecated.- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
Deprecated.- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
Deprecated.- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
Deprecated.- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
Deprecated.- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
main
public final GherkinParser.MainContext main() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
feature
public final GherkinParser.FeatureContext feature() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
instructionLine
public final GherkinParser.InstructionLineContext instructionLine() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
instruction
public final GherkinParser.InstructionContext instruction() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
stepInstruction
public final GherkinParser.StepInstructionContext stepInstruction() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
background
public final GherkinParser.BackgroundContext background() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
rulex
public final GherkinParser.RulexContext rulex() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
scenario
public final GherkinParser.ScenarioContext scenario() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
scenarioOutline
public final GherkinParser.ScenarioOutlineContext scenarioOutline() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
step
public final GherkinParser.StepContext step() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
stepItem
public final GherkinParser.StepItemContext stepItem() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
tagline
public final GherkinParser.TaglineContext tagline() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
and
public final GherkinParser.AndContext and() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
anystep
public final GherkinParser.AnystepContext anystep() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
but
public final GherkinParser.ButContext but() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
datatable
public final GherkinParser.DatatableContext datatable() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
given
public final GherkinParser.GivenContext given() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
then
public final GherkinParser.ThenContext then() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
when
public final GherkinParser.WhenContext when() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
examples
public final GherkinParser.ExamplesContext examples() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
instructionDescription
public final GherkinParser.InstructionDescriptionContext instructionDescription() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
stepDescription
public final GherkinParser.StepDescriptionContext stepDescription() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
description
public final GherkinParser.DescriptionContext description() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
text
public final GherkinParser.TextContext text() throws org.antlr.v4.runtime.RecognitionException
Deprecated.- Throws:
org.antlr.v4.runtime.RecognitionException
-
-