Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Package Attributes

antlr.ANTLRParser Class Reference

Inheritance diagram for antlr.ANTLRParser:
antlr.LLkParser antlr.ANTLRTokenTypes antlr.Parser

List of all members.

Public Member Functions

 ANTLRParser (TokenBuffer tokenBuf, ANTLRGrammarParseBehavior behavior_, Tool tool_)
void reportError (String s)
void reportError (RecognitionException e)
void reportError (RecognitionException e, String s)
void reportWarning (String s)
 ANTLRParser (TokenBuffer tokenBuf)
 ANTLRParser (TokenStream lexer)
 ANTLRParser (ParserSharedInputState state)
final void grammar () throws RecognitionException, TokenStreamException
final void fileOptionsSpec () throws RecognitionException, TokenStreamException
final void classDef () throws RecognitionException, TokenStreamException
final Token id () throws RecognitionException, TokenStreamException
final void lexerSpec (String doc) throws RecognitionException, TokenStreamException
final void treeParserSpec (String doc) throws RecognitionException, TokenStreamException
final void parserSpec (String doc) throws RecognitionException, TokenStreamException
final void rules () throws RecognitionException, TokenStreamException
final Token optionValue () throws RecognitionException, TokenStreamException
final void parserOptionsSpec () throws RecognitionException, TokenStreamException
final void treeParserOptionsSpec () throws RecognitionException, TokenStreamException
final void lexerOptionsSpec () throws RecognitionException, TokenStreamException
final BitSet charSet () throws RecognitionException, TokenStreamException
final void subruleOptionsSpec () throws RecognitionException, TokenStreamException
final Token qualifiedID () throws RecognitionException, TokenStreamException
final BitSet setBlockElement () throws RecognitionException, TokenStreamException
final void tokensSpec () throws RecognitionException, TokenStreamException
final void tokensSpecOptions (Token t) throws RecognitionException, TokenStreamException
final String superClass () throws RecognitionException, TokenStreamException
final void rule () throws RecognitionException, TokenStreamException
final void throwsSpec () throws RecognitionException, TokenStreamException
final void ruleOptionsSpec () throws RecognitionException, TokenStreamException
final void block () throws RecognitionException, TokenStreamException
final void exceptionGroup () throws RecognitionException, TokenStreamException
final void alternative () throws RecognitionException, TokenStreamException
final void element () throws RecognitionException, TokenStreamException
final void exceptionSpecNoLabel () throws RecognitionException, TokenStreamException
final void exceptionSpec () throws RecognitionException, TokenStreamException
final void exceptionHandler () throws RecognitionException, TokenStreamException
final void elementNoOptionSpec () throws RecognitionException, TokenStreamException
final void elementOptionSpec () throws RecognitionException, TokenStreamException
final void range (Token label) throws RecognitionException, TokenStreamException
final void terminal (Token label) throws RecognitionException, TokenStreamException
final void notTerminal (Token label) throws RecognitionException, TokenStreamException
final void ebnf (Token label, boolean not) throws RecognitionException, TokenStreamException
final void tree () throws RecognitionException, TokenStreamException
final void rootNode () throws RecognitionException, TokenStreamException
final int ast_type_spec () throws RecognitionException, TokenStreamException

Static Public Attributes

static final String[] _tokenNames
static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0())
static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1())
static final BitSet _tokenSet_2 = new BitSet(mk_tokenSet_2())
static final BitSet _tokenSet_3 = new BitSet(mk_tokenSet_3())
static final BitSet _tokenSet_4 = new BitSet(mk_tokenSet_4())
static final BitSet _tokenSet_5 = new BitSet(mk_tokenSet_5())
static final BitSet _tokenSet_6 = new BitSet(mk_tokenSet_6())
static final BitSet _tokenSet_7 = new BitSet(mk_tokenSet_7())
static final BitSet _tokenSet_8 = new BitSet(mk_tokenSet_8())
static final BitSet _tokenSet_9 = new BitSet(mk_tokenSet_9())
static final BitSet _tokenSet_10 = new BitSet(mk_tokenSet_10())
static final BitSet _tokenSet_11 = new BitSet(mk_tokenSet_11())

Protected Member Functions

 ANTLRParser (TokenBuffer tokenBuf, int k)
 ANTLRParser (TokenStream lexer, int k)

Protected Attributes

int blockNesting = -1

Package Attributes

ANTLRGrammarParseBehavior behavior
Tool antlrTool

Constructor & Destructor Documentation

antlr.ANTLRParser.ANTLRParser ( TokenBuffer  tokenBuf,
int  k 
) [protected]
antlr.ANTLRParser.ANTLRParser ( TokenBuffer  tokenBuf  ) 
antlr.ANTLRParser.ANTLRParser ( TokenStream  lexer,
int  k 
) [protected]
antlr.ANTLRParser.ANTLRParser ( TokenStream  lexer  ) 
antlr.ANTLRParser.ANTLRParser ( ParserSharedInputState  state  ) 

