Package org.hibernate.grammars.importsql
Class SqlScriptParserBaseListener
java.lang.Object
org.hibernate.grammars.importsql.SqlScriptParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
,SqlScriptParserListener
This class provides an empty implementation of
SqlScriptParserListener
,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced bySqlScriptParser.command()
.void
Enter a parse tree produced bySqlScriptParser.commandBlock()
.void
enterEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Enter a parse tree produced bySqlScriptParser.script()
.void
Exit a parse tree produced bySqlScriptParser.command()
.void
Exit a parse tree produced bySqlScriptParser.commandBlock()
.void
exitEveryRule
(org.antlr.v4.runtime.ParserRuleContext ctx) void
Exit a parse tree produced bySqlScriptParser.script()
.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode node) void
visitTerminal
(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
SqlScriptParserBaseListener
public SqlScriptParserBaseListener()
-
-
Method Details
-
enterScript
Enter a parse tree produced bySqlScriptParser.script()
.The default implementation does nothing.
- Specified by:
enterScript
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitScript
Exit a parse tree produced bySqlScriptParser.script()
.The default implementation does nothing.
- Specified by:
exitScript
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
enterCommandBlock
Enter a parse tree produced bySqlScriptParser.commandBlock()
.The default implementation does nothing.
- Specified by:
enterCommandBlock
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitCommandBlock
Exit a parse tree produced bySqlScriptParser.commandBlock()
.The default implementation does nothing.
- Specified by:
exitCommandBlock
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
enterCommand
Enter a parse tree produced bySqlScriptParser.command()
.The default implementation does nothing.
- Specified by:
enterCommand
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitCommand
Exit a parse tree produced bySqlScriptParser.command()
.The default implementation does nothing.
- Specified by:
exitCommand
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-