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 voidenterCommand(SqlScriptParser.CommandContext ctx)Enter a parse tree produced bySqlScriptParser.command().voidenterCommandBlock(SqlScriptParser.CommandBlockContext ctx)Enter a parse tree produced bySqlScriptParser.commandBlock().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidenterScript(SqlScriptParser.ScriptContext ctx)Enter a parse tree produced bySqlScriptParser.script().voidexitCommand(SqlScriptParser.CommandContext ctx)Exit a parse tree produced bySqlScriptParser.command().voidexitCommandBlock(SqlScriptParser.CommandBlockContext ctx)Exit a parse tree produced bySqlScriptParser.commandBlock().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)voidexitScript(SqlScriptParser.ScriptContext ctx)Exit a parse tree produced bySqlScriptParser.script().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)voidvisitTerminal(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:
enterScriptin 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:
exitScriptin 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:
enterCommandBlockin 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:
exitCommandBlockin 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:
enterCommandin 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:
exitCommandin interfaceSqlScriptParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-