com.paypal.digraph.parser.antlr
Class DOTBaseListener

java.lang.Object
  extended by com.paypal.digraph.parser.antlr.DOTBaseListener
All Implemented Interfaces:
DOTListener, org.antlr.v4.runtime.tree.ParseTreeListener

public class DOTBaseListener
extends Object
implements DOTListener

This class provides an empty implementation of DOTListener, which can be extended to create a listener which only needs to handle a subset of the available methods.


Constructor Summary
DOTBaseListener()
           
 
Method Summary
 void enterA_list(DOTParser.A_listContext ctx)
          Enter a parse tree produced by DOTParser.a_list().
 void enterAttr_list(DOTParser.Attr_listContext ctx)
          Enter a parse tree produced by DOTParser.attr_list().
 void enterAttr_stmt(DOTParser.Attr_stmtContext ctx)
          Enter a parse tree produced by DOTParser.attr_stmt().
 void enterEdge_stmt(DOTParser.Edge_stmtContext ctx)
          Enter a parse tree produced by DOTParser.edge_stmt().
 void enterEdgeop(DOTParser.EdgeopContext ctx)
          Enter a parse tree produced by DOTParser.edgeop().
 void enterEdgeRHS(DOTParser.EdgeRHSContext ctx)
          Enter a parse tree produced by DOTParser.edgeRHS().
 void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
          
 void enterGraph(DOTParser.GraphContext ctx)
          Enter a parse tree produced by DOTParser.graph().
 void enterId(DOTParser.IdContext ctx)
          Enter a parse tree produced by DOTParser.id().
 void enterNode_id(DOTParser.Node_idContext ctx)
          Enter a parse tree produced by DOTParser.node_id().
 void enterNode_stmt(DOTParser.Node_stmtContext ctx)
          Enter a parse tree produced by DOTParser.node_stmt().
 void enterPort(DOTParser.PortContext ctx)
          Enter a parse tree produced by DOTParser.port().
 void enterStmt_list(DOTParser.Stmt_listContext ctx)
          Enter a parse tree produced by DOTParser.stmt_list().
 void enterStmt(DOTParser.StmtContext ctx)
          Enter a parse tree produced by DOTParser.stmt().
 void enterSubgraph(DOTParser.SubgraphContext ctx)
          Enter a parse tree produced by DOTParser.subgraph().
 void exitA_list(DOTParser.A_listContext ctx)
          Exit a parse tree produced by DOTParser.a_list().
 void exitAttr_list(DOTParser.Attr_listContext ctx)
          Exit a parse tree produced by DOTParser.attr_list().
 void exitAttr_stmt(DOTParser.Attr_stmtContext ctx)
          Exit a parse tree produced by DOTParser.attr_stmt().
 void exitEdge_stmt(DOTParser.Edge_stmtContext ctx)
          Exit a parse tree produced by DOTParser.edge_stmt().
 void exitEdgeop(DOTParser.EdgeopContext ctx)
          Exit a parse tree produced by DOTParser.edgeop().
 void exitEdgeRHS(DOTParser.EdgeRHSContext ctx)
          Exit a parse tree produced by DOTParser.edgeRHS().
 void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
          
 void exitGraph(DOTParser.GraphContext ctx)
          Exit a parse tree produced by DOTParser.graph().
 void exitId(DOTParser.IdContext ctx)
          Exit a parse tree produced by DOTParser.id().
 void exitNode_id(DOTParser.Node_idContext ctx)
          Exit a parse tree produced by DOTParser.node_id().
 void exitNode_stmt(DOTParser.Node_stmtContext ctx)
          Exit a parse tree produced by DOTParser.node_stmt().
 void exitPort(DOTParser.PortContext ctx)
          Exit a parse tree produced by DOTParser.port().
 void exitStmt_list(DOTParser.Stmt_listContext ctx)
          Exit a parse tree produced by DOTParser.stmt_list().
 void exitStmt(DOTParser.StmtContext ctx)
          Exit a parse tree produced by DOTParser.stmt().
 void exitSubgraph(DOTParser.SubgraphContext ctx)
          Exit a parse tree produced by DOTParser.subgraph().
 void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
          
 void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOTBaseListener

public DOTBaseListener()
Method Detail

enterAttr_stmt

public void enterAttr_stmt(@NotNull
                           DOTParser.Attr_stmtContext ctx)
