A B C D E F G H I J L M N O P Q R S T U V W X Z _

A

abortGrammar() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
abortGrammar() - Method in class persistence.antlr.DefineGrammarSymbols
Abort the processing of a grammar due to syntax errors
abortGrammar() - Method in class persistence.antlr.MakeGrammar
Abort the processing of a grammar (due to syntax errors)
ACTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
ActionTransInfo - Class in persistence.antlr
This class contains information about how an action was translated (using the AST conversion rules).
ActionTransInfo() - Constructor for class persistence.antlr.ActionTransInfo
 
addASTChild(ASTPair, AST) - Method in class persistence.antlr.ASTFactory
Add a child to the current AST
addChild(AST) - Method in class persistence.antlr.ASTNULLType
 
addChild(AST) - Method in class persistence.antlr.BaseAST
Add a node to the end of the child list for this node
addElementToCurrentAlt(AlternativeElement) - Method in class persistence.antlr.MakeGrammar
 
addExceptionSpec(ExceptionSpec) - Method in class persistence.antlr.RuleBlock
 
addInputStream(TokenStream, String) - Method in class persistence.antlr.TokenStreamSelector
 
addMessageListener(MessageListener) - Method in class persistence.antlr.Parser
 
addParserListener(ParserListener) - Method in class persistence.antlr.Parser
 
addParserMatchListener(ParserMatchListener) - Method in class persistence.antlr.Parser
 
addParserTokenListener(ParserTokenListener) - Method in class persistence.antlr.Parser
 
addSemanticPredicateListener(SemanticPredicateListener) - Method in class persistence.antlr.Parser
 
addSemPred(String) - Method in class persistence.antlr.CppCodeGenerator
Adds a semantic predicate string to the sem pred vector These strings will be used to build an array of sem pred names when building a debugging parser.
addSemPred(String) - Method in class persistence.antlr.CSharpCodeGenerator
Adds a semantic predicate string to the sem pred vector These strings will be used to build an array of sem pred names when building a debugging parser.
addSemPred(String) - Method in class persistence.antlr.JavaCodeGenerator
Adds a semantic predicate string to the sem pred vector These strings will be used to build an array of sem pred names when building a debugging parser.
addSyntacticPredicateListener(SyntacticPredicateListener) - Method in class persistence.antlr.Parser
 
addToSortedRewriteList(TokenStreamRewriteEngine.RewriteOperation) - Method in class persistence.antlr.TokenStreamRewriteEngine
If op.index > lastRewriteTokenIndexes, just add to the end.
addToSortedRewriteList(String, TokenStreamRewriteEngine.RewriteOperation) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
addTraceListener(TraceListener) - Method in class persistence.antlr.Parser
 
advanceChildToEnd() - Method in class persistence.antlr.ASTPair
Make sure that child is the last sibling
alternative() - Method in class persistence.antlr.ANTLRParser
 
altNumber - Variable in class persistence.antlr.ParseTreeRule
 
altUsesWildcardDefault(Alternative) - Method in class persistence.antlr.LLkAnalyzer
Return true if someone used the '.' wildcard default idiom.
analyzer - Variable in class persistence.antlr.CodeGenerator
The LLk analyzer
analyzerDebug - Variable in class persistence.antlr.Grammar
 
ANTLRError - Error in persistence.antlr
 
ANTLRError() - Constructor for error persistence.antlr.ANTLRError
ANTLRError constructor comment.
ANTLRError(String) - Constructor for error persistence.antlr.ANTLRError
ANTLRError constructor comment.
ANTLRException - Exception in persistence.antlr
 
ANTLRException() - Constructor for exception persistence.antlr.ANTLRException
 
ANTLRException(String) - Constructor for exception persistence.antlr.ANTLRException
 
ANTLRGrammarParseBehavior - Interface in persistence.antlr
 
ANTLRHashString - Class in persistence.antlr
 
ANTLRHashString(char[], int, CharScanner) - Constructor for class persistence.antlr.ANTLRHashString
 
ANTLRHashString(CharScanner) - Constructor for class persistence.antlr.ANTLRHashString
 
ANTLRHashString(String, CharScanner) - Constructor for class persistence.antlr.ANTLRHashString
 
ANTLRLexer - Class in persistence.antlr
 
ANTLRLexer(InputStream) - Constructor for class persistence.antlr.ANTLRLexer
 
ANTLRLexer(Reader) - Constructor for class persistence.antlr.ANTLRLexer
 
ANTLRLexer(InputBuffer) - Constructor for class persistence.antlr.ANTLRLexer
 
ANTLRLexer(LexerSharedInputState) - Constructor for class persistence.antlr.ANTLRLexer
 
ANTLRParser - Class in persistence.antlr
 
ANTLRParser(TokenBuffer, ANTLRGrammarParseBehavior, Tool) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRParser(TokenBuffer, int) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRParser(TokenBuffer) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRParser(TokenStream, int) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRParser(TokenStream) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRParser(ParserSharedInputState) - Constructor for class persistence.antlr.ANTLRParser
 
ANTLRStringBuffer - Class in persistence.antlr
 
ANTLRStringBuffer() - Constructor for class persistence.antlr.ANTLRStringBuffer
 
ANTLRStringBuffer(int) - Constructor for class persistence.antlr.ANTLRStringBuffer
 
ANTLRTokdefLexer - Class in persistence.antlr
 
ANTLRTokdefLexer(InputStream) - Constructor for class persistence.antlr.ANTLRTokdefLexer
 
ANTLRTokdefLexer(Reader) - Constructor for class persistence.antlr.ANTLRTokdefLexer
 
ANTLRTokdefLexer(InputBuffer) - Constructor for class persistence.antlr.ANTLRTokdefLexer
 
ANTLRTokdefLexer(LexerSharedInputState) - Constructor for class persistence.antlr.ANTLRTokdefLexer
 
ANTLRTokdefParser - Class in persistence.antlr
Simple lexer/parser for reading token definition files in support of the import/export vocab option for grammars.
ANTLRTokdefParser(TokenBuffer, int) - Constructor for class persistence.antlr.ANTLRTokdefParser
 
ANTLRTokdefParser(TokenBuffer) - Constructor for class persistence.antlr.ANTLRTokdefParser
 
ANTLRTokdefParser(TokenStream, int) - Constructor for class persistence.antlr.ANTLRTokdefParser
 
ANTLRTokdefParser(TokenStream) - Constructor for class persistence.antlr.ANTLRTokdefParser
 
ANTLRTokdefParser(ParserSharedInputState) - Constructor for class persistence.antlr.ANTLRTokdefParser
 
ANTLRTokdefParserTokenTypes - Interface in persistence.antlr
 
ANTLRTokenTypes - Interface in persistence.antlr
 
antlrTool - Variable in class persistence.antlr.CodeGenerator
 
antlrTool - Variable in class persistence.antlr.Grammar
 
append(char) - Method in class persistence.antlr.ANTLRStringBuffer
 
append(String) - Method in class persistence.antlr.ANTLRStringBuffer
 
append(char) - Method in class persistence.antlr.CharQueue
Add token to end of the queue
append(char) - Method in class persistence.antlr.CharScanner
 
append(String) - Method in class persistence.antlr.CharScanner
 
ARG_ACTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
argAction - Variable in class persistence.antlr.RuleBlock
 
ASSIGN - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
ASSIGN - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
assignToRoot - Variable in class persistence.antlr.ActionTransInfo
 
ast_type_spec() - Method in class persistence.antlr.ANTLRParser
 
ASTFactory - Class in persistence.antlr
AST Support code shared by TreeParser and Parser.
ASTFactory() - Constructor for class persistence.antlr.ASTFactory
 
ASTFactory(Hashtable) - Constructor for class persistence.antlr.ASTFactory
Create factory with a specific mapping from token type to Java AST node type.
astFactory - Variable in class persistence.antlr.Parser
AST support code; parser delegates to this object.
astFactory - Variable in class persistence.antlr.TreeParser
AST support code; parser and treeparser delegate to this object
ASTIterator - Class in persistence.antlr
 
ASTIterator(AST) - Constructor for class persistence.antlr.ASTIterator
 
ASTNULL - Static variable in class persistence.antlr.TreeParser
The AST Null object; the parsing cursor is set to this when it is found to be null.
ASTNULLType - Class in persistence.antlr
There is only one instance of this class
ASTNULLType() - Constructor for class persistence.antlr.ASTNULLType
 
ASTPair - Class in persistence.antlr
ASTPair: utility class used for manipulating a pair of ASTs representing the current AST root and current AST sibling.
ASTPair() - Constructor for class persistence.antlr.ASTPair
 
ASTVisitor - Interface in persistence.antlr
 

B

badToken - Static variable in class persistence.antlr.Token
 
BANG - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
BaseAST - Class in persistence.antlr
A Child-Sibling Tree.
BaseAST() - Constructor for class persistence.antlr.BaseAST
 
