| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public Map | |
| public LinkedHashMap | |
| public final STGroup | |
| public final String | |
| public List | leftRecursiveRuleRefLabels
Pointer to ID node of ^(= ID element) |
| public List | |
| public static final STGroup | |
| public GrammarAST | |
| public String | |
| public LinkedHashMap | |
| public LinkedHashMap | |
| public final TokenStream | tokenStream
Tokens from which rule AST comes from |
| public Tool |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AltAST | |
| public void | binaryAlt(AltAST originalAltTree, int alt)
Overrides org. |
| public String | |
| public static boolean | hasImmediateRecursiveRuleRefs(GrammarAST t, String ruleName)
Match (RULE RULE_REF (BLOCK (ALT .*) (ALT RULE_REF[self] .*) (ALT .*))) Match (RULE RULE_REF (BLOCK (ALT .*) (ALT (ASSIGN ID RULE_REF[self]) .*) (ALT .*))) |
| public int | |
| public void | otherAlt(AltAST originalAltTree, int alt)
Overrides org. |
| public int | |
| public void | prefixAlt(AltAST originalAltTree, int alt)
Overrides org. |
| public void | |
| public void | |
| public void | |
| public GrammarAST | |
| public void | suffixAlt(AltAST originalAltTree, int alt)
Overrides org. |
| public String | |
| public String |
| altAssociativity | back to summary |
|---|---|
| public Map<Integer, LeftRecursiveRuleAnalyzer. | |
| binaryAlts | back to summary |
|---|---|
| public LinkedHashMap<Integer, LeftRecursiveRuleAltInfo> binaryAlts | |
| codegenTemplates | back to summary |
|---|---|
| public final STGroup codegenTemplates | |
| language | back to summary |
|---|---|
| public final String language | |
| leftRecursiveRuleRefLabels | back to summary |
|---|---|
| public List<Pair<GrammarAST, String>> leftRecursiveRuleRefLabels Pointer to ID node of ^(= ID element) | |
| prefixAndOtherAlts | back to summary |
|---|---|
| public List<LeftRecursiveRuleAltInfo> prefixAndOtherAlts | |
| recRuleTemplates | back to summary |
|---|---|
| public static final STGroup recRuleTemplates | |
| retvals | back to summary |
|---|---|
| public GrammarAST retvals | |
| ruleName | back to summary |
|---|---|
| public String ruleName | |
| suffixAlts | back to summary |
|---|---|
| public LinkedHashMap<Integer, LeftRecursiveRuleAltInfo> suffixAlts | |
| ternaryAlts | back to summary |
|---|---|
| public LinkedHashMap<Integer, LeftRecursiveRuleAltInfo> ternaryAlts | |
| tokenStream | back to summary |
|---|---|
| public final TokenStream tokenStream Tokens from which rule AST comes from | |
| tool | back to summary |
|---|---|
| public Tool tool | |
| LeftRecursiveRuleAnalyzer | back to summary |
|---|---|
| public LeftRecursiveRuleAnalyzer(GrammarAST ruleAST, Tool tool, String ruleName, String language) | |
| addPrecedenceArgToRules | back to summary |
|---|---|
| public AltAST addPrecedenceArgToRules(AltAST t, int prec) | |
| binaryAlt | back to summary |
|---|---|
| public void binaryAlt(AltAST originalAltTree, int alt) Overrides org.
| |
| getArtificialOpPrecRule | back to summary |
|---|---|
| public String getArtificialOpPrecRule() | |
| hasImmediateRecursiveRuleRefs | back to summary |
|---|---|
| public static boolean hasImmediateRecursiveRuleRefs(GrammarAST t, String ruleName) Match (RULE RULE_REF (BLOCK (ALT .*) (ALT RULE_REF[self] .*) (ALT .*))) Match (RULE RULE_REF (BLOCK (ALT .*) (ALT (ASSIGN ID RULE_REF[self]) .*) (ALT .*))) | |
| nextPrecedence | back to summary |
|---|---|
| public int nextPrecedence(int alt) | |
| otherAlt | back to summary |
|---|---|
| public void otherAlt(AltAST originalAltTree, int alt) Overrides org.
| |
| precedence | back to summary |
|---|---|
| public int precedence(int alt) | |
| prefixAlt | back to summary |
|---|---|
| public void prefixAlt(AltAST originalAltTree, int alt) Overrides org.
| |
| setAltAssoc | back to summary |
|---|---|
| public void setAltAssoc(AltAST t, int alt) Overrides org.
| |
| setReturnValues | back to summary |
|---|---|
| public void setReturnValues(GrammarAST t) Overrides org.
| |
| stripAltLabel | back to summary |
|---|---|
| public void stripAltLabel(GrammarAST altAST) Strip last 2 tokens if → label; alter indexes in altAST | |
| stripLeftRecursion | back to summary |
|---|---|
| public GrammarAST stripLeftRecursion(GrammarAST altAST) | |
| suffixAlt | back to summary |
|---|---|
| public void suffixAlt(AltAST originalAltTree, int alt) Overrides org.
| |
| text | back to summary |
|---|---|
| public String text(GrammarAST t) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final LeftRecursiveRuleAnalyzer. | |
| public static final LeftRecursiveRuleAnalyzer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LeftRecursiveRuleAnalyzer. | |
| public static LeftRecursiveRuleAnalyzer. |
| left | back to summary |
|---|---|
| public static final LeftRecursiveRuleAnalyzer. | |
| right | back to summary |
|---|---|
| public static final LeftRecursiveRuleAnalyzer. | |
| ASSOC | back to summary |
|---|---|
| private ASSOC() | |
| valueOf | back to summary |
|---|---|
| public static LeftRecursiveRuleAnalyzer. | |
| values | back to summary |
|---|---|
| public static LeftRecursiveRuleAnalyzer. | |