Class Summary | |
---|---|
ActionElement | |
ActionLexer | Perform the following translations: AST related translations ## -> currentRule_AST #(x,y,z) -> codeGenerator.getASTCreateString(vector-of(x,y,z)) #[x] -> codeGenerator.getASTCreateString(x) #x -> codeGenerator.mapTreeId(x) Inside context of #(...), you can ref (x,y,z), [x], and x as shortcuts. |
ActionLexer | Perform the following translations: AST related translations ## -> currentRule_AST #(x,y,z) -> codeGenerator.getASTCreateString(vector-of(x,y,z)) #[x] -> codeGenerator.getASTCreateString(x) #x -> codeGenerator.mapTreeId(x) Inside context of #(...), you can ref (x,y,z), [x], and x as shortcuts. |
ActionLexer | Perform the following translations: AST related translations ## -> currentRule_AST #(x,y,z) -> codeGenerator.getASTCreateString(vector-of(x,y,z)) #[x] -> codeGenerator.getASTCreateString(x) #x -> codeGenerator.mapTreeId(x) Inside context of #(...), you can ref (x,y,z), [x], and x as shortcuts. |
ActionLexerTokenTypes | |
ActionLexerTokenTypes | |
ActionLexerTokenTypes | |
ActionTransInfo | This class contains information about how an action was translated (using the AST conversion rules). |
Alternative | Intermediate data class holds information about an alternative |
AlternativeBlock | A list of alternatives |
AlternativeElement | |
ANTLR | Simple class that uses build.Tool to compile ANTLR's Java stuff |
ANTLRError | |
ANTLRException | |
ANTLRGrammarParseBehavior | |
ANTLRHashString | |
ANTLRLexer | |
ANTLRParser | |
ANTLRStringBuffer | |
ANTLRTokdefLexer | |
ANTLRTokdefParser | Simple lexer/parser for reading token definition files in support of the import/export vocab option for grammars. |
ANTLRTokdefParserTokenTypes | |
ANTLRTokenTypes | |
ASDebugStream |
Default implementation of IASDebugStream methods. |
AST | Minimal AST node interface used by ANTLR AST generation and tree-walker. |
ASTArray | ASTArray is a class that allows ANTLR to generate code that can create and initialize an array in one expression, like: (new ASTArray(3)).add(x).add(y).add(z) |
ASTEnumeration | |
ASTEnumerator | |
ASTFactory | AST Support code shared by TreeParser and Parser. |
ASTFrame | |
ASTFrame.MyTreeSelectionListener | |
ASTIterator | |
ASTNULLType | There is only one instance of this class * |
ASTPair | ASTPair: utility class used for manipulating a pair of ASTs representing the current AST root and current AST sibling. |
ASTVisitor | |
BaseAST | A Child-Sibling Tree. |
BitSet | A BitSet to replace java.util.BitSet. |
BlockContext | BlockContext stores the information needed when creating an alternative (list of elements). |
BlockEndElement | All alternative blocks are "terminated" by BlockEndElements unless they are rule blocks (in which case they use RuleEndElement). |
BlockWithImpliedExitPath | |
ByteBuffer | A Stream of characters fed to the lexer from a InputStream that can be rewound via mark()/rewind() methods. |
CharBuffer | A Stream of characters fed to the lexer from a InputStream that can be rewound via mark()/rewind() methods. |
CharFormatter | Interface used by BitSet to format elements of the set when converting to string |
CharLiteralElement | |
CharQueue | A circular buffer object used by CharBuffer |
CharRangeElement | |
CharScanner | |
CharStreamException | Anything that goes wrong while generating a stream of characters |
CharStreamIOException | Wrap an IOException in a CharStreamException |
CodeGenerator | A generic ANTLR code generator. |
CodeLexer | |
CodeLexerTokenTypes | |
CommonAST | Common AST node implementation |
CommonASTWithHiddenTokens | A CommonAST whose initialization copies hidden token information from the Token used to create a node. |
CommonHiddenStreamToken | |
CommonToken | |
CppBlockFinishingInfo | |
CppCharFormatter | |
CppCodeGenerator | Generate MyParser.cpp, MyParser.hpp, MyLexer.cpp, MyLexer.hpp and MyParserTokenTypes.hpp |
CSharpBlockFinishingInfo | |
CSharpCharFormatter | |
CSharpCodeGenerator | Generates MyParser.cs, MyLexer.cs and MyParserTokenTypes.cs |
CSharpNameSpace | ANTLR Translator Generator Project led by Terence Parr at http://www.cs.usfca.edu Software rights: http://www.antlr.org/license.html Container for a C++ namespace specification. |
DebuggingCharScanner | |
DebuggingInputBuffer | |
DebuggingParser | This type was created in VisualAge. |
DefaultFileLineFormatter | |
DefaultJavaCodeGeneratorPrintWriterManager | |
DefaultToolErrorHandler | |
DefineGrammarSymbols | DefineGrammarSymbols is a behavior for the ANTLRParser that adds all the token and rule symbols to the grammar symbol table. |
DiagnosticCodeGenerator | Generate MyParser.txt, MyLexer.txt and MyParserTokenTypes.txt |
DocBookCodeGenerator | Generate P.sgml, a cross-linked representation of P with or without actions |
DumpASTVisitor | Simple class to dump the contents of an AST to the output |
Enumerator | |
Event | |
ExceptionHandler | |
ExceptionSpec | |
FileCopyException | |
FileLineFormatter | |
Grammar | A Grammar holds a set of rules (which are stored in a symbol table). |
Grammar | |
GrammarAnalyzer | A GrammarAnalyzer computes lookahead from Grammar (which contains a grammar symbol table) and can then answer questions about the grammar. |
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. |
GrammarFile | Stores header action, grammar preamble, file options, and list of grammars in the file |
GrammarSymbol | A GrammarSymbol is a generic symbol that can be added to the symbol table for a grammar. |
GuessingEvent | |
Hierarchy | |
HTMLCodeGenerator | Generate P.html, a cross-linked representation of P with or without actions |
IASDebugStream | Provides information used by the 'Input Text' view of Antlr Studio. |
ImportVocabTokenManager | Static implementation of the TokenManager, used for importVocab option |
IndexedVector | A simple indexed vector: a normal vector except that you must specify a key when adding an element. |
InputBuffer | A Stream of characters fed to the lexer from a InputStream that can be rewound via mark()/rewind() methods. |
InputBufferAdapter | A dummy implementation of a CharBufferListener -- this class is not meant to be used by itself -- it's meant to be subclassed |
InputBufferEvent | |
InputBufferEventSupport | |
InputBufferListener | |
InputBufferReporter | |
IntRange | |
JavaBlockFinishingInfo | |
JavaCharFormatter | |
JavaCodeGenerator | Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java |
JavaCodeGeneratorPrintWriterManager | Defines a strategy that can be used to manage the printwriter being used to write JavaCodeGenerator output TODO generalize so all code gens could use? |
JTreeASTModel | |
JTreeASTPanel | |
LexerGrammar | Lexer-specific grammar subclass |
LexerSharedInputState | This object contains the data associated with an input stream of characters. |
List | A simple List interface that describes operations on a list. |
ListenerBase | |
LLCell | A linked list cell, which contains a ref to the object and next cell. |
LLEnumeration | An enumeration of a LList. |
LList | A Linked List Implementation (not thread-safe for simplicity) (adds to the tail) (has an enumeration) |
LLkAnalyzer | A linear-approximate LL(k) grammar analzyer. |
LLkDebuggingParser | |
LLkGrammarAnalyzer | |
LLkParser | An LL(k) parser. |
Lookahead | This object holds all information needed to represent the lookahead for any particular lookahead computation for a single lookahead depth. |
MakeGrammar | |
MessageAdapter | |
MessageEvent | |
MessageListener | |
MismatchedCharException | |
MismatchedTokenException | |
NameSpace | ANTLR Translator Generator Project led by Terence Parr at http://www.cs.usfca.edu Software rights: http://www.antlr.org/license.html Container for a C++ namespace specification. |
NewLineEvent | |
NewLineListener | |
NoViableAltException | |
NoViableAltForCharException | |
OneOrMoreBlock | |
Option | |
Parser | A generic ANTLR parser (LL(k) for k>=1) containing a bunch of utility routines useful at any lookahead depth. |
ParserAdapter | |
ParserController | |
ParserEventSupport | A class to assist in firing parser events NOTE: I intentionally _did_not_ synchronize the event firing and add/remove listener methods. |
ParserGrammar | Parser-specific grammar subclass |
ParserListener | |
ParserMatchAdapter | |
ParserMatchEvent | |
ParserMatchListener | |
ParserReporter | |
ParserSharedInputState | This object contains the data associated with an input stream of tokens. |
ParserTokenAdapter | |
ParserTokenEvent | |
ParserTokenListener | |
ParseTree | |
ParseTreeDebugParser | Override the standard matching and rule entry/exit routines to build parse trees. |
ParseTreeRule | |
ParseTreeToken | |
Preprocessor | |
PreprocessorLexer | |
PreprocessorTokenTypes | |
PreservingFileWriter | PreservingFileWriter only overwrites target if the new file is different. |
PrintWriterWithSMAP | |
PythonBlockFinishingInfo | |
PythonCharFormatter | |
PythonCodeGenerator | Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java |
RecognitionException | |
Rule | |
RuleBlock | A list of alternatives and info contained in the rule definition. |
RuleEndElement | Contains a list of all places that reference this enclosing rule. |
RuleRefElement | |
RuleSymbol | |
SemanticException | |
SemanticPredicateAdapter | |
SemanticPredicateEvent | |
SemanticPredicateListener | |
SimpleTokenManager | |
Stack | A simple stack definition; restrictive in that you cannot access arbitrary stack elements. |
StreamScarfer | Adapted from JavaWorld article by Michael Daconta |
StringLiteralElement | |
StringLiteralSymbol | |
StringUtils | |
SynPredBlock | |
SyntacticPredicateAdapter | |
SyntacticPredicateEvent | |
SyntacticPredicateListener | |
Token | A token is minimally a token type. |
TokenBuffer | A Stream of Token objects fed to the parser from a Tokenizer that can be rewound via mark()/rewind() methods. |
TokenManager | Interface that describes the set of defined tokens |
TokenOffsetInfo |
Provides offset info for a token. All offsets are 0-based. |
TokenQueue | A private circular buffer object used by the token buffer |
TokenRangeElement | |
TokenRefElement | |
TokenStream | |
TokenStreamBasicFilter | This object is a TokenStream that passes through all tokens except for those that you tell it to discard. |
TokenStreamException | Anything that goes wrong while generating a stream of tokens. |
TokenStreamHiddenTokenFilter | This object filters a token stream coming from a lexer or another TokenStream so that only certain token channels get transmitted to the parser. |
TokenStreamIOException | Wraps an IOException in a TokenStreamException |
TokenStreamRecognitionException | Wraps a RecognitionException in a TokenStreamException so you can pass it along. |
TokenStreamRetryException | Aborted recognition of current token. |
TokenStreamRewriteEngine | This token stream tracks the *entire* token stream coming from a lexer, but does not pass on the whitespace (or whatever else you want to discard) to the parser. |
TokenStreamRewriteEngine.DeleteOp | |
TokenStreamRewriteEngine.InsertBeforeOp | |
TokenStreamRewriteEngine.ReplaceOp | I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp instructions. |
TokenStreamRewriteEngine.RewriteOperation | |
TokenStreamSelector | 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. |
TokenSymbol | |
TokenWithIndex | This token knows what index 0..n-1 it is from beginning of stream. |
Tool | |
Tool | An application-specific build tool for ANTLR. |
Tool | Tester for the preprocessor |
ToolErrorHandler | |
TraceAdapter | |
TraceEvent | |
TraceListener | |
Tracer | |
TreeBlockContext | The context needed to add root,child elements to a Tree. |
TreeElement | A TreeElement is a block with one alternative and a root node |
TreeParser | |
TreeParserSharedInputState | This object contains the data associated with an input AST. |
TreeSpecifierNode | |
TreeWalkerGrammar | Parser-specific grammar subclass |
Utils | |
Vector | |
VectorEnumeration | |
VectorEnumerator | |
Version | |
WildcardElement | |
ZeroOrMoreBlock |