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
FieldsModifier and TypeFieldDescriptionstatic final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
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
ConstructorsConstructorDescriptionActionLexer
(antlr.InputBuffer ib) ActionLexer
(antlr.LexerSharedInputState state) ActionLexer
(Reader in) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
mANONYMOUS_TEMPLATE
(boolean _createToken) final void
mASSIGN
(boolean _createToken) final void
mCOLON
(boolean _createToken) final void
mCOMMA
(boolean _createToken) final void
mDOT
(boolean _createToken) final void
mDOTDOTDOT
(boolean _createToken) protected final void
mESC_CHAR
(boolean _createToken, boolean doEscape) Match escape sequences, optionally translating them for strings, but not for templates.final void
mID
(boolean _createToken) final void
mINT
(boolean _createToken) final void
mLBRACK
(boolean _createToken) final void
mLPAREN
(boolean _createToken) protected final void
mNESTED_ANONYMOUS_TEMPLATE
(boolean _createToken) final void
mNOT
(boolean _createToken) final void
mPLUS
(boolean _createToken) final void
mRBRACK
(boolean _createToken) final void
mRPAREN
(boolean _createToken) final void
mSEMI
(boolean _createToken) final void
mSTRING
(boolean _createToken) protected final List
mTEMPLATE_ARGS
(boolean _createToken) final void
mWS
(boolean _createToken) protected final void
mWS_CHAR
(boolean _createToken) antlr.Token
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 Details
-
_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
-
-
Constructor Details
-
ActionLexer
-
ActionLexer
-
ActionLexer
public ActionLexer(antlr.InputBuffer ib)
-
-
Method Details
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
nextToken
in interfaceantlr.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 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
-