• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated from BindingExpression.g4 by ANTLR 4.5.3
2 package android.databinding.parser;
3 import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;
4 
5 /**
6  * This class provides an empty implementation of {@link BindingExpressionVisitor},
7  * which can be extended to create a visitor which only needs to handle a subset
8  * of the available methods.
9  *
10  * @param <T> The return type of the visit operation. Use {@link Void} for
11  * operations with no return type.
12  */
13 public class BindingExpressionBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements BindingExpressionVisitor<T> {
14 	/**
15 	 * {@inheritDoc}
16 	 *
17 	 * <p>The default implementation returns the result of calling
18 	 * {@link #visitChildren} on {@code ctx}.</p>
19 	 */
visitRootExpr(BindingExpressionParser.RootExprContext ctx)20 	@Override public T visitRootExpr(BindingExpressionParser.RootExprContext ctx) { return visitChildren(ctx); }
21 	/**
22 	 * {@inheritDoc}
23 	 *
24 	 * <p>The default implementation returns the result of calling
25 	 * {@link #visitChildren} on {@code ctx}.</p>
26 	 */
visitRootLambda(BindingExpressionParser.RootLambdaContext ctx)27 	@Override public T visitRootLambda(BindingExpressionParser.RootLambdaContext ctx) { return visitChildren(ctx); }
28 	/**
29 	 * {@inheritDoc}
30 	 *
31 	 * <p>The default implementation returns the result of calling
32 	 * {@link #visitChildren} on {@code ctx}.</p>
33 	 */
visitDefaults(BindingExpressionParser.DefaultsContext ctx)34 	@Override public T visitDefaults(BindingExpressionParser.DefaultsContext ctx) { return visitChildren(ctx); }
35 	/**
36 	 * {@inheritDoc}
37 	 *
38 	 * <p>The default implementation returns the result of calling
39 	 * {@link #visitChildren} on {@code ctx}.</p>
40 	 */
visitConstantValue(BindingExpressionParser.ConstantValueContext ctx)41 	@Override public T visitConstantValue(BindingExpressionParser.ConstantValueContext ctx) { return visitChildren(ctx); }
42 	/**
43 	 * {@inheritDoc}
44 	 *
45 	 * <p>The default implementation returns the result of calling
46 	 * {@link #visitChildren} on {@code ctx}.</p>
47 	 */
visitLambdaExpression(BindingExpressionParser.LambdaExpressionContext ctx)48 	@Override public T visitLambdaExpression(BindingExpressionParser.LambdaExpressionContext ctx) { return visitChildren(ctx); }
49 	/**
50 	 * {@inheritDoc}
51 	 *
52 	 * <p>The default implementation returns the result of calling
53 	 * {@link #visitChildren} on {@code ctx}.</p>
54 	 */
visitSingleLambdaParameter(BindingExpressionParser.SingleLambdaParameterContext ctx)55 	@Override public T visitSingleLambdaParameter(BindingExpressionParser.SingleLambdaParameterContext ctx) { return visitChildren(ctx); }
56 	/**
57 	 * {@inheritDoc}
58 	 *
59 	 * <p>The default implementation returns the result of calling
60 	 * {@link #visitChildren} on {@code ctx}.</p>
61 	 */
visitLambdaParameterList(BindingExpressionParser.LambdaParameterListContext ctx)62 	@Override public T visitLambdaParameterList(BindingExpressionParser.LambdaParameterListContext ctx) { return visitChildren(ctx); }
63 	/**
64 	 * {@inheritDoc}
65 	 *
66 	 * <p>The default implementation returns the result of calling
67 	 * {@link #visitChildren} on {@code ctx}.</p>
68 	 */
visitInferredFormalParameterList(BindingExpressionParser.InferredFormalParameterListContext ctx)69 	@Override public T visitInferredFormalParameterList(BindingExpressionParser.InferredFormalParameterListContext ctx) { return visitChildren(ctx); }
70 	/**
71 	 * {@inheritDoc}
72 	 *
73 	 * <p>The default implementation returns the result of calling
74 	 * {@link #visitChildren} on {@code ctx}.</p>
75 	 */
visitCastOp(BindingExpressionParser.CastOpContext ctx)76 	@Override public T visitCastOp(BindingExpressionParser.CastOpContext ctx) { return visitChildren(ctx); }
77 	/**
78 	 * {@inheritDoc}
79 	 *
80 	 * <p>The default implementation returns the result of calling
81 	 * {@link #visitChildren} on {@code ctx}.</p>
82 	 */
visitComparisonOp(BindingExpressionParser.ComparisonOpContext ctx)83 	@Override public T visitComparisonOp(BindingExpressionParser.ComparisonOpContext ctx) { return visitChildren(ctx); }
84 	/**
85 	 * {@inheritDoc}
86 	 *
87 	 * <p>The default implementation returns the result of calling
88 	 * {@link #visitChildren} on {@code ctx}.</p>
89 	 */
visitUnaryOp(BindingExpressionParser.UnaryOpContext ctx)90 	@Override public T visitUnaryOp(BindingExpressionParser.UnaryOpContext ctx) { return visitChildren(ctx); }
91 	/**
92 	 * {@inheritDoc}
93 	 *
94 	 * <p>The default implementation returns the result of calling
95 	 * {@link #visitChildren} on {@code ctx}.</p>
96 	 */
visitBracketOp(BindingExpressionParser.BracketOpContext ctx)97 	@Override public T visitBracketOp(BindingExpressionParser.BracketOpContext ctx) { return visitChildren(ctx); }
98 	/**
99 	 * {@inheritDoc}
100 	 *
101 	 * <p>The default implementation returns the result of calling
102 	 * {@link #visitChildren} on {@code ctx}.</p>
103 	 */
visitResource(BindingExpressionParser.ResourceContext ctx)104 	@Override public T visitResource(BindingExpressionParser.ResourceContext ctx) { return visitChildren(ctx); }
105 	/**
106 	 * {@inheritDoc}
107 	 *
108 	 * <p>The default implementation returns the result of calling
109 	 * {@link #visitChildren} on {@code ctx}.</p>
110 	 */
visitQuestionQuestionOp(BindingExpressionParser.QuestionQuestionOpContext ctx)111 	@Override public T visitQuestionQuestionOp(BindingExpressionParser.QuestionQuestionOpContext ctx) { return visitChildren(ctx); }
112 	/**
113 	 * {@inheritDoc}
114 	 *
115 	 * <p>The default implementation returns the result of calling
116 	 * {@link #visitChildren} on {@code ctx}.</p>
117 	 */
visitGrouping(BindingExpressionParser.GroupingContext ctx)118 	@Override public T visitGrouping(BindingExpressionParser.GroupingContext ctx) { return visitChildren(ctx); }
119 	/**
120 	 * {@inheritDoc}
121 	 *
122 	 * <p>The default implementation returns the result of calling
123 	 * {@link #visitChildren} on {@code ctx}.</p>
124 	 */
visitMethodInvocation(BindingExpressionParser.MethodInvocationContext ctx)125 	@Override public T visitMethodInvocation(BindingExpressionParser.MethodInvocationContext ctx) { return visitChildren(ctx); }
126 	/**
127 	 * {@inheritDoc}
128 	 *
129 	 * <p>The default implementation returns the result of calling
130 	 * {@link #visitChildren} on {@code ctx}.</p>
131 	 */
visitBitShiftOp(BindingExpressionParser.BitShiftOpContext ctx)132 	@Override public T visitBitShiftOp(BindingExpressionParser.BitShiftOpContext ctx) { return visitChildren(ctx); }
133 	/**
134 	 * {@inheritDoc}
135 	 *
136 	 * <p>The default implementation returns the result of calling
137 	 * {@link #visitChildren} on {@code ctx}.</p>
138 	 */
visitAndOrOp(BindingExpressionParser.AndOrOpContext ctx)139 	@Override public T visitAndOrOp(BindingExpressionParser.AndOrOpContext ctx) { return visitChildren(ctx); }
140 	/**
141 	 * {@inheritDoc}
142 	 *
143 	 * <p>The default implementation returns the result of calling
144 	 * {@link #visitChildren} on {@code ctx}.</p>
145 	 */
visitTernaryOp(BindingExpressionParser.TernaryOpContext ctx)146 	@Override public T visitTernaryOp(BindingExpressionParser.TernaryOpContext ctx) { return visitChildren(ctx); }
147 	/**
148 	 * {@inheritDoc}
149 	 *
150 	 * <p>The default implementation returns the result of calling
151 	 * {@link #visitChildren} on {@code ctx}.</p>
152 	 */
visitPrimary(BindingExpressionParser.PrimaryContext ctx)153 	@Override public T visitPrimary(BindingExpressionParser.PrimaryContext ctx) { return visitChildren(ctx); }
154 	/**
155 	 * {@inheritDoc}
156 	 *
157 	 * <p>The default implementation returns the result of calling
158 	 * {@link #visitChildren} on {@code ctx}.</p>
159 	 */
visitDotOp(BindingExpressionParser.DotOpContext ctx)160 	@Override public T visitDotOp(BindingExpressionParser.DotOpContext ctx) { return visitChildren(ctx); }
161 	/**
162 	 * {@inheritDoc}
163 	 *
164 	 * <p>The default implementation returns the result of calling
165 	 * {@link #visitChildren} on {@code ctx}.</p>
166 	 */
visitMathOp(BindingExpressionParser.MathOpContext ctx)167 	@Override public T visitMathOp(BindingExpressionParser.MathOpContext ctx) { return visitChildren(ctx); }
168 	/**
169 	 * {@inheritDoc}
170 	 *
171 	 * <p>The default implementation returns the result of calling
172 	 * {@link #visitChildren} on {@code ctx}.</p>
173 	 */
visitInstanceOfOp(BindingExpressionParser.InstanceOfOpContext ctx)174 	@Override public T visitInstanceOfOp(BindingExpressionParser.InstanceOfOpContext ctx) { return visitChildren(ctx); }
175 	/**
176 	 * {@inheritDoc}
177 	 *
178 	 * <p>The default implementation returns the result of calling
179 	 * {@link #visitChildren} on {@code ctx}.</p>
180 	 */
visitBinaryOp(BindingExpressionParser.BinaryOpContext ctx)181 	@Override public T visitBinaryOp(BindingExpressionParser.BinaryOpContext ctx) { return visitChildren(ctx); }
182 	/**
183 	 * {@inheritDoc}
184 	 *
185 	 * <p>The default implementation returns the result of calling
186 	 * {@link #visitChildren} on {@code ctx}.</p>
187 	 */
visitFunctionRef(BindingExpressionParser.FunctionRefContext ctx)188 	@Override public T visitFunctionRef(BindingExpressionParser.FunctionRefContext ctx) { return visitChildren(ctx); }
189 	/**
190 	 * {@inheritDoc}
191 	 *
192 	 * <p>The default implementation returns the result of calling
193 	 * {@link #visitChildren} on {@code ctx}.</p>
194 	 */
visitClassExtraction(BindingExpressionParser.ClassExtractionContext ctx)195 	@Override public T visitClassExtraction(BindingExpressionParser.ClassExtractionContext ctx) { return visitChildren(ctx); }
196 	/**
197 	 * {@inheritDoc}
198 	 *
199 	 * <p>The default implementation returns the result of calling
200 	 * {@link #visitChildren} on {@code ctx}.</p>
201 	 */
visitExpressionList(BindingExpressionParser.ExpressionListContext ctx)202 	@Override public T visitExpressionList(BindingExpressionParser.ExpressionListContext ctx) { return visitChildren(ctx); }
203 	/**
204 	 * {@inheritDoc}
205 	 *
206 	 * <p>The default implementation returns the result of calling
207 	 * {@link #visitChildren} on {@code ctx}.</p>
208 	 */
visitLiteral(BindingExpressionParser.LiteralContext ctx)209 	@Override public T visitLiteral(BindingExpressionParser.LiteralContext ctx) { return visitChildren(ctx); }
210 	/**
211 	 * {@inheritDoc}
212 	 *
213 	 * <p>The default implementation returns the result of calling
214 	 * {@link #visitChildren} on {@code ctx}.</p>
215 	 */
visitIdentifier(BindingExpressionParser.IdentifierContext ctx)216 	@Override public T visitIdentifier(BindingExpressionParser.IdentifierContext ctx) { return visitChildren(ctx); }
217 	/**
218 	 * {@inheritDoc}
219 	 *
220 	 * <p>The default implementation returns the result of calling
221 	 * {@link #visitChildren} on {@code ctx}.</p>
222 	 */
visitJavaLiteral(BindingExpressionParser.JavaLiteralContext ctx)223 	@Override public T visitJavaLiteral(BindingExpressionParser.JavaLiteralContext ctx) { return visitChildren(ctx); }
224 	/**
225 	 * {@inheritDoc}
226 	 *
227 	 * <p>The default implementation returns the result of calling
228 	 * {@link #visitChildren} on {@code ctx}.</p>
229 	 */
visitStringLiteral(BindingExpressionParser.StringLiteralContext ctx)230 	@Override public T visitStringLiteral(BindingExpressionParser.StringLiteralContext ctx) { return visitChildren(ctx); }
231 	/**
232 	 * {@inheritDoc}
233 	 *
234 	 * <p>The default implementation returns the result of calling
235 	 * {@link #visitChildren} on {@code ctx}.</p>
236 	 */
visitExplicitGenericInvocation(BindingExpressionParser.ExplicitGenericInvocationContext ctx)237 	@Override public T visitExplicitGenericInvocation(BindingExpressionParser.ExplicitGenericInvocationContext ctx) { return visitChildren(ctx); }
238 	/**
239 	 * {@inheritDoc}
240 	 *
241 	 * <p>The default implementation returns the result of calling
242 	 * {@link #visitChildren} on {@code ctx}.</p>
243 	 */
visitTypeArguments(BindingExpressionParser.TypeArgumentsContext ctx)244 	@Override public T visitTypeArguments(BindingExpressionParser.TypeArgumentsContext ctx) { return visitChildren(ctx); }
245 	/**
246 	 * {@inheritDoc}
247 	 *
248 	 * <p>The default implementation returns the result of calling
249 	 * {@link #visitChildren} on {@code ctx}.</p>
250 	 */
visitType(BindingExpressionParser.TypeContext ctx)251 	@Override public T visitType(BindingExpressionParser.TypeContext ctx) { return visitChildren(ctx); }
252 	/**
253 	 * {@inheritDoc}
254 	 *
255 	 * <p>The default implementation returns the result of calling
256 	 * {@link #visitChildren} on {@code ctx}.</p>
257 	 */
visitExplicitGenericInvocationSuffix(BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx)258 	@Override public T visitExplicitGenericInvocationSuffix(BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx) { return visitChildren(ctx); }
259 	/**
260 	 * {@inheritDoc}
261 	 *
262 	 * <p>The default implementation returns the result of calling
263 	 * {@link #visitChildren} on {@code ctx}.</p>
264 	 */
visitArguments(BindingExpressionParser.ArgumentsContext ctx)265 	@Override public T visitArguments(BindingExpressionParser.ArgumentsContext ctx) { return visitChildren(ctx); }
266 	/**
267 	 * {@inheritDoc}
268 	 *
269 	 * <p>The default implementation returns the result of calling
270 	 * {@link #visitChildren} on {@code ctx}.</p>
271 	 */
visitClassOrInterfaceType(BindingExpressionParser.ClassOrInterfaceTypeContext ctx)272 	@Override public T visitClassOrInterfaceType(BindingExpressionParser.ClassOrInterfaceTypeContext ctx) { return visitChildren(ctx); }
273 	/**
274 	 * {@inheritDoc}
275 	 *
276 	 * <p>The default implementation returns the result of calling
277 	 * {@link #visitChildren} on {@code ctx}.</p>
278 	 */
visitPrimitiveType(BindingExpressionParser.PrimitiveTypeContext ctx)279 	@Override public T visitPrimitiveType(BindingExpressionParser.PrimitiveTypeContext ctx) { return visitChildren(ctx); }
280 	/**
281 	 * {@inheritDoc}
282 	 *
283 	 * <p>The default implementation returns the result of calling
284 	 * {@link #visitChildren} on {@code ctx}.</p>
285 	 */
visitResources(BindingExpressionParser.ResourcesContext ctx)286 	@Override public T visitResources(BindingExpressionParser.ResourcesContext ctx) { return visitChildren(ctx); }
287 	/**
288 	 * {@inheritDoc}
289 	 *
290 	 * <p>The default implementation returns the result of calling
291 	 * {@link #visitChildren} on {@code ctx}.</p>
292 	 */
visitResourceParameters(BindingExpressionParser.ResourceParametersContext ctx)293 	@Override public T visitResourceParameters(BindingExpressionParser.ResourceParametersContext ctx) { return visitChildren(ctx); }
294 }