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
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet_tokenSet_0static antlr.collections.impl.BitSet_tokenSet_1static antlr.collections.impl.BitSet_tokenSet_2static antlr.collections.impl.BitSet_tokenSet_3static antlr.collections.impl.BitSet_tokenSet_4static antlr.collections.impl.BitSet_tokenSet_5static antlr.collections.impl.BitSet_tokenSet_6-
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
-
-
Constructor Summary
Constructors Constructor Description ActionLexer(antlr.InputBuffer ib)ActionLexer(antlr.LexerSharedInputState state)ActionLexer(java.io.InputStream in)ActionLexer(java.io.Reader in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmANONYMOUS_TEMPLATE(boolean _createToken)voidmASSIGN(boolean _createToken)voidmCOLON(boolean _createToken)voidmCOMMA(boolean _createToken)voidmDOT(boolean _createToken)voidmDOTDOTDOT(boolean _createToken)protected voidmESC_CHAR(boolean _createToken, boolean doEscape)Match escape sequences, optionally translating them for strings, but not for templates.voidmID(boolean _createToken)voidmINT(boolean _createToken)voidmLBRACK(boolean _createToken)voidmLPAREN(boolean _createToken)protected voidmNESTED_ANONYMOUS_TEMPLATE(boolean _createToken)voidmNOT(boolean _createToken)voidmPLUS(boolean _createToken)voidmRBRACK(boolean _createToken)voidmRPAREN(boolean _createToken)voidmSEMI(boolean _createToken)voidmSTRING(boolean _createToken)protected java.util.ListmTEMPLATE_ARGS(boolean _createToken)voidmWS(boolean _createToken)protected voidmWS_CHAR(boolean _createToken)antlr.TokennextToken()-
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
-
-
-
-
Field Detail
-
_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
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
nextTokenin interfaceantlr.TokenStream- Throws:
antlr.TokenStreamException
-
mID
public final void mID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mINT
public final void mINT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSTRING
public final void mSTRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mESC_CHAR
protected final void mESC_CHAR(boolean _createToken, boolean doEscape) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamExceptionMatch escape sequences, optionally translating them for strings, but not for templates. Do \} only when in {...} templates.- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mANONYMOUS_TEMPLATE
public final void mANONYMOUS_TEMPLATE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mTEMPLATE_ARGS
protected final java.util.List mTEMPLATE_ARGS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mWS_CHAR
protected final void mWS_CHAR(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNESTED_ANONYMOUS_TEMPLATE
protected final void mNESTED_ANONYMOUS_TEMPLATE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLBRACK
public final void mLBRACK(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mRBRACK
public final void mRBRACK(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mLPAREN
public final void mLPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mRPAREN
public final void mRPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDOT
public final void mDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mASSIGN
public final void mASSIGN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mPLUS
public final void mPLUS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mSEMI
public final void mSEMI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mNOT
public final void mNOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mDOTDOTDOT
public final void mDOTDOTDOT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException- Throws:
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamException
-
-