Class DotBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
ru.kode.way.gradle.DotBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>, DotVisitor<T>

public class DotBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements DotVisitor<T>
This class provides an empty implementation of DotVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • DotBaseVisitor

      public DotBaseVisitor()
  • Method Details

    • visitGraph

      public T visitGraph(DotParser.GraphContext ctx)
      Visit a parse tree produced by DotParser.graph().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGraph in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStmt_list

      public T visitStmt_list(DotParser.Stmt_listContext ctx)
      Visit a parse tree produced by DotParser.stmt_list().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitStmt_list in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStmt

      public T visitStmt(DotParser.StmtContext ctx)
      Visit a parse tree produced by DotParser.stmt().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitStmt in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAttr_stmt

      public T visitAttr_stmt(DotParser.Attr_stmtContext ctx)
      Visit a parse tree produced by DotParser.attr_stmt().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAttr_stmt in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAttr_list

      public T visitAttr_list(DotParser.Attr_listContext ctx)
      Visit a parse tree produced by DotParser.attr_list().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAttr_list in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitA_list

      public T visitA_list(DotParser.A_listContext ctx)
      Visit a parse tree produced by DotParser.a_list().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitA_list in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitEdge_stmt

      public T visitEdge_stmt(DotParser.Edge_stmtContext ctx)
      Visit a parse tree produced by DotParser.edge_stmt().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEdge_stmt in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitEdgeRHS

      public T visitEdgeRHS(DotParser.EdgeRHSContext ctx)
      Visit a parse tree produced by DotParser.edgeRHS().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEdgeRHS in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitEdgeop

      public T visitEdgeop(DotParser.EdgeopContext ctx)
      Visit a parse tree produced by DotParser.edgeop().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEdgeop in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNode_stmt

      public T visitNode_stmt(DotParser.Node_stmtContext ctx)
      Visit a parse tree produced by DotParser.node_stmt().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitNode_stmt in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNode_id

      public T visitNode_id(DotParser.Node_idContext ctx)
      Visit a parse tree produced by DotParser.node_id().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitNode_id in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPort

      public T visitPort(DotParser.PortContext ctx)
      Visit a parse tree produced by DotParser.port().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPort in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSubgraph

      public T visitSubgraph(DotParser.SubgraphContext ctx)
      Visit a parse tree produced by DotParser.subgraph().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSubgraph in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitId_

      public T visitId_(DotParser.Id_Context ctx)
      Visit a parse tree produced by DotParser.id_().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitId_ in interface DotVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result