Package org.antlr.v4.tool.ast
Class PlusBlockAST
java.lang.Object
org.antlr.runtime.tree.BaseTree
org.antlr.runtime.tree.CommonTree
org.antlr.v4.tool.ast.GrammarAST
org.antlr.v4.tool.ast.PlusBlockAST
- All Implemented Interfaces:
org.antlr.runtime.tree.Tree
,QuantifierAST
,RuleElementAST
-
Field Summary
FieldsFields inherited from class org.antlr.v4.tool.ast.GrammarAST
atnState, g, textOverride
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
-
Constructor Summary
ConstructorsConstructorDescriptionPlusBlockAST
(int type, org.antlr.runtime.Token t, org.antlr.runtime.Token nongreedy) PlusBlockAST
(PlusBlockAST node) -
Method Summary
Methods inherited from class org.antlr.v4.tool.ast.GrammarAST
deleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS, getNodesWithTypePreorderDFS_, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenString
Methods inherited from class org.antlr.runtime.tree.CommonTree
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
-
Field Details
-
_greedy
private final boolean _greedy
-
-
Constructor Details
-
PlusBlockAST
-
PlusBlockAST
public PlusBlockAST(int type, org.antlr.runtime.Token t, org.antlr.runtime.Token nongreedy)
-
-
Method Details
-
isGreedy
public boolean isGreedy()- Specified by:
isGreedy
in interfaceQuantifierAST
-
dupNode
- Specified by:
dupNode
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
dupNode
in classGrammarAST
-
visit
- Overrides:
visit
in classGrammarAST
-