org.antlr.runtime.tree.Tree
, QuantifierAST
, RuleElementAST
public class OptionalBlockAST extends GrammarAST implements RuleElementAST, QuantifierAST
childIndex, parent, startIndex, stopIndex, token
atnState, 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, 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
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–2018 ANTLR. All rights reserved.