Package | Description |
---|---|
antlr | |
antlr.actions.cpp | |
antlr.actions.csharp | |
antlr.actions.java | |
antlr.actions.python |
Modifier and Type | Field and Description |
---|---|
(package private) RuleBlock |
RuleSymbol.block |
(package private) RuleBlock |
CSharpCodeGenerator.currentRule |
(package private) RuleBlock |
PythonCodeGenerator.currentRule
Tracks the rule being generated.
|
(package private) RuleBlock |
CppCodeGenerator.currentRule |
(package private) RuleBlock |
JavaCodeGenerator.currentRule
Tracks the rule being generated.
|
protected RuleBlock |
MakeGrammar.ruleBlock |
Modifier and Type | Method and Description |
---|---|
static RuleBlock |
MakeGrammar.createNextTokenRule(Grammar g,
Vector lexRules,
java.lang.String rname)
Used to build nextToken() for the lexer.
|
RuleBlock |
RuleSymbol.getBlock() |
Modifier and Type | Method and Description |
---|---|
void |
DiagnosticCodeGenerator.genFollowSetForRuleBlock(RuleBlock blk)
Generate a textual representation of the follow set
for a block.
|
void |
DocBookCodeGenerator.genFollowSetForRuleBlock(RuleBlock blk)
Generate a textual representation of the follow set
for a block.
|
void |
HTMLCodeGenerator.genFollowSetForRuleBlock(RuleBlock blk)
Generate a textual representation of the follow set
for a block.
|
Lookahead |
LLkAnalyzer.look(int k,
RuleBlock blk)
Combine the lookahead computed for each alternative.
|
Lookahead |
LLkGrammarAnalyzer.look(int k,
RuleBlock blk) |
protected java.lang.String |
CSharpCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo)
Lexically process tree-specifiers in the action.
|
protected java.lang.String |
DiagnosticCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo) |
protected java.lang.String |
PythonCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo)
Lexically process $var and tree-specifiers in the action.
|
protected java.lang.String |
DocBookCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo) |
protected java.lang.String |
CppCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo)
Lexically process tree-specifiers in the action.
|
protected java.lang.String |
HTMLCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo) |
protected abstract java.lang.String |
CodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo)
Lexically process $ and # references within the action.
|
protected java.lang.String |
JavaCodeGenerator.processActionForSpecialSymbols(java.lang.String actionStr,
int line,
RuleBlock currentRule,
ActionTransInfo tInfo)
Lexically process $var and tree-specifiers in the action.
|
void |
RuleSymbol.setBlock(RuleBlock rb) |
Modifier and Type | Field and Description |
---|---|
protected RuleBlock |
ActionLexer.currentRule |
Constructor and Description |
---|
ActionLexer(java.lang.String s,
RuleBlock currentRule,
CodeGenerator generator,
ActionTransInfo transInfo) |
Modifier and Type | Field and Description |
---|---|
protected RuleBlock |
ActionLexer.currentRule |
Constructor and Description |
---|
ActionLexer(java.lang.String s,
RuleBlock currentRule,
CodeGenerator generator,
ActionTransInfo transInfo) |
Modifier and Type | Field and Description |
---|---|
protected RuleBlock |
ActionLexer.currentRule |
Constructor and Description |
---|
ActionLexer(java.lang.String s,
RuleBlock currentRule,
CodeGenerator generator,
ActionTransInfo transInfo) |
Modifier and Type | Field and Description |
---|---|
protected RuleBlock |
ActionLexer.currentRule |
Constructor and Description |
---|
ActionLexer(java.lang.String s,
RuleBlock currentRule,
CodeGenerator generator,
ActionTransInfo transInfo) |