public class TemplateParser extends antlr.LLkParser implements TemplateParserTokenTypes
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
protected StringTemplate |
self |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepthACTION, COMMENT, ELSE, ELSEIF, ENDIF, EOF, ESC, ESC_CHAR, EXPR, HEX, IF, IF_EXPR, INDENT, LINE_BREAK, LITERAL, NESTED_PARENS, NEWLINE, NULL_TREE_LOOKAHEAD, REGION_DEF, REGION_REF, SUBTEMPLATE, TEMPLATE| Modifier | Constructor and Description |
|---|---|
|
TemplateParser(antlr.ParserSharedInputState state) |
|
TemplateParser(antlr.TokenBuffer tokenBuf) |
protected |
TemplateParser(antlr.TokenBuffer tokenBuf,
int k) |
|
TemplateParser(antlr.TokenStream lexer) |
protected |
TemplateParser(antlr.TokenStream lexer,
int k) |
| Modifier and Type | Method and Description |
|---|---|
void |
action(StringTemplate self) |
void |
reportError(antlr.RecognitionException e) |
void |
template(StringTemplate self) |
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, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndentprotected StringTemplate self
public static final java.lang.String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
protected TemplateParser(antlr.TokenBuffer tokenBuf,
int k)
public TemplateParser(antlr.TokenBuffer tokenBuf)
protected TemplateParser(antlr.TokenStream lexer,
int k)
public TemplateParser(antlr.TokenStream lexer)
public TemplateParser(antlr.ParserSharedInputState state)
public void reportError(antlr.RecognitionException e)
reportError in class antlr.Parserpublic final void template(StringTemplate self) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionpublic final void action(StringTemplate self) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionCopyright ? 2006-2015 Terence Parr