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() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit, visitChildren, visitErrorNode, visitTerminal
public T visitGraph(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 visitStmt_list(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 visitStmt(DotParser.StmtContext ctx)
DotParser.stmt()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitStmt
in interface DotVisitor<T>
ctx
- the parse treepublic T visitAttr_stmt(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 visitAttr_list(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 visitA_list(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 visitKey_value(DotParser.Key_valueContext ctx)
DotParser.key_value()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitKey_value
in interface DotVisitor<T>
ctx
- the parse treepublic T visitEdge_stmt(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 visitEdgeRHS(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_set(DotParser.Node_setContext ctx)
DotParser.node_set()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNode_set
in interface DotVisitor<T>
ctx
- the parse treepublic T visitEdgeop(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 visitNode_stmt(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 visitNode_id(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 visitPort(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 visitSubgraph(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 visitId(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 tree