public class AltAST extends GrammarASTWithOptions
| Modifier and Type | Field and Description |
|---|---|
Alternative |
alt
|
GrammarAST |
altLabel
If someone specified an outermost alternative label with #foo.
|
LeftRecursiveRuleAltInfo |
leftRecursiveAltInfo
If we transformed this alt from a left-recursive one, need info on it
|
optionsatnState, g, textOverride| Constructor and Description |
|---|
AltAST(AltAST
|
AltAST(int type, Token t)
|
AltAST(int type, Token t, String
|
AltAST(Token t)
|
| Modifier and Type | Method and Description |
|---|---|
AltAST |
dupNode()
|
Object |
visit(GrammarASTVisitor
|
getNumberOfOptions, getOptionAST, getOptions, getOptionString, setOptiondeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS_, getNodesWithTypePreorderDFS, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringpublic Alternativealt
public LeftRecursiveRuleAltInfoleftRecursiveAltInfo
public GrammarASTaltLabel
public AltAST(AltASTnode)
public AltAST(Token t)
public AltAST(int type,
Token t)public AltAST(int type,
Token t,
String text) public AltASTdupNode()
public Objectvisit(GrammarASTVisitor v)