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