All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.grammars.importsql.SqlScriptParserBaseVisitor Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha2
Show newest version

/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.grammars.importsql;

import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;

/**
 * This class provides an empty implementation of {@link SqlScriptParserVisitor},
 * which can be extended to create a visitor which only needs to handle a subset
 * of the available methods.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public class SqlScriptParserBaseVisitor extends AbstractParseTreeVisitor implements SqlScriptParserVisitor {
	/**
	 * {@inheritDoc}
	 *
	 * 

The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitScript(SqlScriptParser.ScriptContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * *

The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitCommandBlock(SqlScriptParser.CommandBlockContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * *

The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.

*/ @Override public T visitCommand(SqlScriptParser.CommandContext ctx) { return visitChildren(ctx); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy