antlr.preprocessor
Class Preprocessor

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--antlr.preprocessor.Preprocessor
All Implemented Interfaces:
PreprocessorTokenTypes

public class Preprocessor
extends LLkParser
implements PreprocessorTokenTypes

Untamed:


Field Summary
static String[] _tokenNames
          Enabled:
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_
           
 
Fields inherited from class antlr.LLkParser
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, 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
  Preprocessor(ParserSharedInputState state)
          Enabled:
  Preprocessor(TokenBuffer tokenBuf)
          Enabled:
protected Preprocessor(TokenBuffer tokenBuf, int k)
           
  Preprocessor(TokenStream lexer)
          Enabled:
protected Preprocessor(TokenStream lexer, int k)
           
 
Method Summary
 Grammar class_def(String file, Hierarchy hier)
          Enabled:
 String exceptionGroup()
          Enabled:
 String exceptionHandler()
          Enabled:
 String exceptionSpec()
          Enabled:
 void grammarFile(Hierarchy hier, String file)
          Enabled:
 IndexedVector optionSpec(Grammar gr)
          Enabled:
 void rule(Grammar gr)
          Enabled:
 String throwsSpec()
          Enabled:
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final String[] _tokenNames
Enabled:


_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:

Constructor Detail

Preprocessor

protected Preprocessor(TokenBuffer tokenBuf,
                       int k)

Preprocessor

public Preprocessor(TokenBuffer tokenBuf)
Enabled:


Preprocessor

protected Preprocessor(TokenStream lexer,
                       int k)

Preprocessor

public Preprocessor(TokenStream lexer)
Enabled:


Preprocessor

public Preprocessor(ParserSharedInputState state)
Enabled:

Method Detail

grammarFile

public final void grammarFile(Hierarchy hier,
                              String file)
                       throws RecognitionException,
                              TokenStreamException
Enabled:

RecognitionException
TokenStreamException

optionSpec

public final IndexedVector optionSpec(Grammar gr)
                               throws RecognitionException,
                                      TokenStreamException
Enabled:

RecognitionException
TokenStreamException

class_def

public final Grammar class_def(String file,
                               Hierarchy hier)
                        throws RecognitionException,
                               TokenStreamException
Enabled:

RecognitionException
TokenStreamException

rule

public final void rule(Grammar gr)
                throws RecognitionException,
                       TokenStreamException
Enabled:

RecognitionException
TokenStreamException

throwsSpec

public final String throwsSpec()
                        throws RecognitionException,
                               TokenStreamException
Enabled:

RecognitionException
TokenStreamException

exceptionGroup

public final String exceptionGroup()
                            throws RecognitionException,
                                   TokenStreamException
Enabled:

RecognitionException
TokenStreamException

exceptionSpec

public final String exceptionSpec()
                           throws RecognitionException,
                                  TokenStreamException
Enabled:

RecognitionException
TokenStreamException

exceptionHandler

public final String exceptionHandler()
                              throws RecognitionException,
                                     TokenStreamException
Enabled:

RecognitionException
TokenStreamException


comments?