Enter a parse tree produced by DOTParser.attr_stmt().

The default implementation does nothing.

Specified by:
enterAttr_stmt in interface DOTListener
Parameters:
ctx - the parse tree

exitAttr_stmt

public void exitAttr_stmt(@NotNull
                          DOTParser.Attr_stmtContext ctx)
Exit a parse tree produced by DOTParser.attr_stmt().

The default implementation does nothing.

Specified by:
exitAttr_stmt in interface DOTListener
Parameters:
ctx - the parse tree

enterPort

public void enterPort(@NotNull
                      DOTParser.PortContext ctx)
Enter a parse tree produced by DOTParser.port().

The default implementation does nothing.

Specified by:
enterPort in interface DOTListener
Parameters:
ctx - the parse tree

exitPort

public void exitPort(@NotNull
                     DOTParser.PortContext ctx)
Exit a parse tree produced by DOTParser.port().

The default implementation does nothing.

Specified by:
exitPort in interface DOTListener
Parameters:
ctx - the parse tree

enterEdgeop

public void enterEdgeop(@NotNull
                        DOTParser.EdgeopContext ctx)
Enter a parse tree produced by DOTParser.edgeop().

The default implementation does nothing.

Specified by:
enterEdgeop in interface DOTListener
Parameters:
ctx - the parse tree

exitEdgeop

public void exitEdgeop(@NotNull
                       DOTParser.EdgeopContext ctx)
Exit a parse tree produced by DOTParser.edgeop().

The default implementation does nothing.

Specified by:
exitEdgeop in interface DOTListener
Parameters:
ctx - the parse tree

enterStmt_list

public void enterStmt_list(@NotNull
                           DOTParser.Stmt_listContext ctx)
Enter a parse tree produced by DOTParser.stmt_list().

The default implementation does nothing.

Specified by:
enterStmt_list in interface DOTListener
Parameters:
ctx - the parse tree

exitStmt_list

public void exitStmt_list(@NotNull
                          DOTParser.Stmt_listContext ctx)
Exit a parse tree produced by DOTParser.stmt_list().

The default implementation does nothing.

Specified by:
exitStmt_list in interface DOTListener
Parameters:
ctx - the parse tree

enterStmt

public void enterStmt(@NotNull
                      DOTParser.StmtContext ctx)
Enter a parse tree produced by DOTParser.stmt().

The default implementation does nothing.

Specified by:
enterStmt in interface DOTListener
Parameters:
ctx - the parse tree

exitStmt

public void exitStmt(@NotNull
                     DOTParser.StmtContext ctx)
Exit a parse tree produced by DOTParser.stmt().

The default implementation does nothing.

Specified by:
exitStmt in interface DOTListener
Parameters:
ctx - the parse tree

enterEdgeRHS

public void enterEdgeRHS(@NotNull
                         DOTParser.EdgeRHSContext ctx)
Enter a parse tree produced by DOTParser.edgeRHS().

The default implementation does nothing.

Specified by:
enterEdgeRHS in interface DOTListener
Parameters:
ctx - the parse tree

exitEdgeRHS

public void exitEdgeRHS(@NotNull
                        DOTParser.EdgeRHSContext ctx)
Exit a parse tree produced by DOTParser.edgeRHS().

The default implementation does nothing.

Specified by:
exitEdgeRHS in interface DOTListener
Parameters:
ctx - the parse tree

enterNode_id

public void enterNode_id(@NotNull
                         DOTParser.Node_idContext ctx)
Enter a parse tree produced by DOTParser.node_id().

The default implementation does nothing.

Specified by:
enterNode_id in interface DOTListener
Parameters:
ctx - the parse tree

exitNode_id

public void exitNode_id(@NotNull
                        DOTParser.Node_idContext ctx)
Exit a parse tree produced by DOTParser.node_id().

The default implementation does nothing.

Specified by:
exitNode_id in interface DOTListener
Parameters:
ctx - the parse tree

enterId

public void enterId(@NotNull
                    DOTParser.IdContext ctx)
Enter a parse tree produced by DOTParser.id().

The default implementation does nothing.

Specified by:
enterId in interface DOTListener
Parameters:
ctx - the parse tree

exitId

public void exitId(@NotNull
                   DOTParser.IdContext ctx)
Exit a parse tree produced by DOTParser.id().

The default implementation does nothing.

