public class ANTLRLexer extends antlr.CharScanner implements ANTLRTokenTypes, antlr.TokenStream
| Modifier and Type | Field and Description |
|---|---|
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
static antlr.collections.impl.BitSet |
_tokenSet_6 |
static antlr.collections.impl.BitSet |
_tokenSet_7 |
static antlr.collections.impl.BitSet |
_tokenSet_8 |
boolean |
hasASTOperator |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepthACTION, ACTION_CHAR_LITERAL, ACTION_ESC, ACTION_STRING_LITERAL, ALT, AMPERSAND, ARG, ARG_ACTION, ARGLIST, ASSIGN, BACKTRACK_SEMPRED, BANG, BLOCK, CHAR_LITERAL, CHAR_RANGE, CLOSE_ELEMENT_OPTION, CLOSURE, COLON, COMBINED_GRAMMAR, COMMA, COMMENT, DIGIT, DOC_COMMENT, DOLLAR, DOT, DOUBLE_ANGLE_STRING_LITERAL, DOUBLE_QUOTE_STRING_LITERAL, EOA, EOB, EOF, EOR, EPSILON, ESC, ETC, FORCED_ACTION, FRAGMENT, GATED_SEMPRED, ID, IMPLIES, IMPORT, INITACTION, INT, INTERNAL_RULE_REF, LABEL, LEXER, LEXER_GRAMMAR, LITERAL_catch, LITERAL_finally, LITERAL_grammar, LITERAL_lexer, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tree, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONAL, OPTIONS, OR, PARSER, PARSER_GRAMMAR, PLUS, PLUS_ASSIGN, POSITIVE_CLOSURE, QUESTION, RANGE, RCURLY, RET, REWRITE, ROOT, RPAREN, RULE, RULE_REF, SCOPE, SEMI, SEMPRED, SL_COMMENT, SRC, STAR, STRAY_BRACKET, STRING_LITERAL, SYN_SEMPRED, SYNPRED, TEMPLATE, TOKEN_REF, TOKENS, TREE_BEGIN, TREE_GRAMMAR, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT| Constructor and Description |
|---|
ANTLRLexer(antlr.InputBuffer ib) |
ANTLRLexer(InputStream in) |
ANTLRLexer(antlr.LexerSharedInputState state) |
ANTLRLexer(Reader in) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
mACTION_CHAR_LITERAL(boolean _createToken) |
protected void |
mACTION_ESC(boolean _createToken) |
protected void |
mACTION_STRING_LITERAL(boolean _createToken) |
void |
mACTION(boolean _createToken) |
void |
mAMPERSAND(boolean _createToken) |
void |
mARG_ACTION(boolean _createToken) |
void |
mASSIGN(boolean _createToken) |
void |
mBANG(boolean _createToken) |
void |
mCHAR_LITERAL(boolean _createToken) |
void |
mCLOSE_ELEMENT_OPTION(boolean _createToken) |
void |
mCOLON(boolean _createToken) |
void |
mCOMMA(boolean _createToken) |
void |
mCOMMENT(boolean _createToken) |
protected void |
mDIGIT(boolean _createToken) |
void |
mDOLLAR(boolean _createToken) |
void |
mDOUBLE_ANGLE_STRING_LITERAL(boolean _createToken) |
void |
mDOUBLE_QUOTE_STRING_LITERAL(boolean _createToken) |
protected void |
mESC(boolean _createToken) |
void |
mETC(boolean _createToken) |
void |
mIMPLIES(boolean _createToken) |
void |
mINT(boolean _createToken) |
protected int |
mINTERNAL_RULE_REF(boolean _createToken) |
void |
mLPAREN(boolean _createToken) |
protected void |
mML_COMMENT(boolean _createToken) |
protected void |
mNESTED_ACTION(boolean _createToken) |
protected void |
mNESTED_ARG_ACTION(boolean _createToken) |
void |
mNOT(boolean _createToken) |
void |
mOPEN_ELEMENT_OPTION(boolean _createToken) |
void |
mOR(boolean _createToken) |
void |
mPLUS_ASSIGN(boolean _createToken) |
void |
mPLUS(boolean _createToken) |
void |
mQUESTION(boolean _createToken) |
void |
mRANGE(boolean _createToken) |
void |
mRCURLY(boolean _createToken) |
void |
mREWRITE(boolean _createToken) |
void |
mROOT(boolean _createToken) |
void |
mRPAREN(boolean _createToken) |
void |
mRULE_REF(boolean _createToken) |
void |
mSEMI(boolean _createToken) |
protected void |
mSL_COMMENT(boolean _createToken) |
protected void |
mSRC(boolean _createToken)
Reset the file and line information; useful when the grammar
has been generated so that errors are shown relative to the
original file like the old C preprocessor used to do.
|
void |
mSTAR(boolean _createToken) |
void |
mSTRAY_BRACKET(boolean _createToken) |
void |
mTOKEN_REF(boolean _createToken) |
void |
mTREE_BEGIN(boolean _createToken) |
void |
mWILDCARD(boolean _createToken) |
protected void |
mWS_LOOP(boolean _createToken) |
protected void |
mWS_OPT(boolean _createToken) |
void |
mWS(boolean _createToken) |
protected void |
mXDIGIT(boolean _createToken) |
antlr.Token |
nextToken() |
void |
tab()
advance the current column number by one; don't do tabs.
|
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, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOFpublic boolean hasASTOperator
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
public ANTLRLexer(InputStream in)
public ANTLRLexer(Reader in)
public ANTLRLexer(antlr.InputBuffer ib)
public ANTLRLexer(antlr.LexerSharedInputState state)
public void tab()
tab in class antlr.CharScannerpublic antlr.Token nextToken()
throws antlr.TokenStreamException
nextToken in interface antlr.TokenStreamantlr.TokenStreamExceptionpublic final void mWS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mCOMMENT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mSL_COMMENT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mML_COMMENT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mSRC(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mOPEN_ELEMENT_OPTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mCLOSE_ELEMENT_OPTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mAMPERSAND(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mCOMMA(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mQUESTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mTREE_BEGIN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mLPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mRPAREN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mCOLON(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mSTAR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mPLUS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mASSIGN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mPLUS_ASSIGN(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mIMPLIES(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mREWRITE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mSEMI(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mROOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mBANG(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mOR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mWILDCARD(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mETC(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mRANGE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mNOT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mRCURLY(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mDOLLAR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mSTRAY_BRACKET(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mCHAR_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mESC(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mDOUBLE_QUOTE_STRING_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mDOUBLE_ANGLE_STRING_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mXDIGIT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mDIGIT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mINT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mARG_ACTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mNESTED_ARG_ACTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mACTION_STRING_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mACTION_CHAR_LITERAL(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mACTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mNESTED_ACTION(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mACTION_ESC(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mTOKEN_REF(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionpublic final void mRULE_REF(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final int mINTERNAL_RULE_REF(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mWS_LOOP(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionprotected final void mWS_OPT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionExceptionantlr.CharStreamExceptionantlr.TokenStreamExceptionCopyright © 2015. All Rights Reserved.