beginAlt(boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginAlt(boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
beginAlt(boolean) - Method in class persistence.antlr.MakeGrammar
 
beginChildList() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginChildList() - Method in class persistence.antlr.DefineGrammarSymbols
 
beginChildList() - Method in class persistence.antlr.MakeGrammar
 
beginExceptionGroup() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginExceptionGroup() - Method in class persistence.antlr.DefineGrammarSymbols
 
beginExceptionGroup() - Method in class persistence.antlr.MakeGrammar
Add an exception group to a rule (currently a no-op)
beginExceptionSpec(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginExceptionSpec(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
beginExceptionSpec(Token) - Method in class persistence.antlr.MakeGrammar
Add an exception spec to an exception group or rule block
beginSubRule(Token, Token, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginSubRule(Token, Token, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
beginSubRule(Token, Token, boolean) - Method in class persistence.antlr.MakeGrammar
 
beginTree(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
beginTree(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
beginTree(Token) - Method in class persistence.antlr.MakeGrammar
 
behavior - Variable in class persistence.antlr.CodeGenerator
The grammar behavior
BITSET_OPTIMIZE_INIT_THRESHOLD - Static variable in class persistence.antlr.CodeGenerator
If there are more than 8 long words to init in a bitset, try to optimize it; e.g., detect runs of -1L and 0L.
bitsetsUsed - Variable in class persistence.antlr.CodeGenerator
List of all bitsets that must be dumped.
bitsetTestThreshold - Variable in class persistence.antlr.CodeGenerator
This is a hint for the language-specific code generator.
block() - Method in class persistence.antlr.ANTLRParser
 
blockNesting - Variable in class persistence.antlr.ANTLRParser
 
blocks - Variable in class persistence.antlr.MakeGrammar
 
buffer - Variable in class persistence.antlr.ANTLRStringBuffer
 
buffer - Variable in class persistence.antlr.CharQueue
Physical circular buffer of tokens
buildAST - Variable in class persistence.antlr.Grammar
 
ByteBuffer - Class in persistence.antlr
 
ByteBuffer(InputStream) - Constructor for class persistence.antlr.ByteBuffer
Create a character buffer

C

cache - Variable in class persistence.antlr.RuleBlock
 
CARET - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
caseSensitive - Variable in class persistence.antlr.CharScanner
 
caseSensitiveLiterals - Variable in class persistence.antlr.CharScanner
 
caseSizeThreshold - Static variable in class persistence.antlr.CppCodeGenerator
 
caseSizeThreshold - Static variable in class persistence.antlr.CSharpCodeGenerator
 
caseSizeThreshold - Static variable in class persistence.antlr.JavaCodeGenerator
 
CHAR - Static variable in exception persistence.antlr.MismatchedCharException
 
CHAR_LITERAL - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
charAt(int) - Method in class persistence.antlr.ANTLRStringBuffer
 
CharBuffer - Class in persistence.antlr
 
CharBuffer(Reader) - Constructor for class persistence.antlr.CharBuffer
Create a character buffer
CharFormatter - Interface in persistence.antlr
Interface used by BitSet to format elements of the set when converting to string
charFormatter - Variable in class persistence.antlr.CodeGenerator
Object used to format characters in the target language.
CharQueue - Class in persistence.antlr
A circular buffer object used by CharBuffer
CharQueue(int) - Constructor for class persistence.antlr.CharQueue
 
CharScanner - Class in persistence.antlr
 
CharScanner() - Constructor for class persistence.antlr.CharScanner
 
CharScanner(InputBuffer) - Constructor for class persistence.antlr.CharScanner
 
CharScanner(LexerSharedInputState) - Constructor for class persistence.antlr.CharScanner
 
charSet() - Method in class persistence.antlr.ANTLRParser
 
CharStreamException - Exception in persistence.antlr
Anything that goes wrong while generating a stream of characters
CharStreamException(String) - Constructor for exception persistence.antlr.CharStreamException
CharStreamException constructor comment.
CharStreamIOException - Exception in persistence.antlr
Wrap an IOException in a CharStreamException
CharStreamIOException(IOException) - Constructor for exception persistence.antlr.CharStreamIOException
 
checkForInvalidArguments(String[], BitSet) - Method in class persistence.antlr.Tool
 
child - Variable in class persistence.antlr.ASTPair
 
classDef() - Method in class persistence.antlr.ANTLRParser
 
classMemberAction - Variable in class persistence.antlr.Grammar
 
className - Variable in class persistence.antlr.Grammar
 
clone() - Method in class persistence.antlr.Lookahead
Make a deep copy of everything in this object
close() - Method in class persistence.antlr.PreservingFileWriter
Close the file and see if the actual target is different if so the target file is overwritten by the copy.
CLOSE_ELEMENT_OPTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
CodeGenerator - Class in persistence.antlr
A generic ANTLR code generator.
CodeGenerator() - Constructor for class persistence.antlr.CodeGenerator
Construct code generator base class
col - Variable in class persistence.antlr.CommonToken
 
COLON - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
column - Variable in class persistence.antlr.LexerSharedInputState
 
column - Variable in exception persistence.antlr.RecognitionException
 
combineWith(Lookahead) - Method in class persistence.antlr.Lookahead
 
COMMA - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
COMMENT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
comment - Variable in class persistence.antlr.Grammar
 
commit() - Method in class persistence.antlr.CharScanner
 
commit() - Method in class persistence.antlr.InputBuffer
This method updates the state of the input buffer so that the text matched since the most recent mark() is no longer held by the buffer.
commitToPath - Variable in class persistence.antlr.CharScanner
Used during filter mode to indicate that path is desired.
CommonAST - Class in persistence.antlr
Common AST node implementation
CommonAST() - Constructor for class persistence.antlr.CommonAST
 
CommonAST(Token) - Constructor for class persistence.antlr.CommonAST
 
CommonASTWithHiddenTokens - Class in persistence.antlr
A CommonAST whose initialization copies hidden token information from the Token used to create a node.
CommonASTWithHiddenTokens() - Constructor for class persistence.antlr.CommonASTWithHiddenTokens
 
CommonASTWithHiddenTokens(Token) - Constructor for class persistence.antlr.CommonASTWithHiddenTokens
 
CommonHiddenStreamToken - Class in persistence.antlr
 
CommonHiddenStreamToken() - Constructor for class persistence.antlr.CommonHiddenStreamToken
 
CommonHiddenStreamToken(int, String) - Constructor for class persistence.antlr.CommonHiddenStreamToken
 
CommonHiddenStreamToken(String) - Constructor for class persistence.antlr.CommonHiddenStreamToken
 
CommonToken - Class in persistence.antlr
 
CommonToken() - Constructor for class persistence.antlr.CommonToken
 
CommonToken(int, String) - Constructor for class persistence.antlr.CommonToken
 
CommonToken(String) - Constructor for class persistence.antlr.CommonToken
 
consume() - Method in class persistence.antlr.CharScanner
 
consume() - Method in class persistence.antlr.InputBuffer
Mark another character for deferred consumption
consume() - Method in class persistence.antlr.LLkParser
Consume another token from the input stream.
consume() - Method in class persistence.antlr.Parser
Get another token object from the token stream
consume() - Method in class persistence.antlr.TokenBuffer
Mark another token for deferred consumption
consume() - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
consumeUntil(int) - Method in class persistence.antlr.CharScanner
Consume chars until one matches the given char
consumeUntil(BitSet) - Method in class persistence.antlr.CharScanner
Consume chars until one matches the given set
consumeUntil(int) - Method in class persistence.antlr.Parser
Consume tokens until one matches the given token
consumeUntil(BitSet) - Method in class persistence.antlr.Parser
Consume tokens until one matches the given token set
containsEpsilon() - Method in class persistence.antlr.Lookahead
 
context() - Method in class persistence.antlr.MakeGrammar
 
copy() - Method in class persistence.antlr.ASTPair
Copy an ASTPair.
copyFile(String, String) - Method in class persistence.antlr.Tool
This example is from the book _Java in a Nutshell_ by David Flanagan.
countLines(String) - Method in class persistence.antlr.CppCodeGenerator
 
CppCodeGenerator - Class in persistence.antlr
Generate MyParser.cpp, MyParser.hpp, MyLexer.cpp, MyLexer.hpp and MyParserTokenTypes.hpp
CppCodeGenerator() - Constructor for class persistence.antlr.CppCodeGenerator
Create a C++ code-generator using the given Grammar.
create() - Method in class persistence.antlr.ASTFactory
Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
create(int) - Method in class persistence.antlr.ASTFactory
 
create(int, String) - Method in class persistence.antlr.ASTFactory
 
create(int, String, String) - Method in class persistence.antlr.ASTFactory
Create an AST node with the token type and text passed in, but with a specific Java object type.
create(AST) - Method in class persistence.antlr.ASTFactory
Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
create(Token) - Method in class persistence.antlr.ASTFactory
 
create(Token, String) - Method in class persistence.antlr.ASTFactory
ANTLR generates reference to this when you reference a token that has a specified heterogeneous AST node type.
create(String) - Method in class persistence.antlr.ASTFactory
 
create(Class) - Method in class persistence.antlr.ASTFactory
 
createNextTokenRule(Grammar, Vector, String) - Static method in class persistence.antlr.MakeGrammar
Used to build nextToken() for the lexer.
createUsingCtor(Token, String) - Method in class persistence.antlr.ASTFactory
 
CSharpCodeGenerator - Class in persistence.antlr
Generates MyParser.cs, MyLexer.cs and MyParserTokenTypes.cs
CSharpCodeGenerator() - Constructor for class persistence.antlr.CSharpCodeGenerator
Create a CSharp code-generator using the given Grammar.
CSharpNameSpace - Class in persistence.antlr
 
CSharpNameSpace(String) - Constructor for class persistence.antlr.CSharpNameSpace
 
currentOutput - Variable in class persistence.antlr.CodeGenerator
Current output Stream
cursor - Variable in class persistence.antlr.ASTIterator
 

D

datestamp - Static variable in class persistence.antlr.Version
 
DEBUG_ANALYZER - Variable in class persistence.antlr.LLkAnalyzer
 
DEBUG_CODE_GENERATOR - Variable in class persistence.antlr.CodeGenerator
Use option "codeGenDebug" to generate debugging output
debuggingOutput - Variable in class persistence.antlr.Grammar
 
decode(String) - Static method in class persistence.antlr.BaseAST
 
decodeLexerRuleName(String) - Static method in class persistence.antlr.CodeGenerator
 
DEFAULT_BITSET_TEST_THRESHOLD - Static variable in class persistence.antlr.CodeGenerator
 
DEFAULT_MAKE_SWITCH_THRESHOLD - Static variable in class persistence.antlr.CodeGenerator
Default values for code-generation thresholds
DEFAULT_PROGRAM_NAME - Static variable in class persistence.antlr.TokenStreamRewriteEngine
 
defaultDebuggingSetup(TokenStream, TokenBuffer) - Method in class persistence.antlr.Parser
 
defaultErrorHandler - Variable in class persistence.antlr.Grammar
 
defaultErrorHandler - Variable in class persistence.antlr.RuleBlock
 
DefaultFileLineFormatter - Class in persistence.antlr
 
DefaultFileLineFormatter() - Constructor for class persistence.antlr.DefaultFileLineFormatter
 
define(RuleSymbol) - Method in class persistence.antlr.Grammar
Define a rule
DefineGrammarSymbols - Class in persistence.antlr
DefineGrammarSymbols is a behavior for the ANTLRParser that adds all the token and rule symbols to the grammar symbol table.
DefineGrammarSymbols(Tool, String[], LLkAnalyzer) - Constructor for class persistence.antlr.DefineGrammarSymbols
 
defineRuleName(Token, String, boolean, String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
defineRuleName(Token, String, boolean, String) - Method in class persistence.antlr.DefineGrammarSymbols
Define a lexer or parser rule
defineRuleName(Token, String, boolean, String) - Method in class persistence.antlr.MakeGrammar
 
defineToken(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
defineToken(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
Define a token from tokens {...}.
delete(int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
delete(int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
delete(Token) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
delete(Token, Token) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
delete(String, int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
delete(String, Token, Token) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
deleteProgram() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
deleteProgram(String) - Method in class persistence.antlr.TokenStreamRewriteEngine
Reset the program so that no instructions exist
deterministic(AlternativeBlock) - Method in class persistence.antlr.LLkAnalyzer
Is this block of alternatives LL(k)? Fill in alternative cache for this block.
deterministic(OneOrMoreBlock) - Method in class persistence.antlr.LLkAnalyzer
Is (...)+ block LL(1)? Fill in alternative cache for this block.
deterministic(ZeroOrMoreBlock) - Method in class persistence.antlr.LLkAnalyzer
Is (...)* block LL(1)? Fill in alternative cache for this block.
deterministic(AlternativeBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
deterministic(OneOrMoreBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
deterministic(ZeroOrMoreBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
deterministicImpliedPath(BlockWithImpliedExitPath) - Method in class persistence.antlr.LLkAnalyzer
Is this (...)* or (...)+ block LL(k)?
DiagnosticCodeGenerator - Class in persistence.antlr
Generate MyParser.txt, MyLexer.txt and MyParserTokenTypes.txt
DiagnosticCodeGenerator() - Constructor for class persistence.antlr.DiagnosticCodeGenerator
Create a Diagnostic code-generator using the given Grammar The caller must still call setTool, setBehavior, and setAnalyzer before generating code.
DIGIT - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
DIGIT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
discard(int) - Method in class persistence.antlr.TokenStreamBasicFilter
 
discard(BitSet) - Method in class persistence.antlr.TokenStreamBasicFilter
 
discard(int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
discardMask - Variable in class persistence.antlr.TokenStreamBasicFilter
The set of token types to discard
discardMask - Variable in class persistence.antlr.TokenStreamRewriteEngine
Which (whitespace) token(s) to throw out
DOC_COMMENT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
DocBookCodeGenerator - Class in persistence.antlr
Generate P.sgml, a cross-linked representation of P with or without actions
DocBookCodeGenerator() - Constructor for class persistence.antlr.DocBookCodeGenerator
Create a Diagnostic code-generator using the given Grammar The caller must still call setTool, setBehavior, and setAnalyzer before generating code.
doEverything(String[]) - Method in class persistence.antlr.Tool
Process args and have ANTLR do it's stuff without calling System.exit.
doEverythingWrapper(String[]) - Method in class persistence.antlr.Tool
Perform processing on the grammar file.
doingLexRules - Variable in class persistence.antlr.DiagnosticCodeGenerator
true during lexer generation, false during parser generation
doingLexRules - Variable in class persistence.antlr.DocBookCodeGenerator
true during lexer generation, false during parser generation
doingLexRules - Variable in class persistence.antlr.HTMLCodeGenerator
true during lexer generation, false during parser generation
down - Variable in class persistence.antlr.BaseAST
 
DumpASTVisitor - Class in persistence.antlr
Simple class to dump the contents of an AST to the output
DumpASTVisitor() - Constructor for class persistence.antlr.DumpASTVisitor
 
dup(AST) - Method in class persistence.antlr.ASTFactory
Copy a single node with same Java AST objec type.
dupList(AST) - Method in class persistence.antlr.ASTFactory
Duplicate tree including siblings of root.
dupTree(AST) - Method in class persistence.antlr.ASTFactory
Duplicate a tree, assuming this is a root node of a tree-- duplicate that node and what's below; ignore siblings of root node.

E

ebnf(Token, boolean) - Method in class persistence.antlr.ANTLRParser
 
element() - Method in class persistence.antlr.ANTLRParser
 
elementAt(int) - Method in class persistence.antlr.CharQueue
Fetch a token from the queue by index
elementNoOptionSpec() - Method in class persistence.antlr.ANTLRParser
 
elementOptionSpec() - Method in class persistence.antlr.ANTLRParser
 
elementsAreRange(int[]) - Static method in class persistence.antlr.CodeGenerator
Test if a set element array represents a contiguous range.
encode(String) - Static method in class persistence.antlr.BaseAST
 
encodeLexerRuleName(String) - Static method in class persistence.antlr.CodeGenerator
 
endAlt() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endAlt() - Method in class persistence.antlr.DefineGrammarSymbols
 
endAlt() - Method in class persistence.antlr.MakeGrammar
 
endChildList() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endChildList() - Method in class persistence.antlr.DefineGrammarSymbols
 
endChildList() - Method in class persistence.antlr.MakeGrammar
 
endExceptionGroup() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endExceptionGroup() - Method in class persistence.antlr.DefineGrammarSymbols
 
endExceptionGroup() - Method in class persistence.antlr.MakeGrammar
 
endExceptionSpec() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endExceptionSpec() - Method in class persistence.antlr.DefineGrammarSymbols
 
endExceptionSpec() - Method in class persistence.antlr.MakeGrammar
 
endGrammar() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endGrammar() - Method in class persistence.antlr.DefineGrammarSymbols
 
endGrammar() - Method in class persistence.antlr.MakeGrammar
Called at the end of processing a grammar
endNode - Variable in class persistence.antlr.RuleBlock
 
endOptions() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endOptions() - Method in class persistence.antlr.DefineGrammarSymbols
Called after the optional options section, to compensate for options that may not have been set.
endRule(String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endRule(String) - Method in class persistence.antlr.DefineGrammarSymbols
 
endRule(String) - Method in class persistence.antlr.MakeGrammar
 
endSubRule() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endSubRule() - Method in class persistence.antlr.DefineGrammarSymbols
 
endSubRule() - Method in class persistence.antlr.MakeGrammar
 
endTree() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
endTree() - Method in class persistence.antlr.DefineGrammarSymbols
 
endTree() - Method in class persistence.antlr.MakeGrammar
 
EOF - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
EOF - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
EOF_CHAR - Static variable in class persistence.antlr.CharScanner
 
EOF_TYPE - Static variable in class persistence.antlr.Token
 
equals(Object) - Method in class persistence.antlr.ANTLRHashString
 
equals(AST) - Method in class persistence.antlr.ASTNULLType
 
equals(AST) - Method in class persistence.antlr.BaseAST
Is node t equal to this in terms of token type and text?
equalsList(AST) - Method in class persistence.antlr.ASTNULLType
 
equalsList(AST) - Method in class persistence.antlr.BaseAST
Is t an exact structural and equals() match of this tree.
equalsListPartial(AST) - Method in class persistence.antlr.ASTNULLType
 
equalsListPartial(AST) - Method in class persistence.antlr.BaseAST
Is 'sub' a subtree of this list? The siblings of the root are NOT ignored.
equalsTree(AST) - Method in class persistence.antlr.ASTNULLType
 
equalsTree(AST) - Method in class persistence.antlr.BaseAST
Is tree rooted at 'this' equal to 't'? The siblings of 'this' are ignored.
equalsTreePartial(AST) - Method in class persistence.antlr.ASTNULLType
 
equalsTreePartial(AST) - Method in class persistence.antlr.BaseAST
Is 't' a subtree of the tree rooted at 'this'? The siblings of 'this' are ignored.
error(String) - Method in class persistence.antlr.ASTFactory
To change where error messages go, can subclass/override this method and then setASTFactory in Parser and TreeParser.
error(String) - Method in class persistence.antlr.Tool
Issue an error
error(String, String, int, int) - Method in class persistence.antlr.Tool
Issue an error with line number information
ESC - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
ESC - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
escapeChar(int, boolean) - Method in interface persistence.antlr.CharFormatter
 
escapeCharValue(String) - Static method in class persistence.antlr.ANTLRLexer
Convert 'c' to an integer char value.
escapeString(String) - Method in interface persistence.antlr.CharFormatter
 
exceptionGroup() - Method in class persistence.antlr.ANTLRParser
 
exceptionHandler() - Method in class persistence.antlr.ANTLRParser
 
exceptionSpec() - Method in class persistence.antlr.ANTLRParser
 
exceptionSpecNoLabel() - Method in class persistence.antlr.ANTLRParser
 
exitIfError() - Method in class persistence.antlr.CppCodeGenerator
 
exitIfError() - Method in class persistence.antlr.CSharpCodeGenerator
 
exitIfError() - Method in class persistence.antlr.JavaCodeGenerator
 
expecting - Variable in exception persistence.antlr.MismatchedCharException
 
expecting - Variable in exception persistence.antlr.MismatchedTokenException
 
exportVocab - Variable in class persistence.antlr.Grammar
The name of the export vocabulary...used to generate the output token types interchange file.
extractIdOfAction(Token) - Method in class persistence.antlr.CodeGenerator
Get the identifier portion of an argument-action token.
extractIdOfAction(String, int, int) - Method in class persistence.antlr.CodeGenerator
Get the identifier portion of an argument-action.
extractTypeOfAction(Token) - Method in class persistence.antlr.CodeGenerator
Get the type string out of an argument-action token.
extractTypeOfAction(String, int, int) - Method in class persistence.antlr.CodeGenerator
Get the type portion of an argument-action.

F

factory(String) - Method in class persistence.antlr.Tool
When we are 1.1 compatible...
fatalError(String) - Method in class persistence.antlr.Tool
An error occured that should stop the Tool from doing any work.
file(ImportVocabTokenManager) - Method in class persistence.antlr.ANTLRTokdefParser
 
FileLineFormatter - Class in persistence.antlr
 
FileLineFormatter() - Constructor for class persistence.antlr.FileLineFormatter
 
fileMinusPath(String) - Method in class persistence.antlr.Tool
 
fileName - Variable in class persistence.antlr.Grammar
 
filename - Variable in class persistence.antlr.LexerSharedInputState
What file (if known) caused the problem?
filename - Variable in class persistence.antlr.ParserSharedInputState
What file (if known) caused the problem?
fileName - Variable in exception persistence.antlr.RecognitionException
 
fileOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
fill(int) - Method in class persistence.antlr.ByteBuffer
Ensure that the character buffer is sufficiently full
fill(int) - Method in class persistence.antlr.CharBuffer
Ensure that the character buffer is sufficiently full
fill(int) - Method in class persistence.antlr.InputBuffer
Ensure that the input buffer is sufficiently full
findAll(AST) - Method in class persistence.antlr.ASTNULLType
 
findAll(AST) - Method in class persistence.antlr.BaseAST
Walk the tree looking for all exact subtree matches.
findAllPartial(AST) - Method in class persistence.antlr.ASTNULLType
 
findAllPartial(AST) - Method in class persistence.antlr.BaseAST
Walk the tree looking for all subtrees.
findExceptionSpec(Token) - Method in class persistence.antlr.RuleBlock
 
findExceptionSpec(String) - Method in class persistence.antlr.RuleBlock
 
firstElementInAlt - Variable in class persistence.antlr.DocBookCodeGenerator
 
firstElementInAlt - Variable in class persistence.antlr.HTMLCodeGenerator
 
firstHidden - Variable in class persistence.antlr.TokenStreamHiddenTokenFilter
 
FOLLOW(int, RuleEndElement) - Method in class persistence.antlr.LLkAnalyzer
Compute the lookahead set of whatever follows references to the rule associated witht the FOLLOW block.
FOLLOW(int, RuleEndElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
followSetName - Variable in class persistence.antlr.ActionTransInfo
 
foundChar - Variable in exception persistence.antlr.MismatchedCharException
 
foundChar - Variable in exception persistence.antlr.NoViableAltForCharException
 

G

gen() - Method in class persistence.antlr.CodeGenerator
Generate the code for all grammars
gen(ActionElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.CodeGenerator
Generate the code for a parser
gen(OneOrMoreBlock) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.CodeGenerator
Generate the code for a parser
gen(RuleRefElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(TreeWalkerGrammar) - Method in class persistence.antlr.CodeGenerator
Generate the code for a parser
gen(WildcardElement) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.CodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.CppCodeGenerator
Generate the parser, lexer, treeparser, and token types in C++
gen(ActionElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.CppCodeGenerator
Generate the lexer C++ files
gen(OneOrMoreBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.CppCodeGenerator
Generate the parser C++ file
gen(RuleRefElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.CppCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.CppCodeGenerator
Generate the tree-parser C++ files
gen(WildcardElement) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.CSharpCodeGenerator
Generate the parser, lexer, treeparser, and token types in CSharp
gen(ActionElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the lexer CSharp file
gen(OneOrMoreBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the parser CSharp file
gen(RuleRefElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.CSharpCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the tree-parser CSharp file
gen(WildcardElement) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the parser, lexer, and token types documentation
gen(ActionElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the lexer TXT file
gen(OneOrMoreBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the parser TXT file
gen(RuleRefElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the tree-walker TXT file
gen(WildcardElement) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate a wildcard element
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.DocBookCodeGenerator
 
gen(ActionElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the lexer HTML file
gen(OneOrMoreBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the parser HTML file
gen(RuleRefElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.DocBookCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the tree-walker TXT file
gen(WildcardElement) - Method in class persistence.antlr.DocBookCodeGenerator
Generate a wildcard element
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.HTMLCodeGenerator
 
gen(ActionElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the lexer HTML file
gen(OneOrMoreBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the parser HTML file
gen(RuleRefElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.HTMLCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the tree-walker TXT file
gen(WildcardElement) - Method in class persistence.antlr.HTMLCodeGenerator
Generate a wildcard element
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for the given grammar element.
gen() - Method in class persistence.antlr.JavaCodeGenerator
Generate the parser, lexer, treeparser, and token types in Java
gen(ActionElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(AlternativeBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(BlockEndElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(CharLiteralElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(CharRangeElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(LexerGrammar) - Method in class persistence.antlr.JavaCodeGenerator
Generate the lexer Java file
gen(OneOrMoreBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(ParserGrammar) - Method in class persistence.antlr.JavaCodeGenerator
Generate the parser Java file
gen(RuleRefElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(StringLiteralElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(TokenRangeElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(TokenRefElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(TreeElement) - Method in class persistence.antlr.JavaCodeGenerator
 
gen(TreeWalkerGrammar) - Method in class persistence.antlr.JavaCodeGenerator
Generate the tree-parser Java file
gen(WildcardElement) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
gen(ZeroOrMoreBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate code for the given grammar element.
genAlt(Alternative, AlternativeBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate an alternative.
genAlt(Alternative, AlternativeBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate an alternative.
genAlt(Alternative) - Method in class persistence.antlr.DiagnosticCodeGenerator
 
genAlt(Alternative) - Method in class persistence.antlr.DocBookCodeGenerator
 
genAlt(Alternative) - Method in class persistence.antlr.HTMLCodeGenerator
 
genAlt(Alternative, AlternativeBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate an alternative.
genAST - Variable in class persistence.antlr.CppCodeGenerator
 
genAST - Variable in class persistence.antlr.CSharpCodeGenerator
 
genAST - Variable in class persistence.antlr.JavaCodeGenerator
 
genASTDeclaration(AlternativeElement) - Method in class persistence.antlr.CppCodeGenerator
 
genASTDeclaration(AlternativeElement, String) - Method in class persistence.antlr.CppCodeGenerator
 
genASTDeclaration(AlternativeElement, String, String) - Method in class persistence.antlr.CppCodeGenerator
 
genASTDeclaration(AlternativeElement) - Method in class persistence.antlr.CSharpCodeGenerator
 
genASTDeclaration(AlternativeElement, String) - Method in class persistence.antlr.CSharpCodeGenerator
 
genASTDeclaration(AlternativeElement, String, String) - Method in class persistence.antlr.CSharpCodeGenerator
 
genASTDeclaration(AlternativeElement) - Method in class persistence.antlr.JavaCodeGenerator
 
genASTDeclaration(AlternativeElement, String) - Method in class persistence.antlr.JavaCodeGenerator
 
genASTDeclaration(AlternativeElement, String, String) - Method in class persistence.antlr.JavaCodeGenerator
 
genBitsets(Vector, int, String) - Method in class persistence.antlr.CppCodeGenerator
Generate all the bitsets to be used in the parser or lexer Generate the raw bitset data like "long _tokenSet1_data[] = {...};" and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data);" Note that most languages do not support object initialization inside a class definition, so other code-generators may have to separate the bitset declarations from the initializations (e.g., put the initializations in the generated constructor instead).
genBitsets(Vector, int) - Method in class persistence.antlr.CSharpCodeGenerator
Generate all the bitsets to be used in the parser or lexer Generate the raw bitset data like "long _tokenSet1_data[] = {...};" and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data);" Note that most languages do not support object initialization inside a class definition, so other code-generators may have to separate the bitset declarations from the initializations (e.g., put the initializations in the generated constructor instead).
genBitsets(Vector, int) - Method in class persistence.antlr.JavaCodeGenerator
Generate all the bitsets to be used in the parser or lexer Generate the raw bitset data like "long _tokenSet1_data[] = {...};" and the BitSet object declarations like "BitSet _tokenSet1 = new BitSet(_tokenSet1_data);" Note that most languages do not support object initialization inside a class definition, so other code-generators may have to separate the bitset declarations from the initializations (e.g., put the initializations in the generated constructor instead).
genBitsetsHeader(Vector, int) - Method in class persistence.antlr.CppCodeGenerator
 
genBlockInitAction(AlternativeBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate the initaction for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBlockInitAction(AlternativeBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBlockInitAction(AlternativeBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate the init action for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBlockPreamble(AlternativeBlock) - Method in class persistence.antlr.CppCodeGenerator
Generate the header for a block, which may be a RuleBlock or a plain AlternativeBlock.
genBlockPreamble(AlternativeBlock) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBlockPreamble(AlternativeBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBlockPreamble(AlternativeBlock) - Method in class persistence.antlr.JavaCodeGenerator
Generate the header for a block, which may be a RuleBlock or a plain AlternativeBLock.
genBody(LexerGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genBody(ParserGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genBody(TreeWalkerGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genBody(LexerGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
 
genBody(ParserGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
 
genBody(TreeWalkerGrammar) - Method in class persistence.antlr.CSharpCodeGenerator
 
genCases(BitSet) - Method in class persistence.antlr.CppCodeGenerator
Generate a series of case statements that implement a BitSet test.
genCases(BitSet) - Method in class persistence.antlr.CSharpCodeGenerator
Generate a series of case statements that implement a BitSet test.
genCases(BitSet) - Method in class persistence.antlr.JavaCodeGenerator
Generate a series of case statements that implement a BitSet test.
genCommonBlock(AlternativeBlock, boolean) - Method in class persistence.antlr.CppCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
genCommonBlock(AlternativeBlock, boolean) - Method in class persistence.antlr.CSharpCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
genCommonBlock(AlternativeBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
genCommonBlock(AlternativeBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
genCommonBlock(AlternativeBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
genCommonBlock(AlternativeBlock, boolean) - Method in class persistence.antlr.JavaCodeGenerator
Generate common code for a block of alternatives; return a postscript that needs to be generated at the end of the block.
generate() - Method in class persistence.antlr.Grammar
Top-level call to generate the code for this grammar
generate() - Method in class persistence.antlr.RuleBlock
 
generator - Variable in class persistence.antlr.Grammar
 
genFollowSetForRuleBlock(RuleBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate a textual representation of the follow set for a block.
genFollowSetForRuleBlock(RuleBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate a textual representation of the follow set for a block.
genFollowSetForRuleBlock(RuleBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate a textual representation of the follow set for a block.
genGenericBlock(AlternativeBlock, String) - Method in class persistence.antlr.DocBookCodeGenerator
 
genGenericBlock(AlternativeBlock, String) - Method in class persistence.antlr.HTMLCodeGenerator
 
genHashLines - Variable in class persistence.antlr.CppCodeGenerator
 
genHashLines - Variable in class persistence.antlr.Tool
 
genHeader(String) - Method in class persistence.antlr.CppCodeGenerator
Generate a header that is common to all C++ files
genHeader() - Method in class persistence.antlr.CSharpCodeGenerator
Generate a header that is common to all CSharp files
genHeader() - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate a header that is common to all TXT files
genHeader() - Method in class persistence.antlr.DocBookCodeGenerator
Generate a header that is common to all TXT files
genHeader() - Method in class persistence.antlr.HTMLCodeGenerator
Generate a header that is common to all TXT files
genHeader() - Method in class persistence.antlr.JavaCodeGenerator
Generate a header that is common to all Java files
genInclude(LexerGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genInclude(ParserGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genInclude(TreeWalkerGrammar) - Method in class persistence.antlr.CppCodeGenerator
 
genInitFactory(Grammar) - Method in class persistence.antlr.CppCodeGenerator
 
genInitFactory(Grammar) - Method in class persistence.antlr.CSharpCodeGenerator
 
genLineNo(int) - Method in class persistence.antlr.CppCodeGenerator
Generate a #line or // line depending on options
genLineNo(GrammarElement) - Method in class persistence.antlr.CppCodeGenerator
Generate a #line or // line depending on options
genLineNo(Token) - Method in class persistence.antlr.CppCodeGenerator
Generate a #line or // line depending on options
genLineNo2() - Method in class persistence.antlr.CppCodeGenerator
Generate a #line or // line depending on options
genLookaheadSetForAlt(Alternative) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the lookahead set for an alternate.
genLookaheadSetForAlt(Alternative) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the lookahead set for an alternate.
genLookaheadSetForAlt(Alternative) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the lookahead set for an alternate.
genLookaheadSetForBlock(AlternativeBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate a textual representation of the lookahead set for a block.
genLookaheadSetForBlock(AlternativeBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate a textual representation of the lookahead set for a block.
genLookaheadSetForBlock(AlternativeBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate a textual representation of the lookahead set for a block.
genMatch(BitSet) - Method in class persistence.antlr.CppCodeGenerator
 
genMatch(GrammarAtom) - Method in class persistence.antlr.CppCodeGenerator
 
genMatch(BitSet) - Method in class persistence.antlr.CSharpCodeGenerator
 
genMatch(GrammarAtom) - Method in class persistence.antlr.CSharpCodeGenerator
 
genMatch(BitSet) - Method in class persistence.antlr.JavaCodeGenerator
 
genMatch(GrammarAtom) - Method in class persistence.antlr.JavaCodeGenerator
 
genMatchUsingAtomText(GrammarAtom) - Method in class persistence.antlr.CppCodeGenerator
 
genMatchUsingAtomText(GrammarAtom) - Method in class persistence.antlr.CSharpCodeGenerator
 
genMatchUsingAtomText(GrammarAtom) - Method in class persistence.antlr.JavaCodeGenerator
 
genMatchUsingAtomTokenType(GrammarAtom) - Method in class persistence.antlr.CppCodeGenerator
 
genMatchUsingAtomTokenType(GrammarAtom) - Method in class persistence.antlr.CSharpCodeGenerator
 
genMatchUsingAtomTokenType(GrammarAtom) - Method in class persistence.antlr.JavaCodeGenerator
 
genNextToken() - Method in class persistence.antlr.CppCodeGenerator
Generate the nextToken() rule.
genNextToken() - Method in class persistence.antlr.CSharpCodeGenerator
Generate the nextToken() rule.
genNextToken() - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the nextToken rule.
genNextToken() - Method in class persistence.antlr.DocBookCodeGenerator
Generate the nextToken rule.
genNextToken() - Method in class persistence.antlr.HTMLCodeGenerator
Generate the nextToken rule.
genNextToken() - Method in class persistence.antlr.JavaCodeGenerator
Generate the nextToken() rule.
genRule(RuleSymbol, boolean, int, String) - Method in class persistence.antlr.CppCodeGenerator
Gen a named rule block.
genRule(RuleSymbol, boolean, int, TokenManager) - Method in class persistence.antlr.CSharpCodeGenerator
Gen a named rule block.
genRule(RuleSymbol) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate code for a named rule block
genRule(RuleSymbol) - Method in class persistence.antlr.DocBookCodeGenerator
Generate code for a named rule block
genRule(RuleSymbol) - Method in class persistence.antlr.HTMLCodeGenerator
Generate code for a named rule block
genRule(RuleSymbol, boolean, int) - Method in class persistence.antlr.JavaCodeGenerator
Gen a named rule block.
genRuleHeader(RuleSymbol, boolean) - Method in class persistence.antlr.CppCodeGenerator
 
genSemPred(String, int) - Method in class persistence.antlr.CppCodeGenerator
 
genSemPred(String, int) - Method in class persistence.antlr.CSharpCodeGenerator
 
genSemPred(String, int) - Method in class persistence.antlr.JavaCodeGenerator
 
genSemPredMap(String) - Method in class persistence.antlr.CppCodeGenerator
Write an array of Strings which are the semantic predicate expressions.
genSemPredMap() - Method in class persistence.antlr.CSharpCodeGenerator
Write an array of Strings which are the semantic predicate expressions.
genSemPredMap() - Method in class persistence.antlr.JavaCodeGenerator
Write an array of Strings which are the semantic predicate expressions.
genSynPred(SynPredBlock, String) - Method in class persistence.antlr.CppCodeGenerator
 
genSynPred(SynPredBlock, String) - Method in class persistence.antlr.CSharpCodeGenerator
 
genSynPred(SynPredBlock) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the syntactic predicate.
genSynPred(SynPredBlock) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the syntactic predicate.
genSynPred(SynPredBlock) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the syntactic predicate.
genSynPred(SynPredBlock, String) - Method in class persistence.antlr.JavaCodeGenerator
 
genTail() - Method in class persistence.antlr.DocBookCodeGenerator
 
genTail() - Method in class persistence.antlr.HTMLCodeGenerator
 
genTokenASTNodeMap() - Method in class persistence.antlr.JavaCodeGenerator
Create and set Integer token type objects that map to Java Class objects (which AST node to create).
genTokenDefinitions(TokenManager) - Method in class persistence.antlr.CSharpCodeGenerator
 
genTokenInterchange(TokenManager) - Method in class persistence.antlr.CodeGenerator
Generate the token types as a text file for persistence across shared lexer/parser
genTokenStrings(String) - Method in class persistence.antlr.CppCodeGenerator
Generate a static array containing the names of the tokens, indexed by the token type values.
genTokenStrings() - Method in class persistence.antlr.CSharpCodeGenerator
Generate a static array containing the names of the tokens, indexed by the token type values.
genTokenStrings() - Method in class persistence.antlr.JavaCodeGenerator
Generate a static array containing the names of the tokens, indexed by the token type values.
genTokenTypes(TokenManager) - Method in class persistence.antlr.CppCodeGenerator
Generate the token types C++ file
genTokenTypes(TokenManager) - Method in class persistence.antlr.CSharpCodeGenerator
Generate the token types CSharp file
genTokenTypes(TokenManager) - Method in class persistence.antlr.DiagnosticCodeGenerator
Generate the token types TXT file
genTokenTypes(TokenManager) - Method in class persistence.antlr.DocBookCodeGenerator
Generate the token types TXT file
genTokenTypes(TokenManager) - Method in class persistence.antlr.HTMLCodeGenerator
Generate the token types TXT file
genTokenTypes(TokenManager) - Method in class persistence.antlr.JavaCodeGenerator
Generate the token types Java file
getAST() - Method in class persistence.antlr.Parser
Get the AST return value squirreled away in the parser
getAST() - Method in class persistence.antlr.TreeParser
Get the AST return value squirreled away in the parser
getASTCreateString(Vector) - Method in class persistence.antlr.CodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.CodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(Vector) - Method in class persistence.antlr.CppCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.CppCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(String) - Method in class persistence.antlr.CppCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(Vector) - Method in class persistence.antlr.CSharpCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.CSharpCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(String) - Method in class persistence.antlr.CSharpCodeGenerator
Returns a string expression that creates an AST node using the specified AST constructor argument string.
getASTCreateString(Vector) - Method in class persistence.antlr.DiagnosticCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.DiagnosticCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(Vector) - Method in class persistence.antlr.DocBookCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.DocBookCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(Vector) - Method in class persistence.antlr.HTMLCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.HTMLCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(Vector) - Method in class persistence.antlr.JavaCodeGenerator
Get a string for an expression to generate creation of an AST subtree.
getASTCreateString(GrammarAtom, String) - Method in class persistence.antlr.JavaCodeGenerator
Get a string for an expression to generate creating of an AST node
getASTCreateString(String) - Method in class persistence.antlr.JavaCodeGenerator
Get a string for an expression to generate creating of an AST node.
getASTFactory() - Method in class persistence.antlr.Parser
 
getASTFactory() - Method in class persistence.antlr.TreeParser
 
getASTNodeType(int) - Method in class persistence.antlr.ASTFactory
For a given token type, what is the AST node object type to create for it?
getBitsetName(int) - Method in class persistence.antlr.CodeGenerator
Given the index of a bitset in the bitset list, generate a unique name.
getBitsetName(int) - Method in class persistence.antlr.CSharpCodeGenerator
Given the index of a bitset in the bitset list, generate a unique name.
getBuffer() - Method in class persistence.antlr.ANTLRStringBuffer
 
getCaseSensitive() - Method in class persistence.antlr.CharScanner
 
getCaseSensitiveLiterals() - Method in class persistence.antlr.CharScanner
 
getClassName() - Method in class persistence.antlr.Grammar
 
getColumn() - Method in class persistence.antlr.ASTNULLType
 
getColumn() - Method in class persistence.antlr.BaseAST
 
getColumn() - Method in class persistence.antlr.CharScanner
 
getColumn() - Method in class persistence.antlr.CommonToken
Return token's start column
getColumn() - Method in exception persistence.antlr.RecognitionException
 
getColumn() - Method in class persistence.antlr.Token
 
getCommitToPath() - Method in class persistence.antlr.CharScanner
 
getCurrentStream() - Method in class persistence.antlr.TokenStreamSelector
Return the stream from tokens are being pulled at the moment.
getDefaultErrorHandler() - Method in class persistence.antlr.Grammar
 
getDefaultErrorHandler() - Method in class persistence.antlr.RuleBlock
 
getDiscardMask() - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
getEndElement() - Method in class persistence.antlr.RuleBlock
 
getErrorMessage() - Method in exception persistence.antlr.RecognitionException
Deprecated. As of ANTLR 2.7.0
getFilename() - Method in class persistence.antlr.CharScanner
 
getFilename() - Method in class persistence.antlr.Grammar
 
getFilename() - Method in class persistence.antlr.Parser
 
getFilename() - Method in exception persistence.antlr.RecognitionException
 
getFilename() - Method in class persistence.antlr.Token
 
getFIRSTBitSet(String, int) - Method in class persistence.antlr.CodeGenerator
 
getFirstChild() - Method in class persistence.antlr.ASTNULLType
 
getFirstChild() - Method in class persistence.antlr.BaseAST
Get the first child of this node; null if not children
getFOLLOWBitSet(String, int) - Method in class persistence.antlr.CodeGenerator
 
getFormatString(String, int, int) - Method in class persistence.antlr.DefaultFileLineFormatter
 
getFormatString(String, int, int) - Method in class persistence.antlr.FileLineFormatter
 
getFormatter() - Static method in class persistence.antlr.FileLineFormatter
 
getGenHashLines() - Method in class persistence.antlr.Tool
 
getGrammarFile() - Method in class persistence.antlr.Tool
 
getGrammarReader() - Method in class persistence.antlr.Tool
 
getHeaderAction(String) - Method in class persistence.antlr.DefineGrammarSymbols
 
getHiddenAfter() - Method in class persistence.antlr.CommonASTWithHiddenTokens
 
getHiddenAfter() - Method in class persistence.antlr.CommonHiddenStreamToken
 
getHiddenAfter(CommonHiddenStreamToken) - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
Return a ptr to the hidden token appearing immediately after token t in the input stream.
getHiddenBefore() - Method in class persistence.antlr.CommonASTWithHiddenTokens
 
getHiddenBefore() - Method in class persistence.antlr.CommonHiddenStreamToken
 
getHiddenBefore(CommonHiddenStreamToken) - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
Return a ptr to the hidden token appearing immediately before token t in the input stream.
getHideMask() - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
getIgnoreRule() - Method in class persistence.antlr.RuleBlock
 
getIndex() - Method in class persistence.antlr.TokenWithIndex
 
getInitialHiddenToken() - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
Return the first hidden token if one appears before any monitored token.
getInput() - Method in class persistence.antlr.TokenBuffer
return the Tokenizer (needed by ParseView)
getInputBuffer() - Method in class persistence.antlr.CharScanner
 
getInputState() - Method in class persistence.antlr.CharScanner
 
getInputState() - Method in class persistence.antlr.Parser
 
getIntegerOption(String) - Method in class persistence.antlr.Grammar
Get an integer option.
getLAChars() - Method in class persistence.antlr.InputBuffer
 
getLanguage(MakeGrammar) - Method in class persistence.antlr.Tool
Determine the language used for this run of ANTLR This was made a method so the subclass can override it
getLastRewriteTokenIndex() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
getLastRewriteTokenIndex(String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
getLeftmostDerivation(int) - Method in class persistence.antlr.ParseTree
 
getLeftmostDerivation(StringBuffer, int) - Method in class persistence.antlr.ParseTree
Get derivation and return how many you did (less than requested for subtree roots.
getLeftmostDerivation(StringBuffer, int) - Method in class persistence.antlr.ParseTreeRule
Do a step-first walk, building up a buffer of tokens until you've reached a particular step and print out any rule subroots insteads of descending.
getLeftmostDerivation(StringBuffer, int) - Method in class persistence.antlr.ParseTreeToken
 
getLeftmostDerivationStep(int) - Method in class persistence.antlr.ParseTree
Walk parse tree and return requested number of derivation steps.
getLine() - Method in class persistence.antlr.ASTNULLType
 
getLine() - Method in class persistence.antlr.BaseAST
 
getLine() - Method in class persistence.antlr.CharScanner
 
getLine() - Method in class persistence.antlr.CommonToken
 
getLine() - Method in exception persistence.antlr.RecognitionException
 
getLine() - Method in class persistence.antlr.Token
 
getLiteralsPrefix() - Method in class persistence.antlr.Tool
 
getLookaheadTestExpression(Lookahead[], int) - Method in class persistence.antlr.CppCodeGenerator
 
getLookaheadTestExpression(Alternative, int) - Method in class persistence.antlr.CppCodeGenerator
Generate a lookahead test expression for an alternate.
getLookaheadTestExpression(Lookahead[], int) - Method in class persistence.antlr.CSharpCodeGenerator
 
getLookaheadTestExpression(Alternative, int) - Method in class persistence.antlr.CSharpCodeGenerator
Generate a lookahead test expression for an alternate.
getLookaheadTestExpression(Lookahead[], int) - Method in class persistence.antlr.JavaCodeGenerator
 
getLookaheadTestExpression(Alternative, int) - Method in class persistence.antlr.JavaCodeGenerator
Generate a lookahead test expression for an alternate.
getLookaheadTestTerm(int, BitSet) - Method in class persistence.antlr.CppCodeGenerator
Generate a depth==1 lookahead test expression given the BitSet.
getLookaheadTestTerm(int, BitSet) - Method in class persistence.antlr.CSharpCodeGenerator
Generate a depth==1 lookahead test expression given the BitSet.
getLookaheadTestTerm(int, BitSet) - Method in class persistence.antlr.JavaCodeGenerator
Generate a depth==1 lookahead test expression given the BitSet.
getMarkedChars() - Method in class persistence.antlr.InputBuffer
 
getMessage() - Method in exception persistence.antlr.MismatchedCharException
Returns a clean error message (no line number/column information)
getMessage() - Method in exception persistence.antlr.MismatchedTokenException
Returns a clean error message (no line number/column information)
getMessage() - Method in exception persistence.antlr.NoViableAltException
Returns a clean error message (no line number/column information)
getMessage() - Method in exception persistence.antlr.NoViableAltForCharException
Returns a clean error message (no line number/column information)
getName() - Method in class persistence.antlr.NameSpace
 
getNameSpace() - Method in class persistence.antlr.Tool
 
getNamespaceAntlr() - Method in class persistence.antlr.Tool
 
getNamespaceStd() - Method in class persistence.antlr.Tool
 
getNextSibling() - Method in class persistence.antlr.ASTNULLType
 
getNextSibling() - Method in class persistence.antlr.BaseAST
Get the next sibling in line after this one
getNumberOfChildren() - Method in class persistence.antlr.ASTNULLType
 
getNumberOfChildren() - Method in class persistence.antlr.BaseAST
How many children does this node have?
getOption(String) - Method in class persistence.antlr.Grammar
Get an option.
getOutputDirectory() - Method in class persistence.antlr.Tool
 
getProgram(String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
getRangeExpression(int, int[]) - Method in class persistence.antlr.CppCodeGenerator
Return an expression for testing a contiguous renage of elements
getRangeExpression(int, int[]) - Method in class persistence.antlr.CSharpCodeGenerator
Return an expression for testing a contiguous renage of elements
getRangeExpression(int, int[]) - Method in class persistence.antlr.JavaCodeGenerator
Return an expression for testing a contiguous renage of elements
getRuleName() - Method in class persistence.antlr.ParseTreeRule
 
getRuleName() - Method in class persistence.antlr.RuleBlock
 
getStream(String) - Method in class persistence.antlr.TokenStreamSelector
 
getSuperClass() - Method in class persistence.antlr.Grammar
 
getSymbol(String) - Method in class persistence.antlr.Grammar
 
getSymbols() - Method in class persistence.antlr.Grammar
 
getTabSize() - Method in class persistence.antlr.CharScanner
 
getTestLiterals() - Method in class persistence.antlr.RuleBlock
 
getText() - Method in class persistence.antlr.ASTNULLType
 
getText() - Method in class persistence.antlr.BaseAST
Get the token text for this node
getText() - Method in class persistence.antlr.CharScanner
return a copy of the current text buffer
getText() - Method in class persistence.antlr.CommonAST
Get the token text for this node
getText() - Method in class persistence.antlr.CommonToken
 
getText() - Method in class persistence.antlr.Token
 
getToken(int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
getTokenName(int) - Method in class persistence.antlr.Parser
 
getTokenName(int) - Method in class persistence.antlr.TreeParser
 
getTokenNames() - Static method in class persistence.antlr.BaseAST
Return an array of strings that maps token ID to it's text.
getTokenNames() - Method in class persistence.antlr.Parser
 
getTokenNames() - Method in class persistence.antlr.TreeParser
 
getTokenObject() - Method in class persistence.antlr.CharScanner
 
getTokenStreamSize() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
getTokenTypesClassName() - Method in class persistence.antlr.CSharpCodeGenerator
Helper method that returns the name of the interface/class/enum type for token type constants.
getTokenTypeToASTClassMap() - Method in class persistence.antlr.ASTFactory
 
getTokenTypeToASTClassMap() - Method in class persistence.antlr.Parser
If the user specifies a tokens{} section with heterogeneous AST node types, then ANTLR generates code to fill this mapping.
getTool() - Method in class persistence.antlr.ANTLRTokdefParser
 
getType() - Method in class persistence.antlr.ASTNULLType
 
getType() - Method in class persistence.antlr.BaseAST
Get the token type for this node
getType() - Method in class persistence.antlr.CommonAST
Get the token type for this node
getType() - Method in class persistence.antlr.Token
 
getUpperCaseMangledLiterals() - Method in class persistence.antlr.Tool
 
grammar() - Method in class persistence.antlr.ANTLRParser
 
grammar - Variable in class persistence.antlr.CodeGenerator
The grammar for which we generate code
grammar - Variable in class persistence.antlr.DefineGrammarSymbols
 
Grammar - Class in persistence.antlr
A Grammar holds a set of rules (which are stored in a symbol table).
Grammar(String, Tool, String) - Constructor for class persistence.antlr.Grammar
 
grammar - Variable in class persistence.antlr.LLkAnalyzer
 
GrammarAnalyzer - Interface in persistence.antlr
A GrammarAnalyzer computes lookahead from Grammar (which contains a grammar symbol table) and can then answer questions about the grammar.
grammarError - Variable in class persistence.antlr.MakeGrammar
 
grammarFile - Variable in class persistence.antlr.Tool
 
grammars - Variable in class persistence.antlr.DefineGrammarSymbols
 
guessing - Variable in class persistence.antlr.LexerSharedInputState
 
guessing - Variable in class persistence.antlr.ParserSharedInputState
Are we guessing (guessing>0)?
guessing - Variable in class persistence.antlr.TreeParserSharedInputState
Are we guessing (guessing>0)?

H

hasError() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
hasError() - Method in class persistence.antlr.DefineGrammarSymbols
 
hasError() - Method in class persistence.antlr.MakeGrammar
Remember that a major error occured in the grammar
hasError - Variable in class persistence.antlr.Tool
Was there an error during parsing or analysis?
hasError() - Method in class persistence.antlr.Tool
 
hashCode() - Method in class persistence.antlr.ANTLRHashString
 
hashString - Variable in class persistence.antlr.CharScanner
 
hasOption(String) - Method in class persistence.antlr.Grammar
Check the existence of an option in the table
hasSyntacticPredicate - Variable in class persistence.antlr.Grammar
 
hasUserErrorHandling - Variable in class persistence.antlr.Grammar
 
headerActions - Variable in class persistence.antlr.DefineGrammarSymbols
 
hiddenAfter - Variable in class persistence.antlr.CommonASTWithHiddenTokens
 
hiddenAfter - Variable in class persistence.antlr.CommonHiddenStreamToken
 
hiddenBefore - Variable in class persistence.antlr.CommonASTWithHiddenTokens
 
hiddenBefore - Variable in class persistence.antlr.CommonHiddenStreamToken
 
hide(int) - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
hide(BitSet) - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
hideMask - Variable in class persistence.antlr.TokenStreamHiddenTokenFilter
 
HTMLCodeGenerator - Class in persistence.antlr
Generate P.html, a cross-linked representation of P with or without actions
HTMLCodeGenerator() - Constructor for class persistence.antlr.HTMLCodeGenerator
Create a Diagnostic code-generator using the given Grammar The caller must still call setTool, setBehavior, and setAnalyzer before generating code.

I

id() - Method in class persistence.antlr.ANTLRParser
 
ID - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
ignoreRule - Variable in class persistence.antlr.RuleBlock
 
IMPLIES - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
importVocab - Variable in class persistence.antlr.Grammar
The name of the import vocabulary.
index - Variable in class persistence.antlr.TokenStreamRewriteEngine
track index of tokens
init(int) - Method in class persistence.antlr.CharQueue
Initialize the queue.
initialize(int, String) - Method in class persistence.antlr.ASTNULLType
 
initialize(AST) - Method in class persistence.antlr.ASTNULLType
 
initialize(Token) - Method in class persistence.antlr.ASTNULLType
 
initialize(int, String) - Method in class persistence.antlr.BaseAST
 
initialize(AST) - Method in class persistence.antlr.BaseAST
 
initialize(Token) - Method in class persistence.antlr.BaseAST
 
initialize(int, String) - Method in class persistence.antlr.CommonAST
 
initialize(AST) - Method in class persistence.antlr.CommonAST
 
initialize(Token) - Method in class persistence.antlr.CommonAST
 
initialize(Token) - Method in class persistence.antlr.CommonASTWithHiddenTokens
 
initialize(int, String) - Method in class persistence.antlr.ParseTree
 
initialize(AST) - Method in class persistence.antlr.ParseTree
 
initialize(Token) - Method in class persistence.antlr.ParseTree
 
input - Variable in class persistence.antlr.LexerSharedInputState
 
input - Variable in class persistence.antlr.ParserSharedInputState
Where to get token objects
input - Variable in class persistence.antlr.TokenBuffer
 
input - Variable in class persistence.antlr.TokenStreamBasicFilter
The input stream
input - Variable in class persistence.antlr.TokenStreamSelector
The currently-selected token stream input
InputBuffer - Class in persistence.antlr
A Stream of characters fed to the lexer from a InputStream that can be rewound via mark()/rewind() methods.
InputBuffer() - Constructor for class persistence.antlr.InputBuffer
Create an input buffer
inputState - Variable in class persistence.antlr.CharScanner
 
inputState - Variable in class persistence.antlr.Parser
 
inputState - Variable in class persistence.antlr.TreeParser
Nesting level of registered handlers
inputStreamNames - Variable in class persistence.antlr.TokenStreamSelector
The set of inputs to the MUX
insertAfter(Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertAfter(int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertAfter(String, Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertAfter(String, int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertBefore(Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertBefore(int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertBefore(String, Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
insertBefore(String, int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
INT - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
INT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
interactive - Variable in class persistence.antlr.Grammar
 
INTERNAL_RULE_REF - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
intersection(Lookahead) - Method in class persistence.antlr.Lookahead
What is the intersection of two lookahead depths? Only the Epsilon "bit" and bitset are considered.
INVALID_ALT - Static variable in class persistence.antlr.ParseTreeRule
 
INVALID_TYPE - Static variable in class persistence.antlr.Token
 
io - Variable in exception persistence.antlr.CharStreamIOException
 
io - Variable in exception persistence.antlr.TokenStreamIOException
 
isDebugMode() - Method in class persistence.antlr.Parser
 
isDefined(String) - Method in class persistence.antlr.Grammar
Is a rule symbol defined? (not used for tokens)
isLexerAutoGenRule() - Method in class persistence.antlr.RuleBlock
 
isMarked() - Method in class persistence.antlr.InputBuffer
 
isSubtree(AST, AST) - Method in class persistence.antlr.ASTIterator
Is 'sub' a subtree of 't' beginning at the root?

J

JavaCodeGenerator - Class in persistence.antlr
Generate MyParser.java, MyLexer.java and MyParserTokenTypes.java
JavaCodeGenerator() - Constructor for class persistence.antlr.JavaCodeGenerator
Create a Java code-generator using the given Grammar.

L

LA(int) - Method in class persistence.antlr.CharScanner
 
LA(int) - Method in class persistence.antlr.InputBuffer
Get a lookahead character
LA(int) - Method in class persistence.antlr.LLkParser
 
LA(int) - Method in class persistence.antlr.Parser
Return the token type of the ith token of lookahead where i=1 is the current token being examined by the parser (i.e., it has not been matched yet).
LA(int) - Method in class persistence.antlr.TokenBuffer
Get a lookahead token value
LA(int) - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
 
lastHiddenToken - Variable in class persistence.antlr.TokenStreamHiddenTokenFilter
track tail of hidden list emanating from previous monitored token
lastRewriteTokenIndexes - Variable in class persistence.antlr.TokenStreamRewriteEngine
Map String (program name) -> Integer index
lastRuleRef - Variable in class persistence.antlr.MakeGrammar
 
length - Variable in class persistence.antlr.ANTLRStringBuffer
 
length() - Method in class persistence.antlr.ANTLRStringBuffer
 
level - Variable in class persistence.antlr.DumpASTVisitor
 
lexerOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
LexerSharedInputState - Class in persistence.antlr
This object contains the data associated with an input stream of characters.
LexerSharedInputState(InputBuffer) - Constructor for class persistence.antlr.LexerSharedInputState
 
LexerSharedInputState(InputStream) - Constructor for class persistence.antlr.LexerSharedInputState
 
LexerSharedInputState(Reader) - Constructor for class persistence.antlr.LexerSharedInputState
 
lexerSpec(String) - Method in class persistence.antlr.ANTLRParser
 
lexicalAnalysis - Variable in class persistence.antlr.LLkAnalyzer
 
line(ImportVocabTokenManager) - Method in class persistence.antlr.ANTLRTokdefParser
 
line - Variable in class persistence.antlr.CommonToken
 
line - Variable in class persistence.antlr.LexerSharedInputState
 
line - Variable in exception persistence.antlr.RecognitionException
 
LITERAL_catch - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_charVocabulary - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_class - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_exception - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_extends - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_header - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_lexclass - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_Lexer - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_options - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_Parser - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_private - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_protected - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_public - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_returns - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_throws - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_tokens - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LITERAL_TreeParser - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
literalChar(int) - Method in interface persistence.antlr.CharFormatter
 
literals - Variable in class persistence.antlr.CharScanner
 
literalsPrefix - Static variable in class persistence.antlr.Tool
 
literalString(String) - Method in interface persistence.antlr.CharFormatter
 
LLkAnalyzer - Class in persistence.antlr
A linear-approximate LL(k) grammar analzyer.
LLkAnalyzer(Tool) - Constructor for class persistence.antlr.LLkAnalyzer
Create an LLk analyzer
LLkGrammarAnalyzer - Interface in persistence.antlr
 
LLkParser - Class in persistence.antlr
An LL(k) parser.
LLkParser(int) - Constructor for class persistence.antlr.LLkParser
 
LLkParser(ParserSharedInputState, int) - Constructor for class persistence.antlr.LLkParser
 
LLkParser(TokenBuffer, int) - Constructor for class persistence.antlr.LLkParser
 
LLkParser(TokenStream, int) - Constructor for class persistence.antlr.LLkParser
 
lock - Variable in class persistence.antlr.RuleBlock
 
look(int, ActionElement) - Method in class persistence.antlr.LLkAnalyzer
Actions are ignored
look(int, AlternativeBlock) - Method in class persistence.antlr.LLkAnalyzer
Combine the lookahead computed for each alternative
look(int, BlockEndElement) - Method in class persistence.antlr.LLkAnalyzer
Compute what follows this place-holder node and possibly what begins the associated loop unless the node is locked.
look(int, CharLiteralElement) - Method in class persistence.antlr.LLkAnalyzer
Return this char as the lookahead if k=1.
look(int, CharRangeElement) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, GrammarAtom) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, OneOrMoreBlock) - Method in class persistence.antlr.LLkAnalyzer
The lookahead of a (...)+ block is the combined lookahead of all alternatives and, if an empty path is found, the lookahead of what follows the block.
look(int, RuleBlock) - Method in class persistence.antlr.LLkAnalyzer
Combine the lookahead computed for each alternative.
look(int, RuleEndElement) - Method in class persistence.antlr.LLkAnalyzer
If not locked or noFOLLOW set, compute FOLLOW of a rule.
look(int, RuleRefElement) - Method in class persistence.antlr.LLkAnalyzer
Compute the lookahead contributed by a rule reference.
look(int, StringLiteralElement) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, SynPredBlock) - Method in class persistence.antlr.LLkAnalyzer
The lookahead of a (...)=> block is the lookahead of what follows the block.
look(int, TokenRangeElement) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, TreeElement) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, WildcardElement) - Method in class persistence.antlr.LLkAnalyzer
 
look(int, ZeroOrMoreBlock) - Method in class persistence.antlr.LLkAnalyzer
The (...)* element is the combined lookahead of the alternatives and what can follow the loop.
look(int, String) - Method in class persistence.antlr.LLkAnalyzer
Compute the combined lookahead for all productions of a rule.
look(int, ActionElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, AlternativeBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, BlockEndElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, CharLiteralElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, CharRangeElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, GrammarAtom) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, OneOrMoreBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, RuleBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, RuleEndElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, RuleRefElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, StringLiteralElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, SynPredBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, TokenRangeElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, TreeElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, WildcardElement) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, ZeroOrMoreBlock) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int, String) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
look(int) - Method in class persistence.antlr.RuleBlock
 
Lookahead - Class in persistence.antlr
This object holds all information needed to represent the lookahead for any particular lookahead computation for a single lookahead depth.
Lookahead() - Constructor for class persistence.antlr.Lookahead
 
Lookahead(BitSet) - Constructor for class persistence.antlr.Lookahead
create a new lookahead set with the LL(1) set to the parameter
Lookahead(String) - Constructor for class persistence.antlr.Lookahead
create an empty lookahead set, but with cycle
LOOKAHEAD_DEPTH_INIT - Static variable in interface persistence.antlr.GrammarAnalyzer
 
lookaheadEquivForApproxAndFullAnalysis(Lookahead[], int) - Static method in class persistence.antlr.LLkAnalyzer
If the first k-1 sets are singleton sets, the appoximate lookahead analysis is equivalent to full lookahead analysis.
lookaheadIsEmpty(Alternative, int) - Method in class persistence.antlr.CppCodeGenerator
Is the lookahead for this alt empty?
lookaheadIsEmpty(Alternative, int) - Method in class persistence.antlr.CSharpCodeGenerator
Is the lookahead for this alt empty?
lookaheadIsEmpty(Alternative, int) - Method in class persistence.antlr.JavaCodeGenerator
Is the lookahead for this alt empty?
LPAREN - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
LPAREN - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
LT(int) - Method in class persistence.antlr.LLkParser
 
LT(int) - Method in class persistence.antlr.Parser
Return the ith token of lookahead
LT(int) - Method in class persistence.antlr.TokenBuffer
Get a lookahead token

M

mACTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
main(String[]) - Static method in class persistence.antlr.Tool
 
make(AST[]) - Method in class persistence.antlr.ASTFactory
Make a tree from a list of nodes.
make(ASTArray) - Method in class persistence.antlr.ASTFactory
Make a tree from a list of nodes, where the nodes are contained in an ASTArray object
makeASTRoot(ASTPair, AST) - Method in class persistence.antlr.ASTFactory
Make an AST the root of current AST
MakeGrammar - Class in persistence.antlr
 
MakeGrammar(Tool, String[], LLkAnalyzer) - Constructor for class persistence.antlr.MakeGrammar
 
makeSwitchThreshold - Variable in class persistence.antlr.CodeGenerator
This is a hint for the language-specific code generator.
makeToken(int) - Method in class persistence.antlr.CharScanner
 
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.CodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.CppCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.CSharpCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.DiagnosticCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.DocBookCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.HTMLCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mapTreeId(String, ActionTransInfo) - Method in class persistence.antlr.JavaCodeGenerator
Map an identifier to it's corresponding tree-node variable.
mARG_ACTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mark() - Method in class persistence.antlr.CharScanner
 
mark() - Method in class persistence.antlr.InputBuffer
Return an integer marker that can be used to rewind the buffer to its current state.
mark() - Method in class persistence.antlr.Parser
 
mark() - Method in class persistence.antlr.TokenBuffer
Return an integer marker that can be used to rewind the buffer to its current state.
markBitsetForGen(BitSet) - Method in class persistence.antlr.CodeGenerator
Add a bitset to the list of bitsets to be generated.
markerOffset - Variable in class persistence.antlr.InputBuffer
 
mASSIGN(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mASSIGN(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
match(char) - Method in class persistence.antlr.CharScanner
 
match(BitSet) - Method in class persistence.antlr.CharScanner
 
match(String) - Method in class persistence.antlr.CharScanner
 
match(int) - Method in class persistence.antlr.Parser
Make sure current lookahead symbol matches token type t.
match(BitSet) - Method in class persistence.antlr.Parser
Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
match(AST, int) - Method in class persistence.antlr.TreeParser
 
match(AST, BitSet) - Method in class persistence.antlr.TreeParser
Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
matchNot(char) - Method in class persistence.antlr.CharScanner
 
matchNot(int) - Method in class persistence.antlr.Parser
 
matchNot(AST, int) - Method in class persistence.antlr.TreeParser
 
matchRange(char, char) - Method in class persistence.antlr.CharScanner
 
maxk - Variable in class persistence.antlr.Grammar
 
mBANG(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCARET(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCHAR_LITERAL(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCLOSE_ELEMENT_OPTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCOLON(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCOMMA(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mCOMMENT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mDIGIT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mDIGIT(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mESC(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mESC(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mID(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mIMPLIES(boolean) - Method in class persistence.antlr.ANTLRLexer
 
MIN_TOKEN_INDEX - Static variable in class persistence.antlr.TokenStreamRewriteEngine
 
MIN_USER_TYPE - Static variable in class persistence.antlr.Token
 
mINT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mINT(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mINTERNAL_RULE_REF(boolean) - Method in class persistence.antlr.ANTLRLexer
 
MismatchedCharException - Exception in persistence.antlr
 
MismatchedCharException() - Constructor for exception persistence.antlr.MismatchedCharException
MismatchedCharException constructor comment.
MismatchedCharException(char, char, char, boolean, CharScanner) - Constructor for exception persistence.antlr.MismatchedCharException
 
MismatchedCharException(char, char, boolean, CharScanner) - Constructor for exception persistence.antlr.MismatchedCharException
 
MismatchedCharException(char, BitSet, boolean, CharScanner) - Constructor for exception persistence.antlr.MismatchedCharException
 
MismatchedTokenException - Exception in persistence.antlr
 
MismatchedTokenException() - Constructor for exception persistence.antlr.MismatchedTokenException
Looking for AST wildcard, didn't find it
MismatchedTokenException(String[], AST, int, int, boolean) - Constructor for exception persistence.antlr.MismatchedTokenException
 
MismatchedTokenException(String[], AST, int, boolean) - Constructor for exception persistence.antlr.MismatchedTokenException
 
MismatchedTokenException(String[], AST, BitSet, boolean) - Constructor for exception persistence.antlr.MismatchedTokenException
 
MismatchedTokenException(String[], Token, int, int, boolean, String) - Constructor for exception persistence.antlr.MismatchedTokenException
 
MismatchedTokenException(String[], Token, int, boolean, String) - Constructor for exception persistence.antlr.MismatchedTokenException
 
MismatchedTokenException(String[], Token, BitSet, boolean, String) - Constructor for exception persistence.antlr.MismatchedTokenException
 
mismatchType - Variable in exception persistence.antlr.MismatchedCharException
 
mismatchType - Variable in exception persistence.antlr.MismatchedTokenException
 
ML_COMMENT - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
ML_COMMENT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
mLPAREN(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mLPAREN(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mML_COMMENT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mML_COMMENT(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mNESTED_ACTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mNESTED_ARG_ACTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mNOT_OP(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mOPEN_ELEMENT_OPTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mOR(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mPLUS(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mQUESTION(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mRANGE(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mRCURLY(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mRPAREN(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mRPAREN(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mRULE_REF(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mSEMI(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mSL_COMMENT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mSL_COMMENT(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mSTAR(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mSTRING(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mSTRING_LITERAL(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mTOKEN_REF(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mTREE_BEGIN(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mWILDCARD(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mWS(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mWS(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 
mWS_LOOP(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mWS_OPT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mXDIGIT(boolean) - Method in class persistence.antlr.ANTLRLexer
 
mXDIGIT(boolean) - Method in class persistence.antlr.ANTLRTokdefLexer
 

N

NameSpace - Class in persistence.antlr
 
NameSpace(String) - Constructor for class persistence.antlr.NameSpace
 
nameSpace - Variable in class persistence.antlr.Tool
C++ file level options
namespaceAntlr - Variable in class persistence.antlr.Tool
 
namespaceStd - Variable in class persistence.antlr.Tool
 
nbrEntries - Variable in class persistence.antlr.CharQueue
number of tokens in the queue
nested - Variable in class persistence.antlr.MakeGrammar
 
NESTED_ACTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
NESTED_ARG_ACTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
newline() - Method in class persistence.antlr.CharScanner
 
next(AST) - Method in class persistence.antlr.ASTIterator
Find the next subtree with structure and token types equal to those of 'template'.
nextMonitoredToken - Variable in class persistence.antlr.TokenStreamHiddenTokenFilter
 
nextToken() - Method in class persistence.antlr.ANTLRLexer
 
nextToken() - Method in class persistence.antlr.ANTLRTokdefLexer
 
nextToken() - Method in interface persistence.antlr.TokenStream
 
nextToken() - Method in class persistence.antlr.TokenStreamBasicFilter
 
nextToken() - Method in class persistence.antlr.TokenStreamHiddenTokenFilter
Return the next monitored token.
nextToken() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
nextToken() - Method in class persistence.antlr.TokenStreamSelector
 
nil() - Method in class persistence.antlr.Lookahead
 
nMarkers - Variable in class persistence.antlr.InputBuffer
 
noASTSubRule() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
noASTSubRule() - Method in class persistence.antlr.DefineGrammarSymbols
 
noAutoGenSubRule() - Method in class persistence.antlr.MakeGrammar
 
noConstructors - Variable in class persistence.antlr.CppCodeGenerator
 
noConstructors - Variable in class persistence.antlr.Tool
 
node - Variable in exception persistence.antlr.MismatchedTokenException
 
node - Variable in exception persistence.antlr.NoViableAltException
 
NONDETERMINISTIC - Static variable in interface persistence.antlr.GrammarAnalyzer
The epsilon token type is an imaginary type used during analysis.
NONUNIQUE - Static variable in class persistence.antlr.CppCodeGenerator
 
NONUNIQUE - Static variable in class persistence.antlr.CSharpCodeGenerator
Special value used to mark duplicate in treeVariableMap
NONUNIQUE - Static variable in class persistence.antlr.JavaCodeGenerator
Special value used to mark duplicate in treeVariableMap
NOT_CHAR - Static variable in exception persistence.antlr.MismatchedCharException
 
NOT_OP - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
NOT_RANGE - Static variable in exception persistence.antlr.MismatchedCharException
 
NOT_RANGE - Static variable in exception persistence.antlr.MismatchedTokenException
 
NOT_SET - Static variable in exception persistence.antlr.MismatchedCharException
 
NOT_SET - Static variable in exception persistence.antlr.MismatchedTokenException
 
NOT_TOKEN - Static variable in exception persistence.antlr.MismatchedTokenException
 
notTerminal(Token) - Method in class persistence.antlr.ANTLRParser
 
NoViableAltException - Exception in persistence.antlr
 
NoViableAltException(AST) - Constructor for exception persistence.antlr.NoViableAltException
 
NoViableAltException(Token, String) - Constructor for exception persistence.antlr.NoViableAltException
 
NoViableAltForCharException - Exception in persistence.antlr
 
NoViableAltForCharException(char, CharScanner) - Constructor for exception persistence.antlr.NoViableAltForCharException
 
NoViableAltForCharException(char, String, int) - Constructor for exception persistence.antlr.NoViableAltForCharException
Deprecated. As of ANTLR 2.7.2 use NoViableAltForCharException.NoViableAltForCharException(char, String, int, int)
NoViableAltForCharException(char, String, int, int) - Constructor for exception persistence.antlr.NoViableAltForCharException
 
NULL_TREE_LOOKAHEAD - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
NULL_TREE_LOOKAHEAD - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
NULL_TREE_LOOKAHEAD - Static variable in class persistence.antlr.Token
 
numLexers - Variable in class persistence.antlr.DefineGrammarSymbols
 
numParsers - Variable in class persistence.antlr.DefineGrammarSymbols
 
numToConsume - Variable in class persistence.antlr.InputBuffer
 
numTreeParsers - Variable in class persistence.antlr.DefineGrammarSymbols
 

O

of(int) - Static method in class persistence.antlr.Lookahead
 
oneOrMoreSubRule() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
oneOrMoreSubRule() - Method in class persistence.antlr.DefineGrammarSymbols
 
oneOrMoreSubRule() - Method in class persistence.antlr.MakeGrammar
 
OPEN_ELEMENT_OPTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
openOutputFile(String) - Method in class persistence.antlr.Tool
This method is used by all code generators to create new output files.
optionalSubRule() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
optionalSubRule() - Method in class persistence.antlr.DefineGrammarSymbols
 
optionalSubRule() - Method in class persistence.antlr.MakeGrammar
 
OPTIONS - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
options - Variable in class persistence.antlr.Grammar
 
optionValue() - Method in class persistence.antlr.ANTLRParser
 
OR - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
original - Variable in class persistence.antlr.ASTIterator
 
outputDir - Static variable in class persistence.antlr.Tool
Current output directory for generated files
outputFile - Variable in class persistence.antlr.CppCodeGenerator
 
outputLine - Variable in class persistence.antlr.CppCodeGenerator
 

P

panic() - Method in class persistence.antlr.CharScanner
 
panic(String) - Method in class persistence.antlr.CharScanner
This method is executed by ANTLR internally when it detected an illegal state that cannot be recovered from.
panic() - Static method in class persistence.antlr.Parser
Deprecated. as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method is static, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code.
panic() - Method in class persistence.antlr.Tool
Deprecated. as of 2.7.2 use Tool.fatalError(String). By default this method executes fatalError("panic");.
panic(String) - Method in class persistence.antlr.Tool
Deprecated. as of 2.7.2 use Tool.fatalError(String). By defaykt this method executes fatalError("panic: " + s);.
panic() - Static method in class persistence.antlr.TreeParser
Deprecated. as of 2.7.2. This method calls System.exit() and writes directly to stderr, which is usually not appropriate when a parser is embedded into a larger application. Since the method is static, it cannot be overridden to avoid these problems. ANTLR no longer uses this method internally or in generated code.
parent(File) - Method in class persistence.antlr.Tool
 
parse(String) - Method in class persistence.antlr.NameSpace
Parse a C++ namespace declaration into seperate names splitting on :: We could easily parameterize this to make the delimiter a language-specific parameter, or use subclasses to support C++ namespaces versus java packages.
Parser - Class in persistence.antlr
 
Parser() - Constructor for class persistence.antlr.Parser
 
Parser(ParserSharedInputState) - Constructor for class persistence.antlr.Parser
 
parserOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
ParserSharedInputState - Class in persistence.antlr
This object contains the data associated with an input stream of tokens.
ParserSharedInputState() - Constructor for class persistence.antlr.ParserSharedInputState
 
parserSpec(String) - Method in class persistence.antlr.ANTLRParser
 
parseSeparatedList(String, char) - Static method in class persistence.antlr.Tool
Parse a list such as "f1.g;f2.g;..." and return a Vector of the elements.
ParseTree - Class in persistence.antlr
 
ParseTree() - Constructor for class persistence.antlr.ParseTree
 
ParseTreeRule - Class in persistence.antlr
 
ParseTreeRule(String) - Constructor for class persistence.antlr.ParseTreeRule
 
ParseTreeRule(String, int) - Constructor for class persistence.antlr.ParseTreeRule
 
ParseTreeToken - Class in persistence.antlr
 
ParseTreeToken(Token) - Constructor for class persistence.antlr.ParseTreeToken
 
patchlevel - Static variable in class persistence.antlr.Version
 
pathToFile(String) - Method in class persistence.antlr.Tool
given a filename, strip off the directory prefix (if any) and return it.
persistence.antlr - package persistence.antlr
 
PLUS - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
pop() - Method in class persistence.antlr.TokenStreamSelector
 
preambleAction - Variable in class persistence.antlr.Grammar
 
prepareForAnalysis() - Method in class persistence.antlr.RuleBlock
 
PreservingFileWriter - Class in persistence.antlr
PreservingFileWriter only overwrites target if the new file is different.
PreservingFileWriter(String) - Constructor for class persistence.antlr.PreservingFileWriter
 
prevAltElem - Variable in class persistence.antlr.DocBookCodeGenerator
 
prevAltElem - Variable in class persistence.antlr.HTMLCodeGenerator
 
print(String) - Method in class persistence.antlr.CodeGenerator
Output tab indent followed by a String, to the currentOutput stream.
printAction(String) - Method in class persistence.antlr.CodeGenerator
Print an action with leading tabs, attempting to preserve the current indentation level for multi-line actions Ignored if string is null.
printAction(Token) - Method in class persistence.antlr.CppCodeGenerator
Print an action stored in a token surrounded by #line stuff
printHeaderAction(String) - Method in class persistence.antlr.CppCodeGenerator
Print a header action by #line stuff also process any tree construction
println(String) - Method in class persistence.antlr.CodeGenerator
Output tab indent followed by a String followed by newline, to the currentOutput stream.
println(String) - Method in class persistence.antlr.CppCodeGenerator
Output tab indent followed by a String followed by newline, to the currentOutput stream.
printSet(int, int, Lookahead) - Method in class persistence.antlr.DiagnosticCodeGenerator
Format a lookahead or follow set.
printSet(int, int, Lookahead) - Method in class persistence.antlr.DocBookCodeGenerator
Format a lookahead or follow set.
printSet(int, int, Lookahead) - Method in class persistence.antlr.HTMLCodeGenerator
Format a lookahead or follow set.
printTabs() - Method in class persistence.antlr.CodeGenerator
Output the current tab indentation.
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.CodeGenerator
Lexically process $ and # references within the action.
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.CppCodeGenerator
Lexically process tree-specifiers in the action.
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.CSharpCodeGenerator
Lexically process tree-specifiers in the action.
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.DiagnosticCodeGenerator
 
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.DocBookCodeGenerator
 
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.HTMLCodeGenerator
 
processActionForSpecialSymbols(String, int, RuleBlock, ActionTransInfo) - Method in class persistence.antlr.JavaCodeGenerator
Lexically process $var and tree-specifiers in the action.
processArguments(String[]) - Method in class persistence.antlr.Grammar
Process command line arguments.
processArguments(String[]) - Method in class persistence.antlr.Tool
Process the command-line arguments.
processStringForASTConstructor(String) - Method in class persistence.antlr.CodeGenerator
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
processStringForASTConstructor(String) - Method in class persistence.antlr.CppCodeGenerator
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
processStringForASTConstructor(String) - Method in class persistence.antlr.CSharpCodeGenerator
Process a string for an simple expression for use in xx/action.g it is used to cast simple tokens/references to the right type for the generated language.
PROGRAM_INIT_SIZE - Static variable in class persistence.antlr.TokenStreamRewriteEngine
 
programs - Variable in class persistence.antlr.TokenStreamRewriteEngine
You may have multiple, named streams of rewrite operations.
project_version - Static variable in class persistence.antlr.Version
 
push(TokenStream) - Method in class persistence.antlr.TokenStreamSelector
 
push(String) - Method in class persistence.antlr.TokenStreamSelector
 

Q

qualifiedID() - Method in class persistence.antlr.ANTLRParser
Match a.b.c.d qualified ids; WILDCARD here is overloaded as id separator; that is, I need a reference to the '.' token.
QUESTION - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
queue - Variable in class persistence.antlr.InputBuffer
 

R

range(Token) - Method in class persistence.antlr.ANTLRParser
 
RANGE - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
RANGE - Static variable in exception persistence.antlr.MismatchedCharException
 
RANGE - Static variable in exception persistence.antlr.MismatchedTokenException
 
RCURLY - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
recog - Variable in exception persistence.antlr.TokenStreamRecognitionException
 
RecognitionException - Exception in persistence.antlr
 
RecognitionException() - Constructor for exception persistence.antlr.RecognitionException
 
RecognitionException(String) - Constructor for exception persistence.antlr.RecognitionException
RecognitionException constructor comment.
RecognitionException(String, String, int) - Constructor for exception persistence.antlr.RecognitionException
Deprecated. As of ANTLR 2.7.2 use #RecognitionException(char, String, int, int)
RecognitionException(String, String, int, int) - Constructor for exception persistence.antlr.RecognitionException
RecognitionException constructor comment.
refAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refArgAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refArgAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refArgAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refCharLiteral(Token, Token, boolean, int, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refCharLiteral(Token, Token, boolean, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
refCharLiteral(Token, Token, boolean, int, boolean) - Method in class persistence.antlr.MakeGrammar
 
refCharRange(Token, Token, Token, int, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refCharRange(Token, Token, Token, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
refCharRange(Token, Token, Token, int, boolean) - Method in class persistence.antlr.MakeGrammar
 
refElementOption(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refElementOption(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refElementOption(Token, Token) - Method in class persistence.antlr.MakeGrammar
 
refExceptionHandler(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refExceptionHandler(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refExceptionHandler(Token, Token) - Method in class persistence.antlr.MakeGrammar
Add an exception handler to an exception spec
refHeaderAction(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refHeaderAction(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refInitAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refInitAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refInitAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refMemberAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refMemberAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refMemberAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refPreambleAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refPreambleAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refPreambleAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refReturnAction(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refReturnAction(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refReturnAction(Token) - Method in class persistence.antlr.MakeGrammar
 
refRule(Token, Token, Token, Token, int) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refRule(Token, Token, Token, Token, int) - Method in class persistence.antlr.DefineGrammarSymbols
 
refRule(Token, Token, Token, Token, int) - Method in class persistence.antlr.MakeGrammar
 
refRuleRoot - Variable in class persistence.antlr.ActionTransInfo
 
refSemPred(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refSemPred(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refSemPred(Token) - Method in class persistence.antlr.MakeGrammar
 
refStringLiteral(Token, Token, int, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refStringLiteral(Token, Token, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
refStringLiteral(Token, Token, int, boolean) - Method in class persistence.antlr.MakeGrammar
 
refToken(Token, Token, Token, Token, boolean, int, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refToken(Token, Token, Token, Token, boolean, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
Reference a token
refToken(Token, Token, Token, Token, boolean, int, boolean) - Method in class persistence.antlr.MakeGrammar
 
refTokenRange(Token, Token, Token, int, boolean) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refTokenRange(Token, Token, Token, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
refTokenRange(Token, Token, Token, int, boolean) - Method in class persistence.antlr.MakeGrammar
 
refTokensSpecElementOption(Token, Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refTokensSpecElementOption(Token, Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refTokensSpecElementOption(Token, Token, Token) - Method in class persistence.antlr.MakeGrammar
 
refTreeSpecifier(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refTreeSpecifier(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
refTreeSpecifier(Token) - Method in class persistence.antlr.MakeGrammar
 
refWildcard(Token, Token, int) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
refWildcard(Token, Token, int) - Method in class persistence.antlr.DefineGrammarSymbols
 
refWildcard(Token, Token, int) - Method in class persistence.antlr.MakeGrammar
 
removeAssignmentFromDeclaration(String) - Method in class persistence.antlr.CodeGenerator
Remove the assignment portion of a declaration, if any.
removeChildren() - Method in class persistence.antlr.BaseAST
Remove all children
removeFirst() - Method in class persistence.antlr.CharQueue
Remove char from front of queue
removeMessageListener(MessageListener) - Method in class persistence.antlr.Parser
 
removeParserListener(ParserListener) - Method in class persistence.antlr.Parser
 
removeParserMatchListener(ParserMatchListener) - Method in class persistence.antlr.Parser
 
removeParserTokenListener(ParserTokenListener) - Method in class persistence.antlr.Parser
 
removeSemanticPredicateListener(SemanticPredicateListener) - Method in class persistence.antlr.Parser
 
removeSyntacticPredicateListener(SyntacticPredicateListener) - Method in class persistence.antlr.Parser
 
removeTraceListener(TraceListener) - Method in class persistence.antlr.Parser
 
replace(int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
replace(int, int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
replace(Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
replace(Token, Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
replace(String, int, int, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
replace(String, Token, Token, String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
reportError(String) - Method in class persistence.antlr.ANTLRParser
 
reportError(RecognitionException) - Method in class persistence.antlr.ANTLRParser
 
reportError(RecognitionException, String) - Method in class persistence.antlr.ANTLRParser
 
reportError(String) - Method in class persistence.antlr.ANTLRTokdefParser
Delegates the error message to the tool if any was registered via #initTool(persistence.antlr.Tool)
reportError(RecognitionException) - Method in class persistence.antlr.ANTLRTokdefParser
Delegates the error message to the tool if any was registered via #initTool(persistence.antlr.Tool)
reportError(RecognitionException) - Method in class persistence.antlr.CharScanner
Parser error-reporting function can be overridden in subclass
reportError(String) - Method in class persistence.antlr.CharScanner
Parser error-reporting function can be overridden in subclass
reportError(RecognitionException) - Method in class persistence.antlr.Parser
Parser error-reporting function can be overridden in subclass
reportError(String) - Method in class persistence.antlr.Parser
Parser error-reporting function can be overridden in subclass
reportError(RecognitionException) - Method in class persistence.antlr.TreeParser
Parser error-reporting function can be overridden in subclass
reportError(String) - Method in class persistence.antlr.TreeParser
Parser error-reporting function can be overridden in subclass
reportException(Exception, String) - Method in class persistence.antlr.Tool
 
reportProgress(String) - Method in class persistence.antlr.Tool
 
reportWarning(String) - Method in class persistence.antlr.ANTLRParser
 
reportWarning(String) - Method in class persistence.antlr.ANTLRTokdefParser
Delegates the warning message to the tool if any was registered via #initTool(persistence.antlr.Tool)
reportWarning(String) - Method in class persistence.antlr.CharScanner
Parser warning-reporting function can be overridden in subclass
reportWarning(String) - Method in class persistence.antlr.Parser
Parser warning-reporting function can be overridden in subclass
reportWarning(String) - Method in class persistence.antlr.TreeParser
Parser warning-reporting function can be overridden in subclass
reset() - Method in class persistence.antlr.CharQueue
Clear the queue.
reset() - Method in class persistence.antlr.DefineGrammarSymbols
Get ready to process a new grammar
reset() - Method in class persistence.antlr.InputBuffer
Reset the input buffer
reset() - Method in class persistence.antlr.LexerSharedInputState
 
reset() - Method in class persistence.antlr.MakeGrammar
Get ready to process a new grammar
reset() - Method in class persistence.antlr.ParserSharedInputState
 
reset() - Method in class persistence.antlr.TokenBuffer
Reset the input buffer to empty state
resetEpsilon() - Method in class persistence.antlr.Lookahead
 
resetText() - Method in class persistence.antlr.CharScanner
 
retry() - Method in class persistence.antlr.TokenStreamSelector
Abort recognition of current Token and try again.
returnAction - Variable in class persistence.antlr.RuleBlock
 
returnAST - Variable in class persistence.antlr.Parser
AST return value for a rule is squirreled away here
returnAST - Variable in class persistence.antlr.TreeParser
AST return value for a rule is squirreled away here
reverseLexerRuleName(String) - Static method in class persistence.antlr.CodeGenerator
 
rewind(int) - Method in class persistence.antlr.CharScanner
 
rewind(int) - Method in class persistence.antlr.InputBuffer
Rewind the character buffer to a marker.
rewind(int) - Method in class persistence.antlr.Parser
 
rewind(int) - Method in class persistence.antlr.TokenBuffer
Rewind the token buffer to a marker.
right - Variable in class persistence.antlr.BaseAST
 
rollback(int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
rollback(String, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
Rollback the instruction stream for a program so that the indicated instruction (via instructionIndex) is no longer in the stream.
root - Variable in class persistence.antlr.ASTPair
 
rootNode() - Method in class persistence.antlr.ANTLRParser
 
RPAREN - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
RPAREN - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
rule() - Method in class persistence.antlr.ANTLRParser
 
RULE_REF - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
ruleBlock - Variable in class persistence.antlr.MakeGrammar
 
RuleBlock - Class in persistence.antlr
A list of alternatives and info contained in the rule definition.
RuleBlock(Grammar, String) - Constructor for class persistence.antlr.RuleBlock
Construct a named rule.
RuleBlock(Grammar, String, int, boolean) - Constructor for class persistence.antlr.RuleBlock
Construct a named rule with line number information
ruleEnd - Variable in class persistence.antlr.MakeGrammar
 
ruleName - Variable in class persistence.antlr.ParseTreeRule
 
ruleName - Variable in class persistence.antlr.RuleBlock
 
ruleOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
rules() - Method in class persistence.antlr.ANTLRParser
 
rules - Variable in class persistence.antlr.Grammar
 

S

saveConsumedInput - Variable in class persistence.antlr.CharScanner
 
saveText - Variable in class persistence.antlr.CppCodeGenerator
 
saveText - Variable in class persistence.antlr.CSharpCodeGenerator
 
saveText - Variable in class persistence.antlr.JavaCodeGenerator
 
scanner - Variable in exception persistence.antlr.MismatchedCharException
 
select(TokenStream) - Method in class persistence.antlr.TokenStreamSelector
Set the stream without pushing old stream
select(String) - Method in class persistence.antlr.TokenStreamSelector
 
SemanticException - Exception in persistence.antlr
 
SemanticException(String) - Constructor for exception persistence.antlr.SemanticException
 
SemanticException(String, String, int) - Constructor for exception persistence.antlr.SemanticException
Deprecated. As of ANTLR 2.7.2 use #SemanticException(char, String, int, int)
SemanticException(String, String, int, int) - Constructor for exception persistence.antlr.SemanticException
 
SEMI - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
SEMPRED - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
SET - Static variable in exception persistence.antlr.MismatchedCharException
 
set - Variable in exception persistence.antlr.MismatchedCharException
 
SET - Static variable in exception persistence.antlr.MismatchedTokenException
 
set - Variable in exception persistence.antlr.MismatchedTokenException
 
setAnalyzer(LLkGrammarAnalyzer) - Method in class persistence.antlr.CodeGenerator
 
setArgOfRuleRef(Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setArgOfRuleRef(Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
setArgOfRuleRef(Token) - Method in class persistence.antlr.MakeGrammar
 
setArgOK(int) - Method in class persistence.antlr.Tool
 
setASTFactory(ASTFactory) - Method in class persistence.antlr.Parser
Specify an object with support code (shared by Parser and TreeParser.
setASTFactory(ASTFactory) - Method in class persistence.antlr.TreeParser
Specify an object with support code (shared by Parser and TreeParser.
setASTNodeClass(String) - Method in class persistence.antlr.ASTFactory
 
setASTNodeClass(String) - Method in class persistence.antlr.Parser
 
setASTNodeClass(String) - Method in class persistence.antlr.TreeParser
Specify the type of node to create during tree building
setASTNodeType(String) - Method in class persistence.antlr.ASTFactory
Deprecated. since 2.7.1
setASTNodeType(String) - Method in class persistence.antlr.Parser
Deprecated. since 2.7.1
setASTNodeType(String) - Method in class persistence.antlr.TreeParser
Deprecated. since 2.7.2
setBehavior(DefineGrammarSymbols) - Method in class persistence.antlr.CodeGenerator
 
setBlock(AlternativeBlock, AlternativeBlock) - Static method in class persistence.antlr.MakeGrammar
 
setBlockElement() - Method in class persistence.antlr.ANTLRParser
 
setBuffer(char[], int) - Method in class persistence.antlr.ANTLRHashString
 
setCaseSensitive(boolean) - Method in class persistence.antlr.CharScanner
 
setCharAt(int, char) - Method in class persistence.antlr.ANTLRStringBuffer
 
setCharVocabulary(BitSet) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setCharVocabulary(BitSet) - Method in class persistence.antlr.DefineGrammarSymbols
Set the character vocabulary for a lexer
setCodeGenerator(CodeGenerator) - Method in class persistence.antlr.Grammar
 
setColumn(int) - Method in class persistence.antlr.CharScanner
 
setColumn(int) - Method in class persistence.antlr.CommonToken
 
setColumn(int) - Method in class persistence.antlr.Token
 
setCommitToPath(boolean) - Method in class persistence.antlr.CharScanner
 
setDebugMode(boolean) - Method in class persistence.antlr.Parser
 
setDefaultErrorHandler(boolean) - Method in class persistence.antlr.RuleBlock
 
setEndElement(RuleEndElement) - Method in class persistence.antlr.RuleBlock
 
setEpsilon() - Method in class persistence.antlr.Lookahead
 
setFileLineFormatter(FileLineFormatter) - Method in class persistence.antlr.Tool
 
setFilename(String) - Method in class persistence.antlr.CharScanner
 
setFilename(String) - Method in class persistence.antlr.Grammar
 
setFilename(String) - Method in class persistence.antlr.Parser
 
setFilename(String) - Method in class persistence.antlr.Token
 
setFileOption(Token, Token, String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setFileOption(Token, Token, String) - Method in class persistence.antlr.DefineGrammarSymbols
setFileOption: Associate an option value with a key.
setFirstChild(AST) - Method in class persistence.antlr.ASTNULLType
 
setFirstChild(AST) - Method in class persistence.antlr.BaseAST
 
setFormatter(FileLineFormatter) - Static method in class persistence.antlr.FileLineFormatter
 
setGrammar(Grammar) - Method in class persistence.antlr.CodeGenerator
Set a grammar for the code generator to use
setGrammar(Grammar) - Method in class persistence.antlr.LLkAnalyzer
Set the grammar for the analyzer
setGrammar(Grammar) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
setGrammarAnalyzer(LLkGrammarAnalyzer) - Method in class persistence.antlr.Grammar
 
setGrammarOption(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setGrammarOption(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
setGrammarOption: Associate an option value with a key.
setHiddenAfter(CommonHiddenStreamToken) - Method in class persistence.antlr.CommonHiddenStreamToken
 
setHiddenBefore(CommonHiddenStreamToken) - Method in class persistence.antlr.CommonHiddenStreamToken
 
setIgnoreInvalidDebugCalls(boolean) - Method in class persistence.antlr.Parser
 
setIndex(int) - Method in class persistence.antlr.TokenWithIndex
 
setInputState(LexerSharedInputState) - Method in class persistence.antlr.CharScanner
 
setInputState(ParserSharedInputState) - Method in class persistence.antlr.Parser
 
setLastRewriteTokenIndex(String, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
setLength(int) - Method in class persistence.antlr.ANTLRStringBuffer
 
setLine(int) - Method in class persistence.antlr.CharScanner
 
setLine(int) - Method in class persistence.antlr.CommonToken
 
setLine(int) - Method in class persistence.antlr.Token
 
setNameSpace(String) - Method in class persistence.antlr.Tool
Support C++ & C# namespaces (for now).
setNextSibling(AST) - Method in class persistence.antlr.ASTNULLType
 
setNextSibling(AST) - Method in class persistence.antlr.BaseAST
 
setOption(String, Token) - Method in class persistence.antlr.Grammar
Set a generic option.
setOption(Token, Token) - Method in class persistence.antlr.RuleBlock
 
setOutputDirectory(String) - Method in class persistence.antlr.Tool
 
setRuleOption(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setRuleOption(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
setRuleOption(Token, Token) - Method in class persistence.antlr.MakeGrammar
 
setString(String) - Method in class persistence.antlr.ANTLRHashString
 
setSubruleOption(Token, Token) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setSubruleOption(Token, Token) - Method in class persistence.antlr.DefineGrammarSymbols
 
setSubruleOption(Token, Token) - Method in class persistence.antlr.MakeGrammar
 
setTabSize(int) - Method in class persistence.antlr.CharScanner
 
setText(String) - Method in class persistence.antlr.ASTNULLType
 
setText(String) - Method in class persistence.antlr.BaseAST
Set the token text for this node
setText(String) - Method in class persistence.antlr.CharScanner
 
setText(String) - Method in class persistence.antlr.CommonAST
Set the token text for this node
setText(String) - Method in class persistence.antlr.CommonToken
 
setText(String) - Method in class persistence.antlr.Token
 
setTokenBuffer(TokenBuffer) - Method in class persistence.antlr.Parser
Set or change the input token buffer
setTokenManager(TokenManager) - Method in class persistence.antlr.Grammar
 
setTokenObjectClass(String) - Method in class persistence.antlr.CharScanner
 
setTokenTypeASTNodeType(int, String) - Method in class persistence.antlr.ASTFactory
Specify an "override" for the Java AST object created for a specific token.
setTokenTypeToASTClassMap(Hashtable) - Method in class persistence.antlr.ASTFactory
 
setTool(Tool) - Method in class persistence.antlr.ANTLRTokdefParser
In order to make it so existing subclasses don't break, we won't require that the persistence.antlr.Tool instance be passed as a constructor element.
setTool(Tool) - Method in class persistence.antlr.CodeGenerator
 
setType(int) - Method in class persistence.antlr.ASTNULLType
 
setType(int) - Method in class persistence.antlr.BaseAST
Set the token type for this node
setType(int) - Method in class persistence.antlr.CommonAST
Set the token type for this node
setType(int) - Method in class persistence.antlr.Token
 
setupOutput(String) - Method in class persistence.antlr.CSharpCodeGenerator
This method exists so a subclass, namely VAJCodeGenerator, can open the file in its own evil way.
setupOutput(String) - Method in class persistence.antlr.JavaCodeGenerator
This method exists so a subclass, namely VAJCodeGenerator, can open the file in its own evil way.
setUserExceptions(String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
setUserExceptions(String) - Method in class persistence.antlr.DefineGrammarSymbols
 
setUserExceptions(String) - Method in class persistence.antlr.MakeGrammar
 
setVerboseStringConversion(boolean, String[]) - Static method in class persistence.antlr.BaseAST
 
SKIP - Static variable in class persistence.antlr.Token
 
SL_COMMENT - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
SL_COMMENT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
STAR - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
startLexer(String, Token, String, String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
startLexer(String, Token, String, String) - Method in class persistence.antlr.DefineGrammarSymbols
Start a new lexer
startParser(String, Token, String, String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
startParser(String, Token, String, String) - Method in class persistence.antlr.DefineGrammarSymbols
Start a new parser
startTreeWalker(String, Token, String, String) - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
startTreeWalker(String, Token, String, String) - Method in class persistence.antlr.DefineGrammarSymbols
Start a new tree-walker
stream - Variable in class persistence.antlr.TokenStreamRewriteEngine
Who do we suck tokens from?
streamStack - Variable in class persistence.antlr.TokenStreamSelector
Used to track stack of input streams
STRING - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
STRING_LITERAL - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
StringUtils - Class in persistence.antlr
 
StringUtils() - Constructor for class persistence.antlr.StringUtils
 
stripBack(String, char) - Static method in class persistence.antlr.StringUtils
General-purpose utility function for removing characters from back of string
stripBack(String, String) - Static method in class persistence.antlr.StringUtils
General-purpose utility function for removing characters from back of string
stripFront(String, char) - Static method in class persistence.antlr.StringUtils
General-purpose utility function for removing characters from front of string
stripFront(String, String) - Static method in class persistence.antlr.StringUtils
General-purpose utility function for removing characters from front of string
stripFrontBack(String, String, String) - Static method in class persistence.antlr.StringUtils
General-purpose utility function for removing characters from the front and back of string
subruleCanBeInverted(AlternativeBlock, boolean) - Method in class persistence.antlr.LLkAnalyzer
 
subruleCanBeInverted(AlternativeBlock, boolean) - Method in interface persistence.antlr.LLkGrammarAnalyzer
 
subruleOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
subversion - Static variable in class persistence.antlr.Version
 
superClass() - Method in class persistence.antlr.ANTLRParser
 
superClass - Variable in class persistence.antlr.Grammar
 
symbols - Variable in class persistence.antlr.Grammar
 
syncConsume() - Method in class persistence.antlr.InputBuffer
Sync up deferred consumption
synPred() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
synPred() - Method in class persistence.antlr.DefineGrammarSymbols
 
synPred() - Method in class persistence.antlr.MakeGrammar
 
syntacticPredLevel - Variable in class persistence.antlr.CppCodeGenerator
 
syntacticPredLevel - Variable in class persistence.antlr.CSharpCodeGenerator
 
syntacticPredLevel - Variable in class persistence.antlr.DiagnosticCodeGenerator
non-zero if inside syntactic predicate generation
syntacticPredLevel - Variable in class persistence.antlr.DocBookCodeGenerator
non-zero if inside syntactic predicate generation
syntacticPredLevel - Variable in class persistence.antlr.HTMLCodeGenerator
non-zero if inside syntactic predicate generation
syntacticPredLevel - Variable in class persistence.antlr.JavaCodeGenerator
 

T

tab() - Method in class persistence.antlr.CharScanner
advance the current column number by an appropriate amount according to tab size.
tabs - Variable in class persistence.antlr.CodeGenerator
Current tab indentation for code output
tabsize - Variable in class persistence.antlr.CharScanner
Tab chars are handled by tab() according to this value; override method to do anything weird with tabs.
target_file - Variable in class persistence.antlr.PreservingFileWriter
 
terminal(Token) - Method in class persistence.antlr.ANTLRParser
 
testLiterals - Variable in class persistence.antlr.RuleBlock
 
testLiteralsTable(int) - Method in class persistence.antlr.CharScanner
 
testLiteralsTable(String, int) - Method in class persistence.antlr.CharScanner
Test the text passed in against the literals table Override this method to perform a different literals test This is used primarily when you want to test a portion of a token.
text - Variable in class persistence.antlr.CharScanner
 
text - Variable in class persistence.antlr.CommonToken
 
theASTNodeType - Variable in class persistence.antlr.ASTFactory
Name of AST class to create during tree construction.
theASTNodeTypeClass - Variable in class persistence.antlr.ASTFactory
 
theLLkAnalyzer - Variable in class persistence.antlr.Grammar
 
throwsSpec() - Method in class persistence.antlr.ANTLRParser
 
throwsSpec - Variable in class persistence.antlr.RuleBlock
 
tmp_file - Variable in class persistence.antlr.PreservingFileWriter
 
toDebugString() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toDebugString(int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
token - Variable in exception persistence.antlr.MismatchedTokenException
 
TOKEN - Static variable in exception persistence.antlr.MismatchedTokenException
 
token - Variable in exception persistence.antlr.NoViableAltException
 
token - Variable in class persistence.antlr.ParseTreeToken
 
Token - Class in persistence.antlr
A token is minimally a token type.
Token() - Constructor for class persistence.antlr.Token
 
Token(int) - Constructor for class persistence.antlr.Token
 
Token(int, String) - Constructor for class persistence.antlr.Token
 
TOKEN_REF - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
TokenBuffer - Class in persistence.antlr
 
TokenBuffer(TokenStream) - Constructor for class persistence.antlr.TokenBuffer
Create a token buffer
tokenManager - Variable in class persistence.antlr.Grammar
The token manager associated with the grammar, if any.
tokenManagers - Variable in class persistence.antlr.DefineGrammarSymbols
 
tokenNames - Variable in class persistence.antlr.Parser
Table of token type to token names
tokenNames - Variable in class persistence.antlr.TreeParser
Table of token type to token names
tokenObjectClass - Variable in class persistence.antlr.CharScanner
 
TOKENS - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
tokens - Variable in class persistence.antlr.TokenStreamRewriteEngine
Track the incoming list of tokens
tokensSpec() - Method in class persistence.antlr.ANTLRParser
 
tokensSpecOptions(Token) - Method in class persistence.antlr.ANTLRParser
 
tokenStartColumn - Variable in class persistence.antlr.LexerSharedInputState
 
tokenStartLine - Variable in class persistence.antlr.LexerSharedInputState
 
TokenStream - Interface in persistence.antlr
 
TokenStreamBasicFilter - Class in persistence.antlr
This object is a TokenStream that passes through all tokens except for those that you tell it to discard.
TokenStreamBasicFilter(TokenStream) - Constructor for class persistence.antlr.TokenStreamBasicFilter
 
TokenStreamException - Exception in persistence.antlr
Anything that goes wrong while generating a stream of tokens.
TokenStreamException() - Constructor for exception persistence.antlr.TokenStreamException
 
TokenStreamException(String) - Constructor for exception persistence.antlr.TokenStreamException
 
TokenStreamHiddenTokenFilter - Class in persistence.antlr
This object filters a token stream coming from a lexer or another TokenStream so that only certain token channels get transmitted to the parser.
TokenStreamHiddenTokenFilter(TokenStream) - Constructor for class persistence.antlr.TokenStreamHiddenTokenFilter
 
TokenStreamIOException - Exception in persistence.antlr
Wraps an IOException in a TokenStreamException
TokenStreamIOException(IOException) - Constructor for exception persistence.antlr.TokenStreamIOException
TokenStreamIOException constructor comment.
TokenStreamRecognitionException - Exception in persistence.antlr
Wraps a RecognitionException in a TokenStreamException so you can pass it along.
TokenStreamRecognitionException(RecognitionException) - Constructor for exception persistence.antlr.TokenStreamRecognitionException
 
TokenStreamRetryException - Exception in persistence.antlr
Aborted recognition of current token.
TokenStreamRetryException() - Constructor for exception persistence.antlr.TokenStreamRetryException
 
TokenStreamRewriteEngine - Class in persistence.antlr
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(TokenStream) - Constructor for class persistence.antlr.TokenStreamRewriteEngine
 
TokenStreamRewriteEngine(TokenStream, int) - Constructor for class persistence.antlr.TokenStreamRewriteEngine
 
TokenStreamSelector - Class in persistence.antlr
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.
TokenStreamSelector() - Constructor for class persistence.antlr.TokenStreamSelector
 
tokenTypeForCharLiteral(String) - Static method in class persistence.antlr.ANTLRLexer
 
TokenTypesFileExt - Static variable in class persistence.antlr.CodeGenerator
 
TokenTypesFileSuffix - Static variable in class persistence.antlr.CodeGenerator
 
tokenTypeToASTClassMap - Variable in class persistence.antlr.ASTFactory
How to specify the classname to create for a particular token type.
tokenTypeToASTClassMap - Variable in class persistence.antlr.Parser
Constructed if any AST types specified in tokens{..}.
TokenWithIndex - Class in persistence.antlr
This token knows what index 0..n-1 it is from beginning of stream.
TokenWithIndex() - Constructor for class persistence.antlr.TokenWithIndex
 
TokenWithIndex(int, String) - Constructor for class persistence.antlr.TokenWithIndex
 
toLower(char) - Method in class persistence.antlr.CharScanner
 
tool - Variable in class persistence.antlr.DefineGrammarSymbols
 
tool - Variable in class persistence.antlr.LLkAnalyzer
 
Tool - Class in persistence.antlr
 
Tool() - Constructor for class persistence.antlr.Tool
Construct a new Tool.
toolError(String) - Method in class persistence.antlr.Tool
Issue an error; used for general tool errors not for grammar stuff
toOriginalString() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toOriginalString(int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toString() - Method in class persistence.antlr.ActionTransInfo
 
toString() - Method in class persistence.antlr.ANTLRStringBuffer
 
toString() - Method in class persistence.antlr.ASTNULLType
 
toString() - Method in class persistence.antlr.ASTPair
 
toString() - Method in class persistence.antlr.BaseAST
 
toString() - Method in class persistence.antlr.CommonToken
 
toString() - Method in class persistence.antlr.Grammar
Print out the grammar without actions
toString() - Method in class persistence.antlr.Lookahead
 
toString(String, CharFormatter) - Method in class persistence.antlr.Lookahead
 
toString(String, CharFormatter, Grammar) - Method in class persistence.antlr.Lookahead
 
toString(String, Vector) - Method in class persistence.antlr.Lookahead
 
toString() - Method in class persistence.antlr.ParseTreeRule
 
toString() - Method in class persistence.antlr.ParseTreeToken
 
toString() - Method in exception persistence.antlr.RecognitionException
 
toString() - Method in class persistence.antlr.RuleBlock
 
toString() - Method in class persistence.antlr.Token
 
toString() - Method in exception persistence.antlr.TokenStreamRecognitionException
 
toString() - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toString(String) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toString(int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toString(String, int, int) - Method in class persistence.antlr.TokenStreamRewriteEngine
 
toString() - Method in class persistence.antlr.TokenWithIndex
 
toStringList() - Method in class persistence.antlr.ASTNULLType
 
toStringList() - Method in class persistence.antlr.BaseAST
Print out a child-sibling tree in LISP notation
toStringTree() - Method in class persistence.antlr.ASTNULLType
 
toStringTree() - Method in class persistence.antlr.BaseAST
 
traceDepth - Variable in class persistence.antlr.CharScanner
Used to keep track of indentdepth for traceIn/Out
traceDepth - Variable in class persistence.antlr.Parser
Used to keep track of indentdepth for traceIn/Out
traceDepth - Variable in class persistence.antlr.TreeParser
Used to keep track of indentdepth for traceIn/Out
traceIn(String) - Method in class persistence.antlr.CharScanner
 
traceIn(String) - Method in class persistence.antlr.LLkParser
 
traceIn(String) - Method in class persistence.antlr.Parser
 
traceIn(String, AST) - Method in class persistence.antlr.TreeParser
 
traceIndent() - Method in class persistence.antlr.CharScanner
 
traceIndent() - Method in class persistence.antlr.Parser
 
traceIndent() - Method in class persistence.antlr.TreeParser
 
traceOut(String) - Method in class persistence.antlr.CharScanner
 
traceOut(String) - Method in class persistence.antlr.LLkParser
 
traceOut(String) - Method in class persistence.antlr.Parser
 
traceOut(String, AST) - Method in class persistence.antlr.TreeParser
 
traceRules - Variable in class persistence.antlr.Grammar
 
tree() - Method in class persistence.antlr.ANTLRParser
 
TREE_BEGIN - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
TreeParser - Class in persistence.antlr
 
TreeParser() - Constructor for class persistence.antlr.TreeParser
 
treeParserOptionsSpec() - Method in class persistence.antlr.ANTLRParser
 
TreeParserSharedInputState - Class in persistence.antlr
This object contains the data associated with an input AST.
TreeParserSharedInputState() - Constructor for class persistence.antlr.TreeParserSharedInputState
 
treeParserSpec(String) - Method in class persistence.antlr.ANTLRParser
 

U

uponEOF() - Method in class persistence.antlr.CharScanner
This method is called by YourLexer.nextToken() when the lexer has hit EOF condition.
upper - Variable in exception persistence.antlr.MismatchedCharException
 
upper - Variable in exception persistence.antlr.MismatchedTokenException
 
upperCaseMangledLiterals - Static variable in class persistence.antlr.Tool
 

V

version - Static variable in class persistence.antlr.Tool
 
Version - Class in persistence.antlr
 
Version() - Constructor for class persistence.antlr.Version
 
version - Static variable in class persistence.antlr.Version
 
visit(AST) - Method in interface persistence.antlr.ASTVisitor
 
visit(AST) - Method in class persistence.antlr.DumpASTVisitor
 

W

warning(String) - Method in class persistence.antlr.Tool
Issue a warning
warning(String, String, int, int) - Method in class persistence.antlr.Tool
Issue a warning with line number information
warning(String[], String, int, int) - Method in class persistence.antlr.Tool
Issue a warning with line number information
WILDCARD - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
WS - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
WS - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
WS_LOOP - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
WS_OPT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 

X

XDIGIT - Static variable in interface persistence.antlr.ANTLRTokdefParserTokenTypes
 
XDIGIT - Static variable in interface persistence.antlr.ANTLRTokenTypes
 
xmlSerialize(Writer) - Method in class persistence.antlr.BaseAST
 
xmlSerializeNode(Writer) - Method in class persistence.antlr.BaseAST
 
xmlSerializeRootClose(Writer) - Method in class persistence.antlr.BaseAST
 
xmlSerializeRootOpen(Writer) - Method in class persistence.antlr.BaseAST
 

Z

zeroOrMoreSubRule() - Method in interface persistence.antlr.ANTLRGrammarParseBehavior
 
zeroOrMoreSubRule() - Method in class persistence.antlr.DefineGrammarSymbols
 
zeroOrMoreSubRule() - Method in class persistence.antlr.MakeGrammar
 

_

_print(String) - Method in class persistence.antlr.CodeGenerator
Output a String to the currentOutput stream.
_print(String) - Method in class persistence.antlr.CppCodeGenerator
Output a String to the currentOutput stream.
_printAction(String) - Method in class persistence.antlr.CodeGenerator
Print an action without leading tabs, attempting to preserve the current indentation level for multi-line actions Ignored if string is null.
_printAction(String) - Method in class persistence.antlr.CppCodeGenerator
Print an action without leading tabs, attempting to preserve the current indentation level for multi-line actions Ignored if string is null.
_println(String) - Method in class persistence.antlr.CodeGenerator
Output a String followed by newline, to the currentOutput stream.
_println(String) - Method in class persistence.antlr.CppCodeGenerator
Output a String followed by newline, to the currentOutput stream.
_refStringLiteral(Token, Token, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
 
_refToken(Token, Token, Token, Token, boolean, int, boolean) - Method in class persistence.antlr.DefineGrammarSymbols
Reference a token
_retTree - Variable in class persistence.antlr.TreeParser
Where did this rule leave off parsing; avoids a return parameter
_returnToken - Variable in class persistence.antlr.CharScanner
 
_tokenNames - Static variable in class persistence.antlr.ANTLRParser
 
_tokenNames - Static variable in class persistence.antlr.ANTLRTokdefParser
 
_tokenSet_0 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_0 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_0 - Static variable in class persistence.antlr.ANTLRTokdefLexer
 
_tokenSet_0 - Static variable in class persistence.antlr.ANTLRTokdefParser
 
_tokenSet_1 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_1 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_1 - Static variable in class persistence.antlr.ANTLRTokdefLexer
 
_tokenSet_1 - Static variable in class persistence.antlr.ANTLRTokdefParser
 
_tokenSet_10 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_11 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_2 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_2 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_2 - Static variable in class persistence.antlr.ANTLRTokdefLexer
 
_tokenSet_3 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_3 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_3 - Static variable in class persistence.antlr.ANTLRTokdefLexer
 
_tokenSet_4 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_4 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_5 - Static variable in class persistence.antlr.ANTLRLexer
 
_tokenSet_5 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_6 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_7 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_8 - Static variable in class persistence.antlr.ANTLRParser
 
_tokenSet_9 - Static variable in class persistence.antlr.ANTLRParser
 

A B C D E F G H I J L M N O P Q R S T U V W X Z _