org.antlr.stringtemplate.language
Class ActionLexer
java.lang.Object
antlr.CharScanner
org.antlr.stringtemplate.language.ActionLexer
- All Implemented Interfaces:
- antlr.TokenStream, ActionParserTokenTypes
public class ActionLexer
- extends antlr.CharScanner
- implements ActionParserTokenTypes, antlr.TokenStream
Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth |
Fields inherited from interface org.antlr.stringtemplate.language.ActionParserTokenTypes |
ANONYMOUS_TEMPLATE, APPLY, ARGS, ASSIGN, COLON, COMMA, CONDITIONAL, DOT, DOTDOTDOT, EOF, ESC_CHAR, FUNCTION, ID, INCLUDE, INT, LBRACK, LIST, LITERAL_elseif, LITERAL_first, LITERAL_last, LITERAL_length, LITERAL_rest, LITERAL_strip, LITERAL_super, LITERAL_trunc, LPAREN, MULTI_APPLY, NESTED_ANONYMOUS_TEMPLATE, NOT, NOTHING, NULL_TREE_LOOKAHEAD, PLUS, RBRACK, RPAREN, SEMI, SINGLEVALUEARG, STRING, TEMPLATE, TEMPLATE_ARGS, VALUE, WS, WS_CHAR |
Method Summary |
void |
mANONYMOUS_TEMPLATE(boolean _createToken)
|
void |
mASSIGN(boolean _createToken)
|
void |
mCOLON(boolean _createToken)
|
void |
mCOMMA(boolean _createToken)
|
void |
mDOT(boolean _createToken)
|
void |
mDOTDOTDOT(boolean _createToken)
|
protected void |
mESC_CHAR(boolean _createToken,
boolean doEscape)
Match escape sequences, optionally translating them for strings, but not
for templates. |
void |
mID(boolean _createToken)
|
void |
mINT(boolean _createToken)
|
void |
mLBRACK(boolean _createToken)
|
void |
mLPAREN(boolean _createToken)
|
protected void |
mNESTED_ANONYMOUS_TEMPLATE(boolean _createToken)
|
void |
mNOT(boolean _createToken)
|
void |
mPLUS(boolean _createToken)
|
void |
mRBRACK(boolean _createToken)
|
void |
mRPAREN(boolean _createToken)
|
void |
mSEMI(boolean _createToken)
|
void |
mSTRING(boolean _createToken)
|
protected java.util.List |
mTEMPLATE_ARGS(boolean _createToken)
|
protected void |
mWS_CHAR(boolean _createToken)
|
void |
mWS(boolean _createToken)
|
antlr.Token |
nextToken()
|
Methods inherited from class antlr.CharScanner |
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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
ActionLexer
public ActionLexer(java.io.InputStream in)
ActionLexer
public ActionLexer(java.io.Reader in)
ActionLexer
public ActionLexer(antlr.InputBuffer ib)
ActionLexer
public ActionLexer(antlr.LexerSharedInputState state)
nextToken
public antlr.Token nextToken()
throws antlr.TokenStreamException
- Specified by:
nextToken
in interface antlr.TokenStream
- Throws:
antlr.TokenStreamException
mID
public final void mID(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mINT
public final void mINT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mSTRING
public final void mSTRING(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mESC_CHAR
protected final void mESC_CHAR(boolean _createToken,
boolean doEscape)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Match escape sequences, optionally translating them for strings, but not
for templates. Do \} only when in {...} templates.
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mANONYMOUS_TEMPLATE
public final void mANONYMOUS_TEMPLATE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mTEMPLATE_ARGS
protected final java.util.List mTEMPLATE_ARGS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mWS_CHAR
protected final void mWS_CHAR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mNESTED_ANONYMOUS_TEMPLATE
protected final void mNESTED_ANONYMOUS_TEMPLATE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLBRACK
public final void mLBRACK(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRBRACK
public final void mRBRACK(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mLPAREN
public final void mLPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mRPAREN
public final void mRPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mCOMMA
public final void mCOMMA(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mDOT
public final void mDOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mASSIGN
public final void mASSIGN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mCOLON
public final void mCOLON(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mPLUS
public final void mPLUS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mSEMI
public final void mSEMI(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mNOT
public final void mNOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mDOTDOTDOT
public final void mDOTDOTDOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
mWS
public final void mWS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException