Top Fields Constructors Methods
org.antlr.v4.tool.ast

public Class OptionalBlockAST

extends GrammarAST
implements RuleElementAST, QuantifierAST
Class Inheritance
All Implemented Interfaces
org.antlr.v4.tool.ast.QuantifierAST, org.antlr.v4.tool.ast.RuleElementAST
Imports
org.antlr.runtime.Token

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from org.antlr.v4.tool.ast.GrammarAST:
atnStategtextOverride

Constructor Summary

AccessConstructor and Description
public
public
OptionalBlockAST(int type, Token t, Token nongreedy)

Method Summary

Modifier and TypeMethod and Description
public OptionalBlockAST
public boolean
public Object
Inherited from org.antlr.v4.tool.ast.GrammarAST:
deleteChilddupTreegetAllChildrenWithTypegetAltLabelgetChildrenAsArraygetFirstDescendantWithTypegetFirstDescendantWithTypegetNodesWithTypegetNodesWithTypegetNodesWithTypePreorderDFSgetNodesWithTypePreorderDFS_getNodeWithTokenIndexgetOutermostAltNodesetTextsetTypetoTokenString

Field Detail

_greedyback to summary
private final boolean _greedy

Constructor Detail

OptionalBlockASTback to summary
public OptionalBlockAST(OptionalBlockAST node)
OptionalBlockASTback to summary
public OptionalBlockAST(int type, Token t, Token nongreedy)

Method Detail

dupNodeback to summary
public OptionalBlockAST dupNode()

Overrides org.antlr.v4.tool.ast.GrammarAST.dupNode.

Implements org.antlr.runtime.tree.Tree.dupNode.

Annotations
@Override
isGreedyback to summary
public boolean isGreedy()

Implements org.antlr.v4.tool.ast.QuantifierAST.isGreedy.

Annotations
@Override
visitback to summary
public Object visit(GrammarASTVisitor v)

Overrides org.antlr.v4.tool.ast.GrammarAST.visit.

Annotations
@Override