Member Function Documentation

final void antlr.ANTLRParser.ebnf ( Token  label,
boolean  not 
) throws RecognitionException, TokenStreamException

References antlr.ANTLRParser._tokenSet_10, antlr.ANTLRParser._tokenSet_9, antlr.ANTLRTokenTypes.ACTION, antlr.ANTLRTokenTypes.BANG, antlr.ANTLRGrammarParseBehavior.beginSubRule(), antlr.ANTLRParser.behavior, antlr.ANTLRParser.block(), antlr.ANTLRTokenTypes.CHAR_LITERAL, antlr.ANTLRTokenTypes.COLON, antlr.ANTLRGrammarParseBehavior.endSubRule(), antlr.Parser.getFilename(), antlr.ParserSharedInputState.guessing, antlr.ANTLRTokenTypes.IMPLIES, antlr.Parser.inputState, antlr.LLkParser.LA(), antlr.ANTLRTokenTypes.LITERAL_exception, antlr.ANTLRTokenTypes.LPAREN, antlr.LLkParser.LT(), antlr.Parser.match(), antlr.collections.impl.BitSet.member(), antlr.ANTLRGrammarParseBehavior.noASTSubRule(), antlr.ANTLRTokenTypes.NOT_OP, antlr.ANTLRGrammarParseBehavior.oneOrMoreSubRule(), antlr.ANTLRTokenTypes.OPEN_ELEMENT_OPTION, antlr.ANTLRGrammarParseBehavior.optionalSubRule(), antlr.ANTLRTokenTypes.OPTIONS, antlr.ANTLRTokenTypes.OR, antlr.ANTLRTokenTypes.PLUS, antlr.ANTLRTokenTypes.QUESTION, antlr.ANTLRGrammarParseBehavior.refInitAction(), antlr.ANTLRTokenTypes.RPAREN, antlr.ANTLRTokenTypes.RULE_REF, antlr.ANTLRTokenTypes.SEMI, antlr.ANTLRTokenTypes.SEMPRED, antlr.ANTLRTokenTypes.STAR, antlr.ANTLRTokenTypes.STRING_LITERAL, antlr.ANTLRParser.subruleOptionsSpec(), antlr.ANTLRGrammarParseBehavior.synPred(), antlr.ANTLRTokenTypes.TOKEN_REF, antlr.ANTLRTokenTypes.TREE_BEGIN, antlr.ANTLRTokenTypes.WILDCARD, and antlr.ANTLRGrammarParseBehavior.zeroOrMoreSubRule().

Referenced by antlr.ANTLRParser.elementNoOptionSpec().

final void antlr.ANTLRParser.elementNoOptionSpec (  )  throws RecognitionException, TokenStreamException
final Token antlr.ANTLRParser.qualifiedID (  )  throws RecognitionException, TokenStreamException
void antlr.ANTLRParser.reportError ( RecognitionException  e  ) 
void antlr.ANTLRParser.reportWarning ( String  s  ) 

Member Data Documentation

final String [] antlr.ANTLRParser._tokenNames [static]
final BitSet antlr.ANTLRParser._tokenSet_0 = new BitSet(mk_tokenSet_0()) [static]

Referenced by antlr.ANTLRParser.rules().

final BitSet antlr.ANTLRParser._tokenSet_1 = new BitSet(mk_tokenSet_1()) [static]

Referenced by antlr.ANTLRParser.rules().

final BitSet antlr.ANTLRParser._tokenSet_10 = new BitSet(mk_tokenSet_10()) [static]

Referenced by antlr.ANTLRParser.ebnf().

final BitSet antlr.ANTLRParser._tokenSet_11 = new BitSet(mk_tokenSet_11()) [static]
final BitSet antlr.ANTLRParser._tokenSet_2 = new BitSet(mk_tokenSet_2()) [static]
final BitSet antlr.ANTLRParser._tokenSet_3 = new BitSet(mk_tokenSet_3()) [static]
final BitSet antlr.ANTLRParser._tokenSet_4 = new BitSet(mk_tokenSet_4()) [static]
final BitSet antlr.ANTLRParser._tokenSet_5 = new BitSet(mk_tokenSet_5()) [static]
final BitSet antlr.ANTLRParser._tokenSet_6 = new BitSet(mk_tokenSet_6()) [static]
final BitSet antlr.ANTLRParser._tokenSet_8 = new BitSet(mk_tokenSet_8()) [static]
final BitSet antlr.ANTLRParser._tokenSet_9 = new BitSet(mk_tokenSet_9()) [static]

Referenced by antlr.ANTLRParser.ebnf().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties