antlr.preprocessor
Class PreprocessorLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--antlr.preprocessor.PreprocessorLexer
All Implemented Interfaces:
PreprocessorTokenTypes, TokenStream

public class PreprocessorLexer
extends CharScanner
implements PreprocessorTokenTypes, TokenStream

Untamed:


Field Summary
static BitSet _tokenSet_0
          Enabled:
private static long[] _tokenSet_0_data_
           
static BitSet _tokenSet_1
          Enabled:
private static long[] _tokenSet_1_data_
           
static BitSet _tokenSet_2
          Enabled:
private static long[] _tokenSet_2_data_
           
static BitSet _tokenSet_3
          Enabled:
private static long[] _tokenSet_3_data_
           
static BitSet _tokenSet_4
          Enabled:
private static long[] _tokenSet_4_data_
           
static BitSet _tokenSet_5
          Enabled:
private static long[] _tokenSet_5_data_
           
static BitSet _tokenSet_6
          Enabled:
private static long[] _tokenSet_6_data_
           
static BitSet _tokenSet_7
          Enabled:
private static long[] _tokenSet_7_data_
           
static BitSet _tokenSet_8
          Enabled:
private static long[] _tokenSet_8_data_
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, 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, ML_COMMENT, NEWLINE, NULL_TREE_LOOKAHEAD, OPTIONS_START, RCURLY, RULE_BLOCK, SEMI, SL_COMMENT, STRING_LITERAL, SUBRULE_BLOCK, TOKENS_SPEC, WS, XDIGIT
 
Constructor Summary
PreprocessorLexer(InputBuffer ib)
          Enabled:
PreprocessorLexer(InputStream in)
          Enabled:
PreprocessorLexer(LexerSharedInputState state)
          Enabled:
PreprocessorLexer(Reader in)
          Enabled:
 
Method Summary
 void mACTION(boolean _createToken)
          Enabled:
protected  void mALT(boolean _createToken)
           
 void mARG_ACTION(boolean _createToken)
          Enabled:
 void mASSIGN_RHS(boolean _createToken)
          Enabled:
 void mBANG(boolean _createToken)
          Enabled:
 void mCHAR_LITERAL(boolean _createToken)
          Enabled:
 void mCOMMA(boolean _createToken)
          Enabled:
 void mCOMMENT(boolean _createToken)
          Enabled:
protected  void mCURLY_BLOCK_SCARF(boolean _createToken)
           
protected  void mDIGIT(boolean _createToken)
           
protected  void mELEMENT(boolean _createToken)
           
protected  void mESC(boolean _createToken)
           
 void mID_OR_KEYWORD(boolean _createToken)
          Enabled: This rule picks off keywords in the lexer that need to be handled specially.
protected  void mID(boolean _createToken)
           
protected  void mML_COMMENT(boolean _createToken)
           
protected  void mNEWLINE(boolean _createToken)
           
 void mRCURLY(boolean _createToken)
          Enabled:
 void mRULE_BLOCK(boolean _createToken)
          Enabled:
 void mSEMI(boolean _createToken)
          Enabled:
protected  void mSL_COMMENT(boolean _createToken)
           
 void mSTRING_LITERAL(boolean _createToken)
          Enabled:
 void mSUBRULE_BLOCK(boolean _createToken)
          Enabled:
 void mWS(boolean _createToken)
          Enabled:
protected  void mXDIGIT(boolean _createToken)
           
 Token nextToken()
          Enabled:
 
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
 

Field Detail

_tokenSet_0_data_

private static final long[] _tokenSet_0_data_

_tokenSet_0

public static final BitSet _tokenSet_0
Enabled:


_tokenSet_1_data_

private static final long[] _tokenSet_1_data_

_tokenSet_1

public static final BitSet _tokenSet_1
Enabled:


_tokenSet_2_data_

private static final long[] _tokenSet_2_data_

_tokenSet_2

public static final BitSet _tokenSet_2
Enabled:


_tokenSet_3_data_

private static final long[] _tokenSet_3_data_

_tokenSet_3

public static final BitSet _tokenSet_3
Enabled:


_tokenSet_4_data_