Specified by:
exitId in interface DOTListener
Parameters:
ctx - the parse tree

enterSubgraph

public void enterSubgraph(@NotNull
                          DOTParser.SubgraphContext ctx)
Enter a parse tree produced by DOTParser.subgraph().

The default implementation does nothing.

Specified by:
enterSubgraph in interface DOTListener
Parameters:
ctx - the parse tree

exitSubgraph

public void exitSubgraph(@NotNull
                         DOTParser.SubgraphContext ctx)
Exit a parse tree produced by DOTParser.subgraph().

The default implementation does nothing.

Specified by:
exitSubgraph in interface DOTListener
Parameters:
ctx - the parse tree

enterGraph

public void enterGraph(@NotNull
                       DOTParser.GraphContext ctx)
Enter a parse tree produced by DOTParser.graph().

The default implementation does nothing.

Specified by:
enterGraph in interface DOTListener
Parameters:
ctx - the parse tree

exitGraph

public void exitGraph(@NotNull
                      DOTParser.GraphContext ctx)
Exit a parse tree produced by DOTParser.graph().

The default implementation does nothing.

Specified by:
exitGraph in interface DOTListener
Parameters:
ctx - the parse tree

enterA_list

public void enterA_list(@NotNull
                        DOTParser.A_listContext ctx)
Enter a parse tree produced by DOTParser.a_list().

The default implementation does nothing.

Specified by:
enterA_list in interface DOTListener
Parameters:
ctx - the parse tree

exitA_list

public void exitA_list(@NotNull
                       DOTParser.A_listContext ctx)
Exit a parse tree produced by DOTParser.a_list().

The default implementation does nothing.

Specified by:
exitA_list in interface DOTListener
Parameters:
ctx - the parse tree

enterAttr_list

public void enterAttr_list(@NotNull
                           DOTParser.Attr_listContext ctx)
Enter a parse tree produced by DOTParser.attr_list().

The default implementation does nothing.

Specified by:
enterAttr_list in interface DOTListener
Parameters:
ctx - the parse tree

exitAttr_list

public void exitAttr_list(@NotNull
                          DOTParser.Attr_listContext ctx)
Exit a parse tree produced by DOTParser.attr_list().

The default implementation does nothing.

Specified by:
exitAttr_list in interface DOTListener
Parameters:
ctx - the parse tree

enterEdge_stmt

public void enterEdge_stmt(@NotNull
                           DOTParser.Edge_stmtContext ctx)
Enter a parse tree produced by DOTParser.edge_stmt().

The default implementation does nothing.

Specified by:
enterEdge_stmt in interface DOTListener
Parameters:
ctx - the parse tree

exitEdge_stmt

public void exitEdge_stmt(@NotNull
                          DOTParser.Edge_stmtContext ctx)
Exit a parse tree produced by DOTParser.edge_stmt().

The default implementation does nothing.

Specified by:
exitEdge_stmt in interface DOTListener
Parameters:
ctx - the parse tree

enterNode_stmt

public void enterNode_stmt(@NotNull
                           DOTParser.Node_stmtContext ctx)
Enter a parse tree produced by DOTParser.node_stmt().

The default implementation does nothing.

Specified by:
enterNode_stmt in interface DOTListener
Parameters:
ctx - the parse tree

exitNode_stmt

public void exitNode_stmt(@NotNull
                          DOTParser.Node_stmtContext ctx)
Exit a parse tree produced by DOTParser.node_stmt().

The default implementation does nothing.

Specified by:
exitNode_stmt in interface DOTListener
Parameters:
ctx - the parse tree

enterEveryRule

public void enterEveryRule(@NotNull
                           org.antlr.v4.runtime.ParserRuleContext ctx)

The default implementation does nothing.

Specified by:
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener

exitEveryRule

public void exitEveryRule(@NotNull
                          org.antlr.v4.runtime.ParserRuleContext ctx)

The default implementation does nothing.

Specified by:
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListener

visitTerminal

public void visitTerminal(@NotNull
                          org.antlr.v4.runtime.tree.TerminalNode node)

The default implementation does nothing.

Specified by:
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListener

visitErrorNode

public void visitErrorNode(@NotNull
                           org.antlr.v4.runtime.tree.ErrorNode node)

The default implementation does nothing.

Specified by:
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListener


Copyright © 2017. All rights reserved.