Class YangStatementParser
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
- org.antlr.v4.runtime.Parser
-
- org.opendaylight.yangtools.yang.parser.antlr.YangStatementParser
-
public class YangStatementParser extends org.antlr.v4.runtime.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YangStatementParser.ArgumentContext
static class
YangStatementParser.FileContext
static class
YangStatementParser.KeywordContext
static class
YangStatementParser.StatementContext
static class
YangStatementParser.UnquotedStringContext
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
BLOCK_COMMENT
static int
COLON
static int
DQUOT_END
static int
DQUOT_START
static int
DQUOT_STRING
static int
IDENTIFIER
static int
LEFT_BRACE
static int
LINE_COMMENT
static int
PLUS
static int
RIGHT_BRACE
static int
RULE_argument
static int
RULE_file
static int
RULE_keyword
static int
RULE_statement
static int
RULE_unquotedString
static String[]
ruleNames
static int
SEMICOLON
static int
SEP
static int
SLASH
static int
SQUOT_END
static int
SQUOT_START
static int
SQUOT_STRING
static int
STAR
static String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
UQUOT_STRING
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
-
Constructor Summary
Constructors Constructor Description YangStatementParser(org.antlr.v4.runtime.TokenStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description YangStatementParser.ArgumentContext
argument()
YangStatementParser.FileContext
file()
org.antlr.v4.runtime.atn.ATN
getATN()
String
getGrammarFileName()
String[]
getRuleNames()
String
getSerializedATN()
String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
YangStatementParser.KeywordContext
keyword()
YangStatementParser.StatementContext
statement()
YangStatementParser.UnquotedStringContext
unquotedString()
-
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
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
SEMICOLON
public static final int SEMICOLON
- See Also:
- Constant Field Values
-
LEFT_BRACE
public static final int LEFT_BRACE
- See Also:
- Constant Field Values
-
RIGHT_BRACE
public static final int RIGHT_BRACE
- See Also:
- Constant Field Values
-
SEP
public static final int SEP
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final int IDENTIFIER
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
SLASH
public static final int SLASH
- See Also:
- Constant Field Values
-
STAR
public static final int STAR
- See Also:
- Constant Field Values
-
DQUOT_STRING
public static final int DQUOT_STRING
- See Also:
- Constant Field Values
-
SQUOT_STRING
public static final int SQUOT_STRING
- See Also:
- Constant Field Values
-
UQUOT_STRING
public static final int UQUOT_STRING
- See Also:
- Constant Field Values
-
LINE_COMMENT
public static final int LINE_COMMENT
- See Also:
- Constant Field Values
-
BLOCK_COMMENT
public static final int BLOCK_COMMENT
- See Also:
- Constant Field Values
-
DQUOT_START
public static final int DQUOT_START
- See Also:
- Constant Field Values
-
SQUOT_START
public static final int SQUOT_START
- See Also:
- Constant Field Values
-
DQUOT_END
public static final int DQUOT_END
- See Also:
- Constant Field Values
-
SQUOT_END
public static final int SQUOT_END
- See Also:
- Constant Field Values
-
RULE_file
public static final int RULE_file
- See Also:
- Constant Field Values
-
RULE_statement
public static final int RULE_statement
- See Also:
- Constant Field Values
-
RULE_keyword
public static final int RULE_keyword
- See Also:
- Constant Field Values
-
RULE_argument
public static final int RULE_argument
- See Also:
- Constant Field Values
-
RULE_unquotedString
public static final int RULE_unquotedString
- See Also:
- Constant Field Values
-
ruleNames
public static final String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
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()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getGrammarFileName
public String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getRuleNames
public String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
getSerializedATN
public String getSerializedATN()
- 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()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
-
file
public final YangStatementParser.FileContext file() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
statement
public final YangStatementParser.StatementContext statement() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
keyword
public final YangStatementParser.KeywordContext keyword() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
argument
public final YangStatementParser.ArgumentContext argument() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
unquotedString
public final YangStatementParser.UnquotedStringContext unquotedString() throws org.antlr.v4.runtime.RecognitionException
- Throws:
org.antlr.v4.runtime.RecognitionException
-
-