| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectantlr.CharScannerantlr.preprocessor.PreprocessorLexerField Summary | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
static BitSet | |
Fields 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.preprocessor.PreprocessorTokenTypes | |
ACTION, ALT, ARG_ACTION, ASSIGN_RHS, BANG, CHAR_LITERAL, COMMA, COMMENT, CURLY_BLOCK_SCARF, DIGIT, ELEMENT, EOF, ESC, HEADER_ACTION, ID, ID_OR_KEYWORD, LITERAL_catch, LITERAL_class, LITERAL_exception, LITERAL_extends, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_returns, LITERAL_throws, LITERAL_tokens, LPAREN, ML_COMMENT, NEWLINE, NULL_TREE_LOOKAHEAD, OPTIONS_START, RCURLY, RPAREN, RULE_BLOCK, SEMI, SL_COMMENT, STRING_LITERAL, SUBRULE_BLOCK, TOKENS_SPEC, WS, XDIGIT | |
Constructor Summary | |
| |
| |
Method Summary | |
void |
|
protected void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
protected void |
|
void |
|
void |
|
protected void |
|
protected void |
|
void |
|
void |
|
void |
|
void |
|
protected void |
|
void |
|
void |
|
void |
|
protected void |
|
Token | |
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 PreprocessorLexer(InputStream in)
public PreprocessorLexer(Reader in)
public final void mACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mALT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mARG_ACTION(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mASSIGN_RHS(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mBANG(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mCHAR_LITERAL(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 mCURLY_BLOCK_SCARF(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mDIGIT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mELEMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mESC(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mID(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mID_OR_KEYWORD(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionThis rule picks off keywords in the lexer that need to be handled specially. For example, "header" is the start of the header action (used to distinguish between options block and an action). We do not want "header" to go back to the parser as a simple keyword...it must pick off the action afterwards.
public final void mLPAREN(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mML_COMMENT(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionprotected final void mNEWLINE(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_BLOCK(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 mSTRING_LITERAL(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mSUBRULE_BLOCK(boolean _createToken)
throws RecognitionException,
CharStreamException,
TokenStreamExceptionpublic final void mWS(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