| // Generated from BindingExpression.g4 by ANTLR 4.5.3 |
| package android.databinding.parser; |
| import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; |
| |
| /** |
| * This class provides an empty implementation of {@link BindingExpressionVisitor}, |
| * 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 BindingExpressionBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements BindingExpressionVisitor<T> { |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitRootExpr(BindingExpressionParser.RootExprContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitRootLambda(BindingExpressionParser.RootLambdaContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitDefaults(BindingExpressionParser.DefaultsContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitConstantValue(BindingExpressionParser.ConstantValueContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitLambdaExpression(BindingExpressionParser.LambdaExpressionContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitSingleLambdaParameter(BindingExpressionParser.SingleLambdaParameterContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitLambdaParameterList(BindingExpressionParser.LambdaParameterListContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitInferredFormalParameterList(BindingExpressionParser.InferredFormalParameterListContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitCastOp(BindingExpressionParser.CastOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitComparisonOp(BindingExpressionParser.ComparisonOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitUnaryOp(BindingExpressionParser.UnaryOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitBracketOp(BindingExpressionParser.BracketOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitResource(BindingExpressionParser.ResourceContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitQuestionQuestionOp(BindingExpressionParser.QuestionQuestionOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitGrouping(BindingExpressionParser.GroupingContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitMethodInvocation(BindingExpressionParser.MethodInvocationContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitBitShiftOp(BindingExpressionParser.BitShiftOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitAndOrOp(BindingExpressionParser.AndOrOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitTernaryOp(BindingExpressionParser.TernaryOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitPrimary(BindingExpressionParser.PrimaryContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitDotOp(BindingExpressionParser.DotOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitMathOp(BindingExpressionParser.MathOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitInstanceOfOp(BindingExpressionParser.InstanceOfOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitBinaryOp(BindingExpressionParser.BinaryOpContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitFunctionRef(BindingExpressionParser.FunctionRefContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitClassExtraction(BindingExpressionParser.ClassExtractionContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitExpressionList(BindingExpressionParser.ExpressionListContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitLiteral(BindingExpressionParser.LiteralContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitIdentifier(BindingExpressionParser.IdentifierContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitJavaLiteral(BindingExpressionParser.JavaLiteralContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitStringLiteral(BindingExpressionParser.StringLiteralContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitExplicitGenericInvocation(BindingExpressionParser.ExplicitGenericInvocationContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitTypeArguments(BindingExpressionParser.TypeArgumentsContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitType(BindingExpressionParser.TypeContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitExplicitGenericInvocationSuffix(BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitArguments(BindingExpressionParser.ArgumentsContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitClassOrInterfaceType(BindingExpressionParser.ClassOrInterfaceTypeContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitPrimitiveType(BindingExpressionParser.PrimitiveTypeContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitResources(BindingExpressionParser.ResourcesContext ctx) { return visitChildren(ctx); } |
| /** |
| * {@inheritDoc} |
| * |
| * <p>The default implementation returns the result of calling |
| * {@link #visitChildren} on {@code ctx}.</p> |
| */ |
| @Override public T visitResourceParameters(BindingExpressionParser.ResourceParametersContext ctx) { return visitChildren(ctx); } |
| } |