java.lang.Object
antlr.Parser
antlr.LLkParser
de.grogra.xl.parser.Parser
public abstract class Parser
extends antlr.LLkParser
-
Field Summary
Modifier and TypeFieldDescriptionprotected final RecognitionExceptionList
static final I18NBundle
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RecognitionExceptionList
final RecognitionExceptionList
final void
parse()
protected abstract antlr.collections.AST
void
printTree
(antlr.collections.AST root, int indentation) void
reset()
void
setDumpTree
(boolean dump) void
void
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
-
Field Details
-
I18N
-
exceptionList
-
-
Constructor Details
-
Parser
protected Parser(antlr.TokenBuffer buffer, int k) -
Parser
protected Parser(antlr.TokenStream lexer, int k)
-
-
Method Details
-
setSource
-
setSource
-
setDumpTree
public void setDumpTree(boolean dump) -
parseGoalSymbol
protected abstract antlr.collections.AST parseGoalSymbol() throws antlr.RecognitionException, antlr.TokenStreamException- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
reset
public void reset() -
parse
- Throws:
RecognitionException
IOException
-
getExceptionList
-
createExceptionList
-
printTree
public void printTree(antlr.collections.AST root, int indentation)
-