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
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 |
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 |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0_data_
private static final long[] _tokenSet_0_data_
_tokenSet_0
public static final BitSet _tokenSet_0
_tokenSet_1_data_
private static final long[] _tokenSet_1_data_
_tokenSet_1
public static final BitSet _tokenSet_1
_tokenSet_2_data_
private static final long[] _tokenSet_2_data_
_tokenSet_2
public static final BitSet _tokenSet_2
_tokenSet_3_data_
private static final long[] _tokenSet_3_data_
_tokenSet_3
public static final BitSet _tokenSet_3
_tokenSet_4_data_
private static final long[] _tokenSet_4_data_
_tokenSet_4
public static final BitSet _tokenSet_4
_tokenSet_5_data_
private static final long[] _tokenSet_5_data_
_tokenSet_5
public static final BitSet _tokenSet_5
_tokenSet_6_data_
private static final long[] _tokenSet_6_data_
_tokenSet_6
public static final BitSet _tokenSet_6
_tokenSet_7_data_
private static final long[] _tokenSet_7_data_
_tokenSet_7
public static final BitSet _tokenSet_7
Preprocessor
protected Preprocessor(TokenBuffer tokenBuf,
int k)
Preprocessor
public Preprocessor(TokenBuffer tokenBuf)
Preprocessor
protected Preprocessor(TokenStream lexer,
int k)
Preprocessor
public Preprocessor(TokenStream lexer)
Preprocessor
public Preprocessor(ParserSharedInputState state)
grammarFile
public final void grammarFile(Hierarchy hier,
java.lang.String file)
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
optionSpec
public final IndexedVector optionSpec(Grammar gr)
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
class_def
public final Grammar class_def(java.lang.String file,
Hierarchy hier)
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
rule
public final void rule(Grammar gr)
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
throwsSpec
public final java.lang.String throwsSpec()
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
exceptionGroup
public final java.lang.String exceptionGroup()
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
exceptionSpec
public final java.lang.String exceptionSpec()
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException
exceptionHandler
public final java.lang.String exceptionHandler()
throws RecognitionException,
TokenStreamException
RecognitionException
TokenStreamException