T
- The return type of the visit operation. Use Void
for
operations with no return type.public class DOTBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements DOTVisitor<T>
DOTVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.Constructor and Description |
---|
DOTBaseVisitor() |
visit, visitChildren, visitErrorNode, visitTerminal
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visitChildren, visitErrorNode, visitTerminal
public T visitPort(@NotNull DOTParser.PortContext ctx)
DOTParser.port()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitPort
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitAttr_stmt(@NotNull DOTParser.Attr_stmtContext ctx)
DOTParser.attr_stmt()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitAttr_stmt
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitEdgeop(@NotNull DOTParser.EdgeopContext ctx)
DOTParser.edgeop()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitEdgeop
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitStmt_list(@NotNull DOTParser.Stmt_listContext ctx)
DOTParser.stmt_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitStmt_list
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitEdgeRHS(@NotNull DOTParser.EdgeRHSContext ctx)
DOTParser.edgeRHS()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitEdgeRHS
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitNode_id(@NotNull DOTParser.Node_idContext ctx)
DOTParser.node_id()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitNode_id
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitId(@NotNull DOTParser.IdContext ctx)
DOTParser.id()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitId
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitSubgraph(@NotNull DOTParser.SubgraphContext ctx)
DOTParser.subgraph()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitSubgraph
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitAssignment(@NotNull DOTParser.AssignmentContext ctx)
DOTParser#assignment
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitAssignment
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitGraph(@NotNull DOTParser.GraphContext ctx)
DOTParser.graph()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitGraph
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitA_list(@NotNull DOTParser.A_listContext ctx)
DOTParser.a_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitA_list
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitAttr_list(@NotNull DOTParser.Attr_listContext ctx)
DOTParser.attr_list()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitAttr_list
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitNodeStatement(@NotNull DOTParser.NodeStatementContext ctx)
DOTParser#nodeStatement
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitNodeStatement
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitEdge_stmt(@NotNull DOTParser.Edge_stmtContext ctx)
DOTParser.edge_stmt()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitEdge_stmt
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitNode_stmt(@NotNull DOTParser.Node_stmtContext ctx)
DOTParser.node_stmt()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitNode_stmt
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitEdgeStatement(@NotNull DOTParser.EdgeStatementContext ctx)
DOTParser#edgeStatement
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitEdgeStatement
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitAttributStatement(@NotNull DOTParser.AttributStatementContext ctx)
DOTParser#attributStatement
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitAttributStatement
in interface DOTVisitor<T>
ctx
- the parse treepublic T visitSubgraphStatement(@NotNull DOTParser.SubgraphStatementContext ctx)
DOTParser#subgraphStatement
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.visitSubgraphStatement
in interface DOTVisitor<T>
ctx
- the parse tree