// Generated from QL.g4 by ANTLR 4.1 package antlr4; import ast.form.*; import ast.type.*; import ast.literals.*; import expr.conditional.*; import expr.operation.*; import expr.relational.*; import expr.unary.*; import expr.Expr; import expr.Ident; import org.antlr.v4.runtime.misc.NotNull; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; /** * This class provides an empty implementation of {@link QLVisitor}, * which can be extended to create a visitor which only needs to handle a subset * of the available methods. * * @param <T> The return type of the visit operation. Use {@link Void} for * operations with no return type. */ public class QLBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements QLVisitor<T> { /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitAndExpr(@NotNull QLParser.AndExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitIfelsestate(@NotNull QLParser.IfelsestateContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitMulExpr(@NotNull QLParser.MulExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitRelExpr(@NotNull QLParser.RelExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitOrExpr(@NotNull QLParser.OrExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitStatement(@NotNull QLParser.StatementContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitValuetype(@NotNull QLParser.ValuetypeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitPrimary(@NotNull QLParser.PrimaryContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitStatements(@NotNull QLParser.StatementsContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitIfstatement(@NotNull QLParser.IfstatementContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitAddExpr(@NotNull QLParser.AddExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitQuestion(@NotNull QLParser.QuestionContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitUnExpr(@NotNull QLParser.UnExprContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitForms(@NotNull QLParser.FormsContext ctx) { return visitChildren(ctx); } }