| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectantlr.CharScannerantlr.ANTLRLexerFields inherited from class antlr.CharScanner | |
EOF_CHAR, NO_CHAR, _returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, hashString, inputState, literals, saveConsumedInput, tabsize, 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_Lexer, LITERAL_Parser, LITERAL_TreeParser, LITERAL_catch, LITERAL_charVocabulary, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_header, LITERAL_lexclass, LITERAL_options, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LPAREN, ML_COMMENT, NESTED_ACTION, NESTED_ARG_ACTION, NOT_OP, NULL_TREE_LOOKAHEAD, OPEN_ELEMENT_OPTION, OPTIONS, OR, PLUS, QUESTION, RANGE, RCURLY, RPAREN, RULE_REF, SEMI, SEMPRED, SL_COMMENT, STAR, STRING_LITERAL, TOKENS, TOKEN_REF, TREE_BEGIN, WILDCARD, WS, WS_LOOP, WS_OPT, XDIGIT | |
Constructor Summary | |
| |
| |
| |
Method Summary | |
static int |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
void |
|
void |
|
protected int |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
Token | |
static int |
|
Methods inherited from class antlr.CharScanner | |
LA, append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, 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 | |
public static int escapeCharValue(String cs)
Convert 'c' to an integer char value.
public final void mACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mARG_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mASSIGN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mBANG(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCARET(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCHAR_LITERAL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCLOSE_ELEMENT_OPTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCOLON(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCOMMA(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCOMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mDIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mESC(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mIMPLIES(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mINT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final int mINTERNAL_RULE_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mLPAREN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mML_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mNESTED_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mNESTED_ARG_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mNOT_OP(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mOPEN_ELEMENT_OPTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mOR(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mPLUS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mQUESTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mRANGE(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mRCURLY(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mRPAREN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mRULE_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mSEMI(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mSL_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mSTAR(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mSTRING_LITERAL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mTOKEN_REF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mTREE_BEGIN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mWILDCARD(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mWS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mWS_LOOP(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mWS_OPT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mXDIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic Token nextToken() throws TokenStreamException
- Specified by:
- nextToken in interface TokenStream
public static int tokenTypeForCharLiteral(String lit)