org.antlr.stringtemplate.language
Class ActionParser
java.lang.Object
antlr.Parser
antlr.LLkParser
org.antlr.stringtemplate.language.ActionParser
- All Implemented Interfaces:
- ActionParserTokenTypes
- public class ActionParser
- extends antlr.LLkParser
- implements ActionParserTokenTypes
Parse the individual attribute expressions
Fields inherited from interface org.antlr.stringtemplate.language.ActionParserTokenTypes |
ANONYMOUS_TEMPLATE, APPLY, ARGS, ASSIGN, COLON, COMMA, CONDITIONAL, DOT, EOF, ESC_CHAR, ID, INCLUDE, INT, LITERAL_separator, LITERAL_super, LPAREN, NESTED_ANONYMOUS_TEMPLATE, NOT, NULL_TREE_LOOKAHEAD, PLUS, RPAREN, SEMI, STRING, TEMPLATE, VALUE, WS |
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, 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, traceIndent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
ActionParser
public ActionParser(antlr.TokenStream lexer,
StringTemplate self)
ActionParser
public ActionParser(antlr.TokenBuffer tokenBuf)
ActionParser
public ActionParser(antlr.TokenStream lexer)
ActionParser
public ActionParser(antlr.ParserSharedInputState state)
reportError
public void reportError(antlr.RecognitionException e)
action
public final java.util.Map action()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
templatesExpr
public final void templatesExpr()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
optionList
public final java.util.Map optionList()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ifCondition
public final void ifCondition()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
expr
public final void expr()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ifAtom
public final void ifAtom()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
atom
public final void atom()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
attribute
public final void attribute()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
templateInclude
public final void templateInclude()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
template
public final void template()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
nonAlternatingTemplateExpr
public final void nonAlternatingTemplateExpr()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
namedTemplate
public final void namedTemplate()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
anonymousTemplate
public final void anonymousTemplate()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
argList
public final void argList()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
indirectTemplate
public final void indirectTemplate()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Match (foo)() and (foo+".terse")()
breaks encapsulation
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
objPropertyRef
public final void objPropertyRef()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
argumentAssignment
public final void argumentAssignment()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException