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