Class DotBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,DotVisitor<T>
DotVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byDotParser.a_list().Visit a parse tree produced byDotParser.attr_list().Visit a parse tree produced byDotParser.attr_stmt().Visit a parse tree produced byDotParser.edge_stmt().Visit a parse tree produced byDotParser.edgeop().Visit a parse tree produced byDotParser.edgeRHS().Visit a parse tree produced byDotParser.graph().Visit a parse tree produced byDotParser.id_().Visit a parse tree produced byDotParser.node_id().Visit a parse tree produced byDotParser.node_stmt().Visit a parse tree produced byDotParser.port().Visit a parse tree produced byDotParser.stmt().Visit a parse tree produced byDotParser.stmt_list().Visit a parse tree produced byDotParser.subgraph().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
DotBaseVisitor
public DotBaseVisitor()
-
-
Method Details
-
visitGraph
Visit a parse tree produced byDotParser.graph().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGraphin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStmt_list
Visit a parse tree produced byDotParser.stmt_list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStmt_listin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStmt
Visit a parse tree produced byDotParser.stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStmtin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttr_stmt
Visit a parse tree produced byDotParser.attr_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttr_stmtin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttr_list
Visit a parse tree produced byDotParser.attr_list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAttr_listin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitA_list
Visit a parse tree produced byDotParser.a_list().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitA_listin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEdge_stmt
Visit a parse tree produced byDotParser.edge_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEdge_stmtin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEdgeRHS
Visit a parse tree produced byDotParser.edgeRHS().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEdgeRHSin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEdgeop
Visit a parse tree produced byDotParser.edgeop().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEdgeopin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNode_stmt
Visit a parse tree produced byDotParser.node_stmt().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNode_stmtin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNode_id
Visit a parse tree produced byDotParser.node_id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNode_idin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPort
Visit a parse tree produced byDotParser.port().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPortin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubgraph
Visit a parse tree produced byDotParser.subgraph().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubgraphin interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId_
Visit a parse tree produced byDotParser.id_().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitId_in interfaceDotVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-