Package antlr
Interface Summary
GrammarAnalyzer
Untamed: A GrammarAnalyzer computes lookahead from Grammar (which contains
a grammar symbol table) and can then answer questions about the
grammar.
Class Summary
BaseAST
Untamed: A Child-Sibling Tree.
BlockEndElement
All alternative blocks are "terminated" by BlockEndElements unless
they are rule blocks (in which case they use RuleEndElement).
CommonAST
Untamed: Common AST node implementation
CommonASTWithHiddenTokens
Untamed: A CommonAST whose initialization copies hidden token
information from the Token used to create a node.
CppCodeGenerator
Untamed: Generate MyParser.cpp, MyParser.hpp, MyLexer.cpp, MyLexer.hpp and MyParserTokenTypes.hpp
DefineGrammarSymbols
Untamed: DefineGrammarSymbols is a behavior for the ANTLRParser that adds all
the token and rule symbols to the grammar symbol table.
DumpASTVisitor
Untamed: Simple class to dump the contents of an AST to the output
GrammarAtom
A GrammarAtom is either a token ref, a character ref, or string.
GrammarElement
A GrammarElement is a generic node in our
data structure that holds a grammar in memory.
GrammarSymbol
A GrammarSymbol is a generic symbol that can be
added to the symbol table for a grammar.
HTMLCodeGenerator
Untamed: Generate P.html, a cross-linked representation of P with or without actions
InputBuffer
Untamed: A Stream of characters fed to the lexer from a InputStream that can
be rewound via mark()/rewind() methods.
JavaCodeGenerator
Untamed: Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java
TokenBuffer
Untamed: A Stream of Token objects fed to the parser from a Tokenizer that can
be rewound via mark()/rewind() methods.
TokenQueue
A private circular buffer object used by the token buffer
TokenStreamBasicFilter
Untamed: This object is a TokenStream that passes through all
tokens except for those that you tell it to discard.
TokenStreamHiddenTokenFilter
Untamed: This object filters a token stream coming from a lexer
or another TokenStream so that only certain token channels
get transmitted to the parser.
TokenStreamSelector
Untamed: A token stream MUX (multiplexor) knows about n token streams
and can multiplex them onto the same channel for use by token
stream consumer like a parser.
Exception Summary
Error Summary