private static final long[] _tokenSet_4_data_

_tokenSet_4

public static final BitSet _tokenSet_4
Enabled:


_tokenSet_5_data_

private static final long[] _tokenSet_5_data_

_tokenSet_5

public static final BitSet _tokenSet_5
Enabled:


_tokenSet_6_data_

private static final long[] _tokenSet_6_data_

_tokenSet_6

public static final BitSet _tokenSet_6
Enabled:


_tokenSet_7_data_

private static final long[] _tokenSet_7_data_

_tokenSet_7

public static final BitSet _tokenSet_7
Enabled:


_tokenSet_8_data_

private static final long[] _tokenSet_8_data_

_tokenSet_8

public static final BitSet _tokenSet_8
Enabled:

Constructor Detail

PreprocessorLexer

public PreprocessorLexer(InputStream in)
Enabled:


PreprocessorLexer

public PreprocessorLexer(Reader in)
Enabled:


PreprocessorLexer

public PreprocessorLexer(InputBuffer ib)
Enabled:


PreprocessorLexer

public PreprocessorLexer(LexerSharedInputState state)
Enabled:

Method Detail

nextToken

public Token nextToken()
                throws TokenStreamException
Enabled:

Specified by:
nextToken in interface TokenStream
TokenStreamException

mRULE_BLOCK

public final void mRULE_BLOCK(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mWS

public final void mWS(boolean _createToken)
               throws RecognitionException,
                      CharStreamException,
                      TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mALT

protected final void mALT(boolean _createToken)
                   throws RecognitionException,
                          CharStreamException,
                          TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mSUBRULE_BLOCK

public final void mSUBRULE_BLOCK(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mELEMENT

protected final void mELEMENT(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mCOMMENT

public final void mCOMMENT(boolean _createToken)
                    throws RecognitionException,
                           CharStreamException,
                           TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mACTION

public final void mACTION(boolean _createToken)
                   throws RecognitionException,
                          CharStreamException,
                          TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mSTRING_LITERAL

public final void mSTRING_LITERAL(boolean _createToken)
                           throws RecognitionException,
                                  CharStreamException,
                                  TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mCHAR_LITERAL

public final void mCHAR_LITERAL(boolean _createToken)
                         throws RecognitionException,
                                CharStreamException,
                                TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mNEWLINE

protected final void mNEWLINE(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mBANG

public final void mBANG(boolean _createToken)
                 throws RecognitionException,
                        CharStreamException,
                        TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mSEMI

public final void mSEMI(boolean _createToken)
                 throws RecognitionException,
                        CharStreamException,
                        TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mCOMMA

public final void mCOMMA(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mRCURLY

public final void mRCURLY(boolean _createToken)
                   throws RecognitionException,
                          CharStreamException,
                          TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException

mID_OR_KEYWORD

public final void mID_OR_KEYWORD(boolean _createToken)
                          throws RecognitionException,
                                 CharStreamException,
                                 TokenStreamException
Enabled: 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.

RecognitionException
CharStreamException
TokenStreamException

mID

protected final void mID(boolean _createToken)
                  throws RecognitionException,
                         CharStreamException,
                         TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mCURLY_BLOCK_SCARF

protected final void mCURLY_BLOCK_SCARF(boolean _createToken)
                                 throws RecognitionException,
                                        CharStreamException,
                                        TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mASSIGN_RHS

public final void mASSIGN_RHS(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Enabled:

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

mESC

protected final void mESC(boolean _createToken)
                   throws RecognitionException,
                          CharStreamException,
                          TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mDIGIT

protected final void mDIGIT(boolean _createToken)
                     throws RecognitionException,
                            CharStreamException,
                            TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mXDIGIT

protected final void mXDIGIT(boolean _createToken)
                      throws RecognitionException,
                             CharStreamException,
                             TokenStreamException
RecognitionException
CharStreamException
TokenStreamException

mARG_ACTION

public final void mARG_ACTION(boolean _createToken)
                       throws RecognitionException,
                              CharStreamException,
                              TokenStreamException
Enabled:

RecognitionException
CharStreamException
TokenStreamException


comments?