org.antlr.runtime.tree.Tree
, RuleElementAST
PredAST
public class ActionAST extends GrammarASTWithOptions implements RuleElementAST
Modifier and Type | Field | Description |
---|---|---|
List<org.antlr.runtime.Token> |
chunks |
|
AttributeResolver |
resolver |
childIndex, parent, startIndex, stopIndex, token
atnState, g, textOverride
options
Constructor | Description |
---|---|
ActionAST(int type) |
|
ActionAST(int type,
org.antlr.runtime.Token t) |
|
ActionAST(org.antlr.runtime.Token t) |
|
ActionAST(ActionAST node) |
Modifier and Type | Method | Description |
---|---|---|
ActionAST |
dupNode() |
|
Object |
visit(GrammarASTVisitor v) |
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
deleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS, getNodesWithTypePreorderDFS_, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenString
getNumberOfOptions, getOptionAST, getOptions, getOptionString, setOption
public AttributeResolver resolver
public List<org.antlr.runtime.Token> chunks
public ActionAST(ActionAST node)
public ActionAST(org.antlr.runtime.Token t)
public ActionAST(int type)
public ActionAST(int type, org.antlr.runtime.Token t)
public ActionAST dupNode()
dupNode
in interface org.antlr.runtime.tree.Tree
dupNode
in class GrammarASTWithOptions
public Object visit(GrammarASTVisitor v)
visit
in class GrammarAST
Copyright © 1992–2018 ANTLR. All rights reserved.