org.antlr.runtime.tree.Tree, QuantifierAST, RuleElementASTpublic class OptionalBlockAST extends GrammarAST implements RuleElementAST, QuantifierAST
childIndex, parent, startIndex, stopIndex, tokenatnState, g, textOverride| Constructor | Description |
|---|---|
OptionalBlockAST(int type,
org.antlr.runtime.Token t,
org.antlr.runtime.Token nongreedy) |
|
OptionalBlockAST(OptionalBlockAST node) |
| Modifier and Type | Method | Description |
|---|---|---|
OptionalBlockAST |
dupNode() |
|
boolean |
isGreedy() |
|
Object |
visit(GrammarASTVisitor v) |
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreegetCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringdeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS, getNodesWithTypePreorderDFS_, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringpublic 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–2018 ANTLR. All rights reserved.