// Generated from QL.g4 by ANTLR 4.2 package net.iplantevin.ql.antlr; 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/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitIfElse(@NotNull QLParser.IfElseContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitBlock(@NotNull QLParser.BlockContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitIntType(@NotNull QLParser.IntTypeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitUnary(@NotNull QLParser.UnaryContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitEquality(@NotNull QLParser.EqualityContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitMultiplication(@NotNull QLParser.MultiplicationContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitIf(@NotNull QLParser.IfContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitFalse(@NotNull QLParser.FalseContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitBlockStat(@NotNull QLParser.BlockStatContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitLogicalOr(@NotNull QLParser.LogicalOrContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitBoolean(@NotNull QLParser.BooleanContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitQuestion(@NotNull QLParser.QuestionContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitStrType(@NotNull QLParser.StrTypeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitForms(@NotNull QLParser.FormsContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitParantheses(@NotNull QLParser.ParanthesesContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitLogicalAnd(@NotNull QLParser.LogicalAndContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitForm(@NotNull QLParser.FormContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitInteger(@NotNull QLParser.IntegerContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitTrue(@NotNull QLParser.TrueContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitAddition(@NotNull QLParser.AdditionContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitBoolType(@NotNull QLParser.BoolTypeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitString(@NotNull QLParser.StringContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitRelational(@NotNull QLParser.RelationalContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitComputation(@NotNull QLParser.ComputationContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} * <p/> * <p>The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}.</p> */ @Override public T visitIdentifier(@NotNull QLParser.IdentifierContext ctx) { return visitChildren(ctx); } }