Public Member Functions | |
MakeGrammar (Tool tool_, String[] args_, LLkAnalyzer analyzer_) | |
void | abortGrammar () |
void | beginAlt (boolean doAutoGen_) |
void | beginChildList () |
void | beginExceptionGroup () |
void | beginExceptionSpec (Token label) |
void | beginSubRule (Token label, Token start, boolean not) |
void | beginTree (Token tok) throws SemanticException |
BlockContext | context () |
void | defineRuleName (Token r, String access, boolean ruleAutoGen, String docComment) throws SemanticException |
void | endAlt () |
void | endChildList () |
void | endExceptionGroup () |
void | endExceptionSpec () |
void | endGrammar () |
void | endRule (String rule) |
void | endSubRule () |
void | endTree () |
void | hasError () |
void | noAutoGenSubRule () |
void | oneOrMoreSubRule () |
void | optionalSubRule () |
void | refAction (Token action) |
void | setUserExceptions (String thr) |
void | refArgAction (Token action) |
void | refCharLiteral (Token lit, Token label, boolean inverted, int autoGenType, boolean lastInRule) |
void | refCharRange (Token t1, Token t2, Token label, int autoGenType, boolean lastInRule) |
void | refTokensSpecElementOption (Token tok, Token option, Token value) |
void | refElementOption (Token option, Token value) |
void | refExceptionHandler (Token exTypeAndName, Token action) |
void | refInitAction (Token action) |
void | refMemberAction (Token act) |
void | refPreambleAction (Token act) |
void | refReturnAction (Token returnAction) |
void | refRule (Token idAssign, Token r, Token label, Token args, int autoGenType) |
void | refSemPred (Token pred) |
void | refStringLiteral (Token lit, Token label, int autoGenType, boolean lastInRule) |
void | refToken (Token idAssign, Token t, Token label, Token args, boolean inverted, int autoGenType, boolean lastInRule) |
void | refTokenRange (Token t1, Token t2, Token label, int autoGenType, boolean lastInRule) |
void | refTreeSpecifier (Token treeSpec) |
void | refWildcard (Token t, Token label, int autoGenType) |
void | reset () |
void | setArgOfRuleRef (Token argAction) |
void | setRuleOption (Token key, Token value) |
void | setSubruleOption (Token key, Token value) |
void | synPred () |
void | zeroOrMoreSubRule () |
Static Public Member Functions | |
static RuleBlock | createNextTokenRule (Grammar g, Vector lexRules, String rname) |
static void | setBlock (AlternativeBlock b, AlternativeBlock src) |
Protected Member Functions | |
void | addElementToCurrentAlt (AlternativeElement e) |
Protected Attributes | |
Stack | blocks = new LList() |
RuleRefElement | lastRuleRef |
RuleEndElement | ruleEnd |
RuleBlock | ruleBlock |
int | nested = 0 |
boolean | grammarError = false |
Package Attributes | |
ExceptionSpec | currentExceptionSpec = null |
antlr.MakeGrammar.MakeGrammar | ( | Tool | tool_, | |
String[] | args_, | |||
LLkAnalyzer | analyzer_ | |||
) |
void antlr.MakeGrammar.abortGrammar | ( | ) |
Abort the processing of a grammar (due to syntax errors)
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.Tool.error(), antlr.Grammar.getClassName(), antlr.DefineGrammarSymbols.grammar, and antlr.DefineGrammarSymbols.tool.
Referenced by antlr.MakeGrammar.endGrammar().
void antlr.MakeGrammar.addElementToCurrentAlt | ( | AlternativeElement | e | ) | [protected] |
References antlr.BlockContext.addAlternativeElement(), antlr.MakeGrammar.context(), antlr.AlternativeElement.enclosingRuleName, antlr.MakeGrammar.ruleBlock, and antlr.RuleBlock.ruleName.
Referenced by antlr.MakeGrammar.endAlt(), antlr.MakeGrammar.endChildList(), antlr.MakeGrammar.endSubRule(), antlr.MakeGrammar.endTree(), antlr.MakeGrammar.refAction(), antlr.MakeGrammar.refCharLiteral(), antlr.MakeGrammar.refCharRange(), antlr.MakeGrammar.refRule(), antlr.MakeGrammar.refSemPred(), antlr.MakeGrammar.refStringLiteral(), antlr.MakeGrammar.refToken(), antlr.MakeGrammar.refTokenRange(), and antlr.MakeGrammar.refWildcard().
void antlr.MakeGrammar.beginAlt | ( | boolean | doAutoGen_ | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.AlternativeBlock.addAlternative(), antlr.BlockContext.block, antlr.MakeGrammar.context(), and antlr.Alternative.setAutoGen().
Referenced by antlr.MakeGrammar.optionalSubRule().
void antlr.MakeGrammar.beginChildList | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.AlternativeBlock.addAlternative(), antlr.BlockContext.block, and antlr.MakeGrammar.context().
void antlr.MakeGrammar.beginExceptionGroup | ( | ) |
Add an exception group to a rule (currently a no-op)
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.context(), antlr.Tool.panic(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.beginExceptionSpec | ( | Token | label | ) |
Add an exception spec to an exception group or rule block
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.currentExceptionSpec, antlr.Token.getText(), and antlr.Token.setText().
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.altNum, antlr.BlockEndElement.block, antlr.BlockContext.block, antlr.BlockContext.blockEnd, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.nested, and antlr.collections.Stack.push().
void antlr.MakeGrammar.beginTree | ( | Token | tok | ) | throws SemanticException |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.altNum, antlr.BlockContext.block, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.Tool.error(), antlr.Grammar.getFilename(), antlr.DefineGrammarSymbols.grammar, antlr.collections.Stack.push(), and antlr.DefineGrammarSymbols.tool.
BlockContext antlr.MakeGrammar.context | ( | ) |
References antlr.MakeGrammar.blocks, antlr.collections.Stack.height(), and antlr.collections.Stack.top().
Referenced by antlr.MakeGrammar.addElementToCurrentAlt(), antlr.MakeGrammar.beginAlt(), antlr.MakeGrammar.beginChildList(), antlr.MakeGrammar.beginExceptionGroup(), antlr.MakeGrammar.beginSubRule(), antlr.MakeGrammar.beginTree(), antlr.MakeGrammar.defineRuleName(), antlr.MakeGrammar.endAlt(), antlr.MakeGrammar.endChildList(), antlr.MakeGrammar.endExceptionSpec(), antlr.MakeGrammar.endSubRule(), antlr.MakeGrammar.noAutoGenSubRule(), antlr.MakeGrammar.oneOrMoreSubRule(), antlr.MakeGrammar.optionalSubRule(), antlr.MakeGrammar.refAction(), antlr.MakeGrammar.refArgAction(), antlr.MakeGrammar.refElementOption(), antlr.MakeGrammar.refInitAction(), antlr.MakeGrammar.refReturnAction(), antlr.MakeGrammar.refSemPred(), antlr.MakeGrammar.refTreeSpecifier(), antlr.MakeGrammar.setSubruleOption(), antlr.MakeGrammar.setUserExceptions(), antlr.MakeGrammar.synPred(), and antlr.MakeGrammar.zeroOrMoreSubRule().
static RuleBlock antlr.MakeGrammar.createNextTokenRule | ( | Grammar | g, | |
Vector | lexRules, | |||
String | rname | |||
) | [static] |
Used to build nextToken() for the lexer. This builds a rule which has every "public" rule in the given Vector of rules as it's alternate. Each rule ref generates a Token object.
g | The Grammar that is being processed | |
lexRules | A vector of lexer rules that will be used to create an alternate block. | |
rname | The name of the resulting rule. |
References antlr.RuleSymbol.access, antlr.AlternativeBlock.addAlternative(), antlr.Alternative.addElement(), antlr.RuleSymbol.addReference(), antlr.Grammar.antlrTool, antlr.BlockEndElement.block, antlr.collections.impl.Vector.elementAt(), antlr.AlternativeElement.enclosingRuleName, antlr.Tool.error(), antlr.AlternativeBlock.getAlternatives(), antlr.RuleSymbol.getBlock(), antlr.Grammar.getDefaultErrorHandler(), antlr.GrammarSymbol.getId(), antlr.GrammarSymbol.id, antlr.RuleSymbol.isDefined(), antlr.AlternativeElement.next, antlr.RuleBlock.prepareForAnalysis(), antlr.MakeGrammar.ruleEnd, antlr.Alternative.semPred, antlr.AlternativeBlock.setAutoGen(), antlr.Alternative.setAutoGen(), antlr.RuleBlock.setDefaultErrorHandler(), antlr.RuleBlock.setEndElement(), antlr.RuleRefElement.setLabel(), and antlr.collections.impl.Vector.size().
void antlr.MakeGrammar.defineRuleName | ( | Token | r, | |
String | access, | |||
boolean | ruleAutoGen, | |||
String | docComment | |||
) | throws SemanticException |
Define a lexer or parser rule
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.Tool.error(), antlr.Grammar.getDefaultErrorHandler(), antlr.Grammar.getFilename(), antlr.Grammar.getSymbol(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.nested, antlr.collections.Stack.push(), antlr.MakeGrammar.ruleBlock, antlr.MakeGrammar.ruleEnd, antlr.RuleSymbol.setBlock(), antlr.RuleBlock.setDefaultErrorHandler(), antlr.RuleBlock.setEndElement(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.endAlt | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.BlockContext.altNum, antlr.MakeGrammar.context(), antlr.MakeGrammar.nested, and antlr.MakeGrammar.ruleEnd.
Referenced by antlr.MakeGrammar.optionalSubRule().
void antlr.MakeGrammar.endChildList | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.BlockContext.block, antlr.BlockEndElement.block, antlr.MakeGrammar.context(), and antlr.DefineGrammarSymbols.grammar.
void antlr.MakeGrammar.endExceptionGroup | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
void antlr.MakeGrammar.endExceptionSpec | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, antlr.MakeGrammar.context(), antlr.BlockContext.currentAlt(), antlr.MakeGrammar.currentExceptionSpec, antlr.Tool.error(), antlr.Alternative.exceptionSpec, antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.Tool.panic(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.endGrammar | ( | ) |
Called at the end of processing a grammar
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.abortGrammar(), and antlr.MakeGrammar.grammarError.
void antlr.MakeGrammar.endRule | ( | String | rule | ) |
void antlr.MakeGrammar.endSubRule | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.DefineGrammarSymbols.analyzer, antlr.BlockEndElement.block, antlr.BlockContext.block, antlr.BlockContext.blockEnd, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.BlockContext.currentAlt(), antlr.Tool.error(), antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.AlternativeBlock.hasASynPred, antlr.Grammar.hasSyntacticPredicate, antlr.MakeGrammar.nested, antlr.AlternativeBlock.not, antlr.collections.Stack.pop(), antlr.AlternativeBlock.prepareForAnalysis(), antlr.AlternativeBlock.removeTrackingOfRuleRefs(), antlr.LLkAnalyzer.subruleCanBeInverted(), antlr.Alternative.synPred, and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.endTree | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.BlockContext.block, antlr.MakeGrammar.blocks, and antlr.collections.Stack.pop().
void antlr.MakeGrammar.hasError | ( | ) |
Remember that a major error occured in the grammar
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.grammarError.
void antlr.MakeGrammar.noAutoGenSubRule | ( | ) |
void antlr.MakeGrammar.oneOrMoreSubRule | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockEndElement.block, antlr.BlockContext.block, antlr.BlockContext.blockEnd, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.Tool.error(), antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.collections.Stack.pop(), antlr.collections.Stack.push(), antlr.MakeGrammar.setBlock(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.optionalSubRule | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.beginAlt(), antlr.BlockContext.block, antlr.MakeGrammar.context(), antlr.MakeGrammar.endAlt(), antlr.Tool.error(), antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.refAction | ( | Token | action | ) |
void antlr.MakeGrammar.refArgAction | ( | Token | action | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, antlr.MakeGrammar.context(), and antlr.Token.getText().
void antlr.MakeGrammar.refCharLiteral | ( | Token | lit, | |
Token | label, | |||
boolean | inverted, | |||
int | autoGenType, | |||
boolean | lastInRule | |||
) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.RuleBlock.getIgnoreRule(), antlr.Token.getLine(), antlr.GrammarAtom.getType(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.ruleBlock, antlr.DefineGrammarSymbols.tool, and antlr.Tool.warning().
void antlr.MakeGrammar.refCharRange | ( | Token | t1, | |
Token | t2, | |||
Token | label, | |||
int | autoGenType, | |||
boolean | lastInRule | |||
) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.RuleBlock.getIgnoreRule(), antlr.Token.getLine(), antlr.Token.getText(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.ruleBlock, antlr.DefineGrammarSymbols.tool, and antlr.Tool.warning().
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.context(), antlr.BlockContext.currentElement(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.Token.getLine(), antlr.Token.getText(), antlr.DefineGrammarSymbols.grammar, and antlr.DefineGrammarSymbols.tool.
Add an exception handler to an exception spec
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.ExceptionSpec.addHandler(), antlr.MakeGrammar.currentExceptionSpec, antlr.Tool.panic(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.refInitAction | ( | Token | action | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, antlr.MakeGrammar.context(), antlr.Token.getText(), and antlr.AlternativeBlock.setInitAction().
void antlr.MakeGrammar.refMemberAction | ( | Token | act | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.Grammar.classMemberAction, and antlr.DefineGrammarSymbols.grammar.
void antlr.MakeGrammar.refPreambleAction | ( | Token | act | ) |
Reimplemented from antlr.DefineGrammarSymbols.
void antlr.MakeGrammar.refReturnAction | ( | Token | returnAction | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.RuleSymbol.access, antlr.BlockContext.block, antlr.MakeGrammar.context(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.Token.getLine(), antlr.Grammar.getSymbol(), antlr.Token.getText(), antlr.DefineGrammarSymbols.grammar, antlr.DefineGrammarSymbols.tool, and antlr.Tool.warning().
void antlr.MakeGrammar.refRule | ( | Token | idAssign, | |
Token | r, | |||
Token | label, | |||
Token | args, | |||
int | autoGenType | |||
) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.RuleSymbol.addReference(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.Token.getLine(), antlr.Grammar.getSymbol(), antlr.Token.getText(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.lastRuleRef, antlr.RuleRefElement.setArgs(), antlr.RuleRefElement.setIdAssign(), antlr.DefineGrammarSymbols.tool, and antlr.Token.type.
Referenced by antlr.MakeGrammar.refToken().
void antlr.MakeGrammar.refSemPred | ( | Token | pred | ) |
void antlr.MakeGrammar.refStringLiteral | ( | Token | lit, | |
Token | label, | |||
int | autoGenType, | |||
boolean | lastInRule | |||
) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.RuleBlock.getIgnoreRule(), antlr.Token.getLine(), antlr.Token.getText(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.ruleBlock, antlr.DefineGrammarSymbols.tool, and antlr.Tool.warning().
void antlr.MakeGrammar.refToken | ( | Token | assignId, | |
Token | t, | |||
Token | label, | |||
Token | args, | |||
boolean | inverted, | |||
int | autoGenType, | |||
boolean | lastInRule | |||
) |
Reference a token
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.RuleBlock.getIgnoreRule(), antlr.Token.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.MakeGrammar.refRule(), antlr.MakeGrammar.ruleBlock, and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.refTokenRange | ( | Token | t1, | |
Token | t2, | |||
Token | label, | |||
int | autoGenType, | |||
boolean | lastInRule | |||
) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), antlr.TokenRangeElement.begin, antlr.TokenRangeElement.end, antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.Token.getLine(), antlr.DefineGrammarSymbols.grammar, and antlr.DefineGrammarSymbols.tool.
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.Grammar.antlrTool, antlr.Tool.error(), antlr.Token.getColumn(), antlr.Grammar.getFilename(), antlr.Token.getLine(), antlr.Token.getText(), antlr.TokenManager.getTokenSymbol(), antlr.DefineGrammarSymbols.grammar, antlr.Tool.panic(), antlr.TokenSymbol.setASTNodeType(), antlr.Grammar.tokenManager, and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.refTreeSpecifier | ( | Token | treeSpec | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.context(), antlr.BlockContext.currentAlt(), and antlr.Alternative.treeSpecifier.
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.addElementToCurrentAlt(), and antlr.DefineGrammarSymbols.grammar.
void antlr.MakeGrammar.reset | ( | ) |
Get ready to process a new grammar
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.blocks, antlr.MakeGrammar.currentExceptionSpec, antlr.MakeGrammar.grammarError, antlr.MakeGrammar.lastRuleRef, antlr.MakeGrammar.nested, antlr.MakeGrammar.ruleBlock, and antlr.MakeGrammar.ruleEnd.
void antlr.MakeGrammar.setArgOfRuleRef | ( | Token | argAction | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.Token.getText(), antlr.MakeGrammar.lastRuleRef, and antlr.RuleRefElement.setArgs().
static void antlr.MakeGrammar.setBlock | ( | AlternativeBlock | b, | |
AlternativeBlock | src | |||
) | [static] |
References antlr.AlternativeBlock.generateAmbigWarnings, antlr.AlternativeBlock.getAlternatives(), antlr.AlternativeBlock.greedy, antlr.AlternativeBlock.greedySet, antlr.AlternativeBlock.hasAnAction, antlr.AlternativeBlock.hasASynPred, antlr.AlternativeBlock.initAction, antlr.AlternativeBlock.label, antlr.GrammarElement.line, antlr.AlternativeBlock.setAlternatives(), and antlr.AlternativeBlock.warnWhenFollowAmbig.
Referenced by antlr.MakeGrammar.oneOrMoreSubRule(), antlr.MakeGrammar.synPred(), and antlr.MakeGrammar.zeroOrMoreSubRule().
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.MakeGrammar.ruleBlock, and antlr.RuleBlock.setOption().
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, and antlr.MakeGrammar.context().
void antlr.MakeGrammar.setUserExceptions | ( | String | thr | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockContext.block, and antlr.MakeGrammar.context().
void antlr.MakeGrammar.synPred | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockEndElement.block, antlr.BlockContext.block, antlr.BlockContext.blockEnd, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.Tool.error(), antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.collections.Stack.pop(), antlr.collections.Stack.push(), antlr.MakeGrammar.setBlock(), and antlr.DefineGrammarSymbols.tool.
void antlr.MakeGrammar.zeroOrMoreSubRule | ( | ) |
Reimplemented from antlr.DefineGrammarSymbols.
References antlr.BlockEndElement.block, antlr.BlockContext.block, antlr.BlockContext.blockEnd, antlr.MakeGrammar.blocks, antlr.MakeGrammar.context(), antlr.Tool.error(), antlr.GrammarElement.getColumn(), antlr.Grammar.getFilename(), antlr.GrammarElement.getLine(), antlr.DefineGrammarSymbols.grammar, antlr.collections.Stack.pop(), antlr.collections.Stack.push(), antlr.MakeGrammar.setBlock(), and antlr.DefineGrammarSymbols.tool.
Stack antlr.MakeGrammar.blocks = new LList() [protected] |
Referenced by antlr.MakeGrammar.beginSubRule(), antlr.MakeGrammar.beginTree(), antlr.MakeGrammar.context(), antlr.MakeGrammar.defineRuleName(), antlr.MakeGrammar.endRule(), antlr.MakeGrammar.endSubRule(), antlr.MakeGrammar.endTree(), antlr.MakeGrammar.oneOrMoreSubRule(), antlr.MakeGrammar.reset(), antlr.MakeGrammar.synPred(), and antlr.MakeGrammar.zeroOrMoreSubRule().
ExceptionSpec antlr.MakeGrammar.currentExceptionSpec = null [package] |
boolean antlr.MakeGrammar.grammarError = false [protected] |
Referenced by antlr.MakeGrammar.endGrammar(), antlr.MakeGrammar.hasError(), and antlr.MakeGrammar.reset().
RuleRefElement antlr.MakeGrammar.lastRuleRef [protected] |
Referenced by antlr.MakeGrammar.refRule(), antlr.MakeGrammar.reset(), and antlr.MakeGrammar.setArgOfRuleRef().
int antlr.MakeGrammar.nested = 0 [protected] |
RuleBlock antlr.MakeGrammar.ruleBlock [protected] |
RuleEndElement antlr.MakeGrammar.ruleEnd [protected] |