| antlr.CharScanner antlr.preprocessor.PreprocessorLexer
Method Summary | |
final public void | mACTION(boolean _createToken) | final protected void | mALT(boolean _createToken) | final public void | mARG_ACTION(boolean _createToken) | final public void | mASSIGN_RHS(boolean _createToken) | final public void | mBANG(boolean _createToken) | final public void | mCHAR_LITERAL(boolean _createToken) | final public void | mCOMMA(boolean _createToken) | final public void | mCOMMENT(boolean _createToken) | final protected void | mCURLY_BLOCK_SCARF(boolean _createToken) | final protected void | mDIGIT(boolean _createToken) | final protected void | mELEMENT(boolean _createToken) | final protected void | mESC(boolean _createToken) | final protected void | mID(boolean _createToken) | final public void | mID_OR_KEYWORD(boolean _createToken) This rule picks off keywords in the lexer that need to be
handled specially. | final public void | mLPAREN(boolean _createToken) | final protected void | mML_COMMENT(boolean _createToken) | final protected void | mNEWLINE(boolean _createToken) | final public void | mRCURLY(boolean _createToken) | final public void | mRPAREN(boolean _createToken) | final public void | mRULE_BLOCK(boolean _createToken) | final public void | mSEMI(boolean _createToken) | final protected void | mSL_COMMENT(boolean _createToken) | final public void | mSTRING_LITERAL(boolean _createToken) | final public void | mSUBRULE_BLOCK(boolean _createToken) | final public void | mWS(boolean _createToken) | final protected void | mXDIGIT(boolean _createToken) | public Token | nextToken() |
mID_OR_KEYWORD | final public void mID_OR_KEYWORD(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException(Code) | | This 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.
|
|
|