Package org.hibernate.grammars.importsql
Class SqlScriptParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.hibernate.grammars.importsql.SqlScriptParserBaseVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,SqlScriptParserVisitor<T>
- Direct Known Subclasses:
SqlScriptVisitor
public class SqlScriptParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SqlScriptParserVisitor<T>
This class provides an empty implementation ofSqlScriptParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description SqlScriptParserBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TvisitCommand(SqlScriptParser.CommandContext ctx)Visit a parse tree produced bySqlScriptParser.command().TvisitCommandBlock(SqlScriptParser.CommandBlockContext ctx)Visit a parse tree produced bySqlScriptParser.commandBlock().TvisitScript(SqlScriptParser.ScriptContext ctx)Visit a parse tree produced bySqlScriptParser.script().-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitScript
public T visitScript(SqlScriptParser.ScriptContext ctx)
Visit a parse tree produced bySqlScriptParser.script().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitScriptin interfaceSqlScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommandBlock
public T visitCommandBlock(SqlScriptParser.CommandBlockContext ctx)
Visit a parse tree produced bySqlScriptParser.commandBlock().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommandBlockin interfaceSqlScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCommand
public T visitCommand(SqlScriptParser.CommandContext ctx)
Visit a parse tree produced bySqlScriptParser.command().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCommandin interfaceSqlScriptParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-