antlr
public class ANTLRTokdefParser extends LLkParser implements ANTLRTokdefParserTokenTypes
Field Summary | |
---|---|
static String[] | _tokenNames |
static BitSet | _tokenSet_0 |
static BitSet | _tokenSet_1 |
Constructor Summary | |
---|---|
protected | ANTLRTokdefParser(TokenBuffer tokenBuf, int k) |
ANTLRTokdefParser(TokenBuffer tokenBuf) | |
protected | ANTLRTokdefParser(TokenStream lexer, int k) |
ANTLRTokdefParser(TokenStream lexer) | |
ANTLRTokdefParser(ParserSharedInputState state) |
Method Summary | |
---|---|
void | file(ImportVocabTokenManager tm) |
protected Tool | getTool() |
void | line(ImportVocabTokenManager tm) |
void | reportError(String s) Delegates the error message to the tool if any was registered via
{@link #initTool(antlr.Tool)} |
void | reportError(RecognitionException e) Delegates the error message to the tool if any was registered via
{@link #initTool(antlr.Tool)} |
void | reportWarning(String s) Delegates the warning message to the tool if any was registered via
{@link #initTool(antlr.Tool)} |
void | setTool(Tool tool) In order to make it so existing subclasses don't break, we won't require
that the antlr.Tool instance be passed as a constructor element. |
Since: 2.7.2
Since: 2.7.2
Since: 2.7.2
Since: 2.7.2
Throws: IllegalStateException if a tool has already been registered
Since: 2.7.2