Class SqlScriptVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.hibernate.grammars.importsql.SqlScriptParserBaseVisitor<Object>
-
- org.hibernate.tool.schema.internal.script.SqlScriptVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>
,SqlScriptParserVisitor<Object>
public class SqlScriptVisitor extends SqlScriptParserBaseVisitor<Object>
-
-
Constructor Summary
Constructors Constructor Description SqlScriptVisitor(Dialect dialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
visitScript(SqlScriptParser.ScriptContext ctx)
Visit a parse tree produced bySqlScriptParser.script()
.-
Methods inherited from class org.hibernate.grammars.importsql.SqlScriptParserBaseVisitor
visitCommand, visitCommandBlock
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
SqlScriptVisitor
public SqlScriptVisitor(Dialect dialect)
-
-
Method Detail
-
visitScript
public List<String> visitScript(SqlScriptParser.ScriptContext ctx)
Description copied from class:SqlScriptParserBaseVisitor
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:
visitScript
in interfaceSqlScriptParserVisitor<Object>
- Overrides:
visitScript
in classSqlScriptParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-