public class OptionalBlockAST extends GrammarAST implements RuleElementAST, QuantifierAST
atnState, g, textOverride
Constructor and Description |
---|
OptionalBlockAST(int type,
org.antlr.runtime.Token t,
org.antlr.runtime.Token nongreedy) |
OptionalBlockAST(OptionalBlockAST node) |
Modifier and Type | Method and Description |
---|---|
OptionalBlockAST |
dupNode() |
boolean |
isGreedy() |
Object |
visit(GrammarASTVisitor v) |
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 OptionalBlockAST(OptionalBlockAST node)
public OptionalBlockAST(int type, org.antlr.runtime.Token t, org.antlr.runtime.Token nongreedy)
public boolean isGreedy()
isGreedy
in interface QuantifierAST
public OptionalBlockAST dupNode()
dupNode
in interface org.antlr.runtime.tree.Tree
dupNode
in class GrammarAST
public Object visit(GrammarASTVisitor v)
visit
in class GrammarAST
Copyright © 1992–2020 ANTLR. All rights reserved.