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, toTokenStringgetCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreepublic OptionalBlockAST(OptionalBlockAST node)
public OptionalBlockAST(int type,
org.antlr.runtime.Token t,
org.antlr.runtime.Token nongreedy)
public boolean isGreedy()
isGreedy in interface QuantifierASTpublic OptionalBlockAST dupNode()
dupNode in interface org.antlr.runtime.tree.TreedupNode in class GrammarASTpublic Object visit(GrammarASTVisitor v)
visit in class GrammarASTCopyright © 1992–2020 ANTLR. All rights reserved.