antlr
Class ANTLRLexer
java.lang.Object
|
+--antlr.CharScanner
|
+--antlr.ANTLRLexer
- All Implemented Interfaces:
- ANTLRTokenTypes, TokenStream
- public class ANTLRLexer
- extends CharScanner
- implements ANTLRTokenTypes, TokenStream
Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, NO_CHAR, saveConsumedInput, text, tokenObjectClass, traceDepth |
Fields inherited from interface antlr.ANTLRTokenTypes |
ACTION, ARG_ACTION, ASSIGN, BANG, CARET, CHAR_LITERAL, CLOSE_ELEMENT_OPTION, COLON, COMMA, COMMENT, DIGIT, DOC_COMMENT, EOF, ESC, IMPLIES, INT, INTERNAL_RULE_REF, LITERAL_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_Lexer, LITERAL_options, LITERAL_Parser, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LITERAL_TreeParser, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NOT_USEFUL, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, TOKEN_REF, TOKENS, TREE_BEGIN, VOCAB, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT |
Methods inherited from class antlr.CharScanner |
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, 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_data_
private static final long[] _tokenSet_0_data_
_tokenSet_0
public static final BitSet _tokenSet_0
_tokenSet_1_data_
private static final long[] _tokenSet_1_data_
_tokenSet_1
public static final BitSet _tokenSet_1
_tokenSet_2_data_
private static final long[] _tokenSet_2_data_
_tokenSet_2
public static final BitSet _tokenSet_2
ANTLRLexer
public ANTLRLexer(java.io.InputStream in)
ANTLRLexer
public ANTLRLexer(java.io.Reader in)
ANTLRLexer
public ANTLRLexer(InputBuffer ib)
ANTLRLexer
public ANTLRLexer(LexerSharedInputState state)
escapeCharValue
public static int escapeCharValue(java.lang.String cs)
- Convert 'c' to an integer char value.
tokenTypeForCharLiteral
public static int tokenTypeForCharLiteral(java.lang.String lit)
nextToken
public Token nextToken()
throws TokenStreamException
- Specified by:
nextToken
in interface TokenStream
TokenStreamException
mWS
public final void mWS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCOMMENT
public final void mCOMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mSL_COMMENT
protected final void mSL_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mML_COMMENT
protected final void mML_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mOPEN_ELEMENT_OPTION
public final void mOPEN_ELEMENT_OPTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCLOSE_ELEMENT_OPTION
public final void mCLOSE_ELEMENT_OPTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCOMMA
public final void mCOMMA(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mQUESTION
public final void mQUESTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mTREE_BEGIN
public final void mTREE_BEGIN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mLPAREN
public final void mLPAREN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mRPAREN
public final void mRPAREN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCOLON
public final void mCOLON(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mSTAR
public final void mSTAR(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mPLUS
public final void mPLUS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mASSIGN
public final void mASSIGN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mIMPLIES
public final void mIMPLIES(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mSEMI
public final void mSEMI(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCARET
public final void mCARET(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mBANG
public final void mBANG(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mOR
public final void mOR(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mWILDCARD
public final void mWILDCARD(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mRANGE
public final void mRANGE(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mNOT_OP
public final void mNOT_OP(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mRCURLY
public final void mRCURLY(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mCHAR_LITERAL
public final void mCHAR_LITERAL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mESC
protected final void mESC(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mSTRING_LITERAL
public final void mSTRING_LITERAL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mXDIGIT
protected final void mXDIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mDIGIT
protected final void mDIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mVOCAB
protected final void mVOCAB(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mINT
public final void mINT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mARG_ACTION
public final void mARG_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mNESTED_ARG_ACTION
protected final void mNESTED_ARG_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mACTION
public final void mACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mNESTED_ACTION
protected final void mNESTED_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mTOKEN_REF
public final void mTOKEN_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mRULE_REF
public final void mRULE_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mINTERNAL_RULE_REF
protected final int mINTERNAL_RULE_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mWS_LOOP
protected final void mWS_LOOP(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mWS_OPT
protected final void mWS_OPT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException
mNOT_USEFUL
protected final void mNOT_USEFUL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamException
RecognitionException
CharStreamException
TokenStreamException