public class PtbTreeParser
extends org.antlr.v4.runtime.Parser
Modifier and Type | Class and Description |
---|---|
static class |
PtbTreeParser.CorpusContext |
static class |
PtbTreeParser.TreeContext |
Modifier and Type | Field and Description |
---|---|
static org.antlr.v4.runtime.atn.ATN |
_ATN |
static String |
_serializedATN |
static int |
BKCLOSE |
static int |
BKOPEN |
static int |
NAME |
static int |
RULE_corpus |
static int |
RULE_tree |
static String[] |
ruleNames |
static String[] |
tokenNames
Deprecated.
Use
VOCABULARY instead. |
static org.antlr.v4.runtime.Vocabulary |
VOCABULARY |
static int |
WS |
Constructor and Description |
---|
PtbTreeParser(org.antlr.v4.runtime.TokenStream input) |
Modifier and Type | Method and Description |
---|---|
PtbTreeParser.CorpusContext |
corpus() |
org.antlr.v4.runtime.atn.ATN |
getATN() |
String |
getGrammarFileName() |
String[] |
getRuleNames() |
String |
getSerializedATN() |
String[] |
getTokenNames()
Deprecated.
|
org.antlr.v4.runtime.Vocabulary |
getVocabulary() |
PtbTreeParser.TreeContext |
tree() |
addParseListener, compileParseTreePattern, compileParseTreePattern, consume, 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, unrollRecursionContexts
action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState
public static final int BKOPEN
public static final int BKCLOSE
public static final int NAME
public static final int WS
public static final int RULE_corpus
public static final int RULE_tree
public static final String[] ruleNames
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
@Deprecated public static final String[] tokenNames
VOCABULARY
instead.public static final String _serializedATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
@Deprecated public String[] getTokenNames()
getTokenNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public org.antlr.v4.runtime.Vocabulary getVocabulary()
getVocabulary
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String getGrammarFileName()
getGrammarFileName
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String[] getRuleNames()
getRuleNames
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public String getSerializedATN()
getSerializedATN
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public org.antlr.v4.runtime.atn.ATN getATN()
getATN
in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
public final PtbTreeParser.CorpusContext corpus() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
public final PtbTreeParser.TreeContext tree() throws org.antlr.v4.runtime.RecognitionException
org.antlr.v4.runtime.RecognitionException
Copyright © 2017. All rights reserved.