BindingExpressionListener.java revision 0cb9fbb96197af013f4f879ed6cddf2681b88fd6
1// Generated from BindingExpression.g4 by ANTLR 4.4
2package android.databinding.parser;
3import org.antlr.v4.runtime.misc.NotNull;
4import org.antlr.v4.runtime.tree.ParseTreeListener;
5
6/**
7 * This interface defines a complete listener for a parse tree produced by
8 * {@link BindingExpressionParser}.
9 */
10public interface BindingExpressionListener extends ParseTreeListener {
11	/**
12	 * Enter a parse tree produced by {@link BindingExpressionParser#expression}.
13	 * @param ctx the parse tree
14	 */
15	void enterExpression(@NotNull BindingExpressionParser.ExpressionContext ctx);
16	/**
17	 * Exit a parse tree produced by {@link BindingExpressionParser#expression}.
18	 * @param ctx the parse tree
19	 */
20	void exitExpression(@NotNull BindingExpressionParser.ExpressionContext ctx);
21
22	/**
23	 * Enter a parse tree produced by {@link BindingExpressionParser#resources}.
24	 * @param ctx the parse tree
25	 */
26	void enterResources(@NotNull BindingExpressionParser.ResourcesContext ctx);
27	/**
28	 * Exit a parse tree produced by {@link BindingExpressionParser#resources}.
29	 * @param ctx the parse tree
30	 */
31	void exitResources(@NotNull BindingExpressionParser.ResourcesContext ctx);
32
33	/**
34	 * Enter a parse tree produced by the {@code BracketOp}
35	 * labeled alternative in {@link BindingExpressionParser#expression}.
36	 * @param ctx the parse tree
37	 */
38	void enterBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx);
39	/**
40	 * Exit a parse tree produced by the {@code BracketOp}
41	 * labeled alternative in {@link BindingExpressionParser#expression}.
42	 * @param ctx the parse tree
43	 */
44	void exitBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx);
45
46	/**
47	 * Enter a parse tree produced by the {@code UnaryOp}
48	 * labeled alternative in {@link BindingExpressionParser#expression}.
49	 * @param ctx the parse tree
50	 */
51	void enterUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx);
52	/**
53	 * Exit a parse tree produced by the {@code UnaryOp}
54	 * labeled alternative in {@link BindingExpressionParser#expression}.
55	 * @param ctx the parse tree
56	 */
57	void exitUnaryOp(@NotNull BindingExpressionParser.UnaryOpContext ctx);
58
59	/**
60	 * Enter a parse tree produced by the {@code CastOp}
61	 * labeled alternative in {@link BindingExpressionParser#expression}.
62	 * @param ctx the parse tree
63	 */
64	void enterCastOp(@NotNull BindingExpressionParser.CastOpContext ctx);
65	/**
66	 * Exit a parse tree produced by the {@code CastOp}
67	 * labeled alternative in {@link BindingExpressionParser#expression}.
68	 * @param ctx the parse tree
69	 */
70	void exitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx);
71
72	/**
73	 * Enter a parse tree produced by {@link BindingExpressionParser#resourceParameters}.
74	 * @param ctx the parse tree
75	 */
76	void enterResourceParameters(@NotNull BindingExpressionParser.ResourceParametersContext ctx);
77	/**
78	 * Exit a parse tree produced by {@link BindingExpressionParser#resourceParameters}.
79	 * @param ctx the parse tree
80	 */
81	void exitResourceParameters(@NotNull BindingExpressionParser.ResourceParametersContext ctx);
82
83	/**
84	 * Enter a parse tree produced by the {@code AndOrOp}
85	 * labeled alternative in {@link BindingExpressionParser#expression}.
86	 * @param ctx the parse tree
87	 */
88	void enterAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx);
89	/**
90	 * Exit a parse tree produced by the {@code AndOrOp}
91	 * labeled alternative in {@link BindingExpressionParser#expression}.
92	 * @param ctx the parse tree
93	 */
94	void exitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx);
95
96	/**
97	 * Enter a parse tree produced by the {@code MethodInvocation}
98	 * labeled alternative in {@link BindingExpressionParser#expression}.
99	 * @param ctx the parse tree
100	 */
101	void enterMethodInvocation(@NotNull BindingExpressionParser.MethodInvocationContext ctx);
102	/**
103	 * Exit a parse tree produced by the {@code MethodInvocation}
104	 * labeled alternative in {@link BindingExpressionParser#expression}.
105	 * @param ctx the parse tree
106	 */
107	void exitMethodInvocation(@NotNull BindingExpressionParser.MethodInvocationContext ctx);
108
109	/**
110	 * Enter a parse tree produced by {@link BindingExpressionParser#expressionList}.
111	 * @param ctx the parse tree
112	 */
113	void enterExpressionList(@NotNull BindingExpressionParser.ExpressionListContext ctx);
114	/**
115	 * Exit a parse tree produced by {@link BindingExpressionParser#expressionList}.
116	 * @param ctx the parse tree
117	 */
118	void exitExpressionList(@NotNull BindingExpressionParser.ExpressionListContext ctx);
119
120	/**
121	 * Enter a parse tree produced by {@link BindingExpressionParser#classOrInterfaceType}.
122	 * @param ctx the parse tree
123	 */
124	void enterClassOrInterfaceType(@NotNull BindingExpressionParser.ClassOrInterfaceTypeContext ctx);
125	/**
126	 * Exit a parse tree produced by {@link BindingExpressionParser#classOrInterfaceType}.
127	 * @param ctx the parse tree
128	 */
129	void exitClassOrInterfaceType(@NotNull BindingExpressionParser.ClassOrInterfaceTypeContext ctx);
130
131	/**
132	 * Enter a parse tree produced by {@link BindingExpressionParser#stringLiteral}.
133	 * @param ctx the parse tree
134	 */
135	void enterStringLiteral(@NotNull BindingExpressionParser.StringLiteralContext ctx);
136	/**
137	 * Exit a parse tree produced by {@link BindingExpressionParser#stringLiteral}.
138	 * @param ctx the parse tree
139	 */
140	void exitStringLiteral(@NotNull BindingExpressionParser.StringLiteralContext ctx);
141
142	/**
143	 * Enter a parse tree produced by the {@code Primary}
144	 * labeled alternative in {@link BindingExpressionParser#expression}.
145	 * @param ctx the parse tree
146	 */
147	void enterPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx);
148	/**
149	 * Exit a parse tree produced by the {@code Primary}
150	 * labeled alternative in {@link BindingExpressionParser#expression}.
151	 * @param ctx the parse tree
152	 */
153	void exitPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx);
154
155	/**
156	 * Enter a parse tree produced by {@link BindingExpressionParser#type}.
157	 * @param ctx the parse tree
158	 */
159	void enterType(@NotNull BindingExpressionParser.TypeContext ctx);
160	/**
161	 * Exit a parse tree produced by {@link BindingExpressionParser#type}.
162	 * @param ctx the parse tree
163	 */
164	void exitType(@NotNull BindingExpressionParser.TypeContext ctx);
165
166	/**
167	 * Enter a parse tree produced by {@link BindingExpressionParser#bindingSyntax}.
168	 * @param ctx the parse tree
169	 */
170	void enterBindingSyntax(@NotNull BindingExpressionParser.BindingSyntaxContext ctx);
171	/**
172	 * Exit a parse tree produced by {@link BindingExpressionParser#bindingSyntax}.
173	 * @param ctx the parse tree
174	 */
175	void exitBindingSyntax(@NotNull BindingExpressionParser.BindingSyntaxContext ctx);
176
177	/**
178	 * Enter a parse tree produced by the {@code ComparisonOp}
179	 * labeled alternative in {@link BindingExpressionParser#expression}.
180	 * @param ctx the parse tree
181	 */
182	void enterComparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx);
183	/**
184	 * Exit a parse tree produced by the {@code ComparisonOp}
185	 * labeled alternative in {@link BindingExpressionParser#expression}.
186	 * @param ctx the parse tree
187	 */
188	void exitComparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx);
189
190	/**
191	 * Enter a parse tree produced by the {@code TernaryOp}
192	 * labeled alternative in {@link BindingExpressionParser#expression}.
193	 * @param ctx the parse tree
194	 */
195	void enterTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx);
196	/**
197	 * Exit a parse tree produced by the {@code TernaryOp}
198	 * labeled alternative in {@link BindingExpressionParser#expression}.
199	 * @param ctx the parse tree
200	 */
201	void exitTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx);
202
203	/**
204	 * Enter a parse tree produced by {@link BindingExpressionParser#constantValue}.
205	 * @param ctx the parse tree
206	 */
207	void enterConstantValue(@NotNull BindingExpressionParser.ConstantValueContext ctx);
208	/**
209	 * Exit a parse tree produced by {@link BindingExpressionParser#constantValue}.
210	 * @param ctx the parse tree
211	 */
212	void exitConstantValue(@NotNull BindingExpressionParser.ConstantValueContext ctx);
213
214	/**
215	 * Enter a parse tree produced by the {@code DotOp}
216	 * labeled alternative in {@link BindingExpressionParser#expression}.
217	 * @param ctx the parse tree
218	 */
219	void enterDotOp(@NotNull BindingExpressionParser.DotOpContext ctx);
220	/**
221	 * Exit a parse tree produced by the {@code DotOp}
222	 * labeled alternative in {@link BindingExpressionParser#expression}.
223	 * @param ctx the parse tree
224	 */
225	void exitDotOp(@NotNull BindingExpressionParser.DotOpContext ctx);
226
227	/**
228	 * Enter a parse tree produced by {@link BindingExpressionParser#defaults}.
229	 * @param ctx the parse tree
230	 */
231	void enterDefaults(@NotNull BindingExpressionParser.DefaultsContext ctx);
232	/**
233	 * Exit a parse tree produced by {@link BindingExpressionParser#defaults}.
234	 * @param ctx the parse tree
235	 */
236	void exitDefaults(@NotNull BindingExpressionParser.DefaultsContext ctx);
237
238	/**
239	 * Enter a parse tree produced by the {@code BitShiftOp}
240	 * labeled alternative in {@link BindingExpressionParser#expression}.
241	 * @param ctx the parse tree
242	 */
243	void enterBitShiftOp(@NotNull BindingExpressionParser.BitShiftOpContext ctx);
244	/**
245	 * Exit a parse tree produced by the {@code BitShiftOp}
246	 * labeled alternative in {@link BindingExpressionParser#expression}.
247	 * @param ctx the parse tree
248	 */
249	void exitBitShiftOp(@NotNull BindingExpressionParser.BitShiftOpContext ctx);
250
251	/**
252	 * Enter a parse tree produced by the {@code InstanceOfOp}
253	 * labeled alternative in {@link BindingExpressionParser#expression}.
254	 * @param ctx the parse tree
255	 */
256	void enterInstanceOfOp(@NotNull BindingExpressionParser.InstanceOfOpContext ctx);
257	/**
258	 * Exit a parse tree produced by the {@code InstanceOfOp}
259	 * labeled alternative in {@link BindingExpressionParser#expression}.
260	 * @param ctx the parse tree
261	 */
262	void exitInstanceOfOp(@NotNull BindingExpressionParser.InstanceOfOpContext ctx);
263
264	/**
265	 * Enter a parse tree produced by the {@code BinaryOp}
266	 * labeled alternative in {@link BindingExpressionParser#expression}.
267	 * @param ctx the parse tree
268	 */
269	void enterBinaryOp(@NotNull BindingExpressionParser.BinaryOpContext ctx);
270	/**
271	 * Exit a parse tree produced by the {@code BinaryOp}
272	 * labeled alternative in {@link BindingExpressionParser#expression}.
273	 * @param ctx the parse tree
274	 */
275	void exitBinaryOp(@NotNull BindingExpressionParser.BinaryOpContext ctx);
276
277	/**
278	 * Enter a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocation}.
279	 * @param ctx the parse tree
280	 */
281	void enterExplicitGenericInvocation(@NotNull BindingExpressionParser.ExplicitGenericInvocationContext ctx);
282	/**
283	 * Exit a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocation}.
284	 * @param ctx the parse tree
285	 */
286	void exitExplicitGenericInvocation(@NotNull BindingExpressionParser.ExplicitGenericInvocationContext ctx);
287
288	/**
289	 * Enter a parse tree produced by the {@code Resource}
290	 * labeled alternative in {@link BindingExpressionParser#expression}.
291	 * @param ctx the parse tree
292	 */
293	void enterResource(@NotNull BindingExpressionParser.ResourceContext ctx);
294	/**
295	 * Exit a parse tree produced by the {@code Resource}
296	 * labeled alternative in {@link BindingExpressionParser#expression}.
297	 * @param ctx the parse tree
298	 */
299	void exitResource(@NotNull BindingExpressionParser.ResourceContext ctx);
300
301	/**
302	 * Enter a parse tree produced by {@link BindingExpressionParser#typeArguments}.
303	 * @param ctx the parse tree
304	 */
305	void enterTypeArguments(@NotNull BindingExpressionParser.TypeArgumentsContext ctx);
306	/**
307	 * Exit a parse tree produced by {@link BindingExpressionParser#typeArguments}.
308	 * @param ctx the parse tree
309	 */
310	void exitTypeArguments(@NotNull BindingExpressionParser.TypeArgumentsContext ctx);
311
312	/**
313	 * Enter a parse tree produced by the {@code Grouping}
314	 * labeled alternative in {@link BindingExpressionParser#expression}.
315	 * @param ctx the parse tree
316	 */
317	void enterGrouping(@NotNull BindingExpressionParser.GroupingContext ctx);
318	/**
319	 * Exit a parse tree produced by the {@code Grouping}
320	 * labeled alternative in {@link BindingExpressionParser#expression}.
321	 * @param ctx the parse tree
322	 */
323	void exitGrouping(@NotNull BindingExpressionParser.GroupingContext ctx);
324
325	/**
326	 * Enter a parse tree produced by the {@code MathOp}
327	 * labeled alternative in {@link BindingExpressionParser#expression}.
328	 * @param ctx the parse tree
329	 */
330	void enterMathOp(@NotNull BindingExpressionParser.MathOpContext ctx);
331	/**
332	 * Exit a parse tree produced by the {@code MathOp}
333	 * labeled alternative in {@link BindingExpressionParser#expression}.
334	 * @param ctx the parse tree
335	 */
336	void exitMathOp(@NotNull BindingExpressionParser.MathOpContext ctx);
337
338	/**
339	 * Enter a parse tree produced by {@link BindingExpressionParser#classExtraction}.
340	 * @param ctx the parse tree
341	 */
342	void enterClassExtraction(@NotNull BindingExpressionParser.ClassExtractionContext ctx);
343	/**
344	 * Exit a parse tree produced by {@link BindingExpressionParser#classExtraction}.
345	 * @param ctx the parse tree
346	 */
347	void exitClassExtraction(@NotNull BindingExpressionParser.ClassExtractionContext ctx);
348
349	/**
350	 * Enter a parse tree produced by {@link BindingExpressionParser#arguments}.
351	 * @param ctx the parse tree
352	 */
353	void enterArguments(@NotNull BindingExpressionParser.ArgumentsContext ctx);
354	/**
355	 * Exit a parse tree produced by {@link BindingExpressionParser#arguments}.
356	 * @param ctx the parse tree
357	 */
358	void exitArguments(@NotNull BindingExpressionParser.ArgumentsContext ctx);
359
360	/**
361	 * Enter a parse tree produced by {@link BindingExpressionParser#primitiveType}.
362	 * @param ctx the parse tree
363	 */
364	void enterPrimitiveType(@NotNull BindingExpressionParser.PrimitiveTypeContext ctx);
365	/**
366	 * Exit a parse tree produced by {@link BindingExpressionParser#primitiveType}.
367	 * @param ctx the parse tree
368	 */
369	void exitPrimitiveType(@NotNull BindingExpressionParser.PrimitiveTypeContext ctx);
370
371	/**
372	 * Enter a parse tree produced by the {@code QuestionQuestionOp}
373	 * labeled alternative in {@link BindingExpressionParser#expression}.
374	 * @param ctx the parse tree
375	 */
376	void enterQuestionQuestionOp(@NotNull BindingExpressionParser.QuestionQuestionOpContext ctx);
377	/**
378	 * Exit a parse tree produced by the {@code QuestionQuestionOp}
379	 * labeled alternative in {@link BindingExpressionParser#expression}.
380	 * @param ctx the parse tree
381	 */
382	void exitQuestionQuestionOp(@NotNull BindingExpressionParser.QuestionQuestionOpContext ctx);
383
384	/**
385	 * Enter a parse tree produced by {@link BindingExpressionParser#javaLiteral}.
386	 * @param ctx the parse tree
387	 */
388	void enterJavaLiteral(@NotNull BindingExpressionParser.JavaLiteralContext ctx);
389	/**
390	 * Exit a parse tree produced by {@link BindingExpressionParser#javaLiteral}.
391	 * @param ctx the parse tree
392	 */
393	void exitJavaLiteral(@NotNull BindingExpressionParser.JavaLiteralContext ctx);
394
395	/**
396	 * Enter a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocationSuffix}.
397	 * @param ctx the parse tree
398	 */
399	void enterExplicitGenericInvocationSuffix(@NotNull BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx);
400	/**
401	 * Exit a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocationSuffix}.
402	 * @param ctx the parse tree
403	 */
404	void exitExplicitGenericInvocationSuffix(@NotNull BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx);
405
406	/**
407	 * Enter a parse tree produced by {@link BindingExpressionParser#identifier}.
408	 * @param ctx the parse tree
409	 */
410	void enterIdentifier(@NotNull BindingExpressionParser.IdentifierContext ctx);
411	/**
412	 * Exit a parse tree produced by {@link BindingExpressionParser#identifier}.
413	 * @param ctx the parse tree
414	 */
415	void exitIdentifier(@NotNull BindingExpressionParser.IdentifierContext ctx);
416
417	/**
418	 * Enter a parse tree produced by {@link BindingExpressionParser#literal}.
419	 * @param ctx the parse tree
420	 */
421	void enterLiteral(@NotNull BindingExpressionParser.LiteralContext ctx);
422	/**
423	 * Exit a parse tree produced by {@link BindingExpressionParser#literal}.
424	 * @param ctx the parse tree
425	 */
426	void exitLiteral(@NotNull BindingExpressionParser.LiteralContext ctx);
427}