- 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)?