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
public class SqlScriptParserBaseListener extends Object implements SqlScriptParserListener
This class provides an empty implementation ofSqlScriptParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SqlScriptParserBaseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterCommand(SqlScriptParser.CommandContext ctx)
Enter a parse tree produced bySqlScriptParser.command()
.void
enterCommandBlock(SqlScriptParser.CommandBlockContext ctx)
Enter a parse tree produced bySqlScriptParser.commandBlock()
.void
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
enterScript(SqlScriptParser.ScriptContext ctx)
Enter a parse tree produced bySqlScriptParser.script()
.void
exitCommand(SqlScriptParser.CommandContext ctx)
Exit a parse tree produced bySqlScriptParser.command()
.void
exitCommandBlock(SqlScriptParser.CommandBlockContext ctx)
Exit a parse tree produced bySqlScriptParser.commandBlock()
.void
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
void
exitScript(SqlScriptParser.ScriptContext ctx)
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)
-
-
-
Method Detail
-
enterScript
public void enterScript(SqlScriptParser.ScriptContext ctx)
Enter a parse tree produced bySqlScriptParser.script()
.The default implementation does nothing.
- Specified by:
enterScript
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitScript
public void exitScript(SqlScriptParser.ScriptContext ctx)
Exit a parse tree produced bySqlScriptParser.script()
.The default implementation does nothing.
- Specified by:
exitScript
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
enterCommandBlock
public void enterCommandBlock(SqlScriptParser.CommandBlockContext ctx)
Enter a parse tree produced bySqlScriptParser.commandBlock()
.The default implementation does nothing.
- Specified by:
enterCommandBlock
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitCommandBlock
public void exitCommandBlock(SqlScriptParser.CommandBlockContext ctx)
Exit a parse tree produced bySqlScriptParser.commandBlock()
.The default implementation does nothing.
- Specified by:
exitCommandBlock
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
enterCommand
public void enterCommand(SqlScriptParser.CommandContext ctx)
Enter a parse tree produced bySqlScriptParser.command()
.The default implementation does nothing.
- Specified by:
enterCommand
in interfaceSqlScriptParserListener
- Parameters:
ctx
- the parse tree
-
exitCommand
public void exitCommand(SqlScriptParser.CommandContext ctx)
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
-
-