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. UseVoid
for 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 of
SqlScriptParserVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced bySqlScriptParser.command()
.Visit a parse tree produced bySqlScriptParser.commandBlock()
.Visit a parse tree produced bySqlScriptParser.script()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
SqlScriptParserBaseVisitor
public SqlScriptParserBaseVisitor()
-
-
Method Details
-
visitScript
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<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommandBlock
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:
visitCommandBlock
in interfaceSqlScriptParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCommand
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:
visitCommand
in interfaceSqlScriptParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-