BindingExpressionListener.java revision c0c1dab0b6254e4d27f18c37a72a9e7952e958a0
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 CastOp} 14 * labeled alternative in {@link BindingExpressionParser#expression}. 15 * @param ctx the parse tree 16 */ 17 void enterCastOp(@NotNull BindingExpressionParser.CastOpContext ctx); 18 /** 19 * Exit a parse tree produced by the {@code CastOp} 20 * labeled alternative in {@link BindingExpressionParser#expression}. 21 * @param ctx the parse tree 22 */ 23 void exitCastOp(@NotNull BindingExpressionParser.CastOpContext ctx); 24 25 /** 26 * Enter a parse tree produced by the {@code ComparisonOp} 27 * labeled alternative in {@link BindingExpressionParser#expression}. 28 * @param ctx the parse tree 29 */ 30 void enterComparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx); 31 /** 32 * Exit a parse tree produced by the {@code ComparisonOp} 33 * labeled alternative in {@link BindingExpressionParser#expression}. 34 * @param ctx the parse tree 35 */ 36 void exitComparisonOp(@NotNull BindingExpressionParser.ComparisonOpContext ctx); 37 38 /** 39 * Enter a parse tree produced by the {@code BracketOp} 40 * labeled alternative in {@link BindingExpressionParser#expression}. 41 * @param ctx the parse tree 42 */ 43 void enterBracketOp(@NotNull BindingExpressionParser.BracketOpContext ctx); 44 /** 45 * Exit a parse tree produced by the {@code BracketOp} 46 * labeled alternative in {@link BindingExpressionParser#expression}. 47 * @param ctx the parse tree 48 */ 49 void exitBracketOp(@NotNull BindingExpressionParser.BracketOpContext 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 Resource} 66 * labeled alternative in {@link BindingExpressionParser#expression}. 67 * @param ctx the parse tree 68 */ 69 void enterResource(@NotNull BindingExpressionParser.ResourceContext ctx); 70 /** 71 * Exit a parse tree produced by the {@code Resource} 72 * labeled alternative in {@link BindingExpressionParser#expression}. 73 * @param ctx the parse tree 74 */ 75 void exitResource(@NotNull BindingExpressionParser.ResourceContext ctx); 76 77 /** 78 * Enter a parse tree produced by the {@code QuestionQuestionOp} 79 * labeled alternative in {@link BindingExpressionParser#expression}. 80 * @param ctx the parse tree 81 */ 82 void enterQuestionQuestionOp(@NotNull BindingExpressionParser.QuestionQuestionOpContext ctx); 83 /** 84 * Exit a parse tree produced by the {@code QuestionQuestionOp} 85 * labeled alternative in {@link BindingExpressionParser#expression}. 86 * @param ctx the parse tree 87 */ 88 void exitQuestionQuestionOp(@NotNull BindingExpressionParser.QuestionQuestionOpContext ctx); 89 90 /** 91 * Enter a parse tree produced by the {@code Grouping} 92 * labeled alternative in {@link BindingExpressionParser#expression}. 93 * @param ctx the parse tree 94 */ 95 void enterGrouping(@NotNull BindingExpressionParser.GroupingContext ctx); 96 /** 97 * Exit a parse tree produced by the {@code Grouping} 98 * labeled alternative in {@link BindingExpressionParser#expression}. 99 * @param ctx the parse tree 100 */ 101 void exitGrouping(@NotNull BindingExpressionParser.GroupingContext ctx); 102 103 /** 104 * Enter a parse tree produced by the {@code MethodInvocation} 105 * labeled alternative in {@link BindingExpressionParser#expression}. 106 * @param ctx the parse tree 107 */ 108 void enterMethodInvocation(@NotNull BindingExpressionParser.MethodInvocationContext ctx); 109 /** 110 * Exit a parse tree produced by the {@code MethodInvocation} 111 * labeled alternative in {@link BindingExpressionParser#expression}. 112 * @param ctx the parse tree 113 */ 114 void exitMethodInvocation(@NotNull BindingExpressionParser.MethodInvocationContext ctx); 115 116 /** 117 * Enter a parse tree produced by the {@code BitShiftOp} 118 * labeled alternative in {@link BindingExpressionParser#expression}. 119 * @param ctx the parse tree 120 */ 121 void enterBitShiftOp(@NotNull BindingExpressionParser.BitShiftOpContext ctx); 122 /** 123 * Exit a parse tree produced by the {@code BitShiftOp} 124 * labeled alternative in {@link BindingExpressionParser#expression}. 125 * @param ctx the parse tree 126 */ 127 void exitBitShiftOp(@NotNull BindingExpressionParser.BitShiftOpContext ctx); 128 129 /** 130 * Enter a parse tree produced by the {@code AndOrOp} 131 * labeled alternative in {@link BindingExpressionParser#expression}. 132 * @param ctx the parse tree 133 */ 134 void enterAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx); 135 /** 136 * Exit a parse tree produced by the {@code AndOrOp} 137 * labeled alternative in {@link BindingExpressionParser#expression}. 138 * @param ctx the parse tree 139 */ 140 void exitAndOrOp(@NotNull BindingExpressionParser.AndOrOpContext ctx); 141 142 /** 143 * Enter a parse tree produced by the {@code TernaryOp} 144 * labeled alternative in {@link BindingExpressionParser#expression}. 145 * @param ctx the parse tree 146 */ 147 void enterTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx); 148 /** 149 * Exit a parse tree produced by the {@code TernaryOp} 150 * labeled alternative in {@link BindingExpressionParser#expression}. 151 * @param ctx the parse tree 152 */ 153 void exitTernaryOp(@NotNull BindingExpressionParser.TernaryOpContext ctx); 154 155 /** 156 * Enter a parse tree produced by the {@code Primary} 157 * labeled alternative in {@link BindingExpressionParser#expression}. 158 * @param ctx the parse tree 159 */ 160 void enterPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx); 161 /** 162 * Exit a parse tree produced by the {@code Primary} 163 * labeled alternative in {@link BindingExpressionParser#expression}. 164 * @param ctx the parse tree 165 */ 166 void exitPrimary(@NotNull BindingExpressionParser.PrimaryContext ctx); 167 168 /** 169 * Enter a parse tree produced by the {@code DotOp} 170 * labeled alternative in {@link BindingExpressionParser#expression}. 171 * @param ctx the parse tree 172 */ 173 void enterDotOp(@NotNull BindingExpressionParser.DotOpContext ctx); 174 /** 175 * Exit a parse tree produced by the {@code DotOp} 176 * labeled alternative in {@link BindingExpressionParser#expression}. 177 * @param ctx the parse tree 178 */ 179 void exitDotOp(@NotNull BindingExpressionParser.DotOpContext ctx); 180 181 /** 182 * Enter a parse tree produced by the {@code MathOp} 183 * labeled alternative in {@link BindingExpressionParser#expression}. 184 * @param ctx the parse tree 185 */ 186 void enterMathOp(@NotNull BindingExpressionParser.MathOpContext ctx); 187 /** 188 * Exit a parse tree produced by the {@code MathOp} 189 * labeled alternative in {@link BindingExpressionParser#expression}. 190 * @param ctx the parse tree 191 */ 192 void exitMathOp(@NotNull BindingExpressionParser.MathOpContext 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 FunctionRef} 209 * labeled alternative in {@link BindingExpressionParser#expression}. 210 * @param ctx the parse tree 211 */ 212 void enterFunctionRef(@NotNull BindingExpressionParser.FunctionRefContext ctx); 213 /** 214 * Exit a parse tree produced by the {@code FunctionRef} 215 * labeled alternative in {@link BindingExpressionParser#expression}. 216 * @param ctx the parse tree 217 */ 218 void exitFunctionRef(@NotNull BindingExpressionParser.FunctionRefContext ctx); 219 220 /** 221 * Enter a parse tree produced by the {@code BinaryOp} 222 * labeled alternative in {@link BindingExpressionParser#expression}. 223 * @param ctx the parse tree 224 */ 225 void enterBinaryOp(@NotNull BindingExpressionParser.BinaryOpContext ctx); 226 /** 227 * Exit a parse tree produced by the {@code BinaryOp} 228 * labeled alternative in {@link BindingExpressionParser#expression}. 229 * @param ctx the parse tree 230 */ 231 void exitBinaryOp(@NotNull BindingExpressionParser.BinaryOpContext ctx); 232 233 /** 234 * Enter a parse tree produced by the {@code RootExpr} 235 * labeled alternative in {@link BindingExpressionParser#bindingSyntax}. 236 * @param ctx the parse tree 237 */ 238 void enterRootExpr(@NotNull BindingExpressionParser.RootExprContext ctx); 239 /** 240 * Exit a parse tree produced by the {@code RootExpr} 241 * labeled alternative in {@link BindingExpressionParser#bindingSyntax}. 242 * @param ctx the parse tree 243 */ 244 void exitRootExpr(@NotNull BindingExpressionParser.RootExprContext ctx); 245 246 /** 247 * Enter a parse tree produced by the {@code RootLambda} 248 * labeled alternative in {@link BindingExpressionParser#bindingSyntax}. 249 * @param ctx the parse tree 250 */ 251 void enterRootLambda(@NotNull BindingExpressionParser.RootLambdaContext ctx); 252 /** 253 * Exit a parse tree produced by the {@code RootLambda} 254 * labeled alternative in {@link BindingExpressionParser#bindingSyntax}. 255 * @param ctx the parse tree 256 */ 257 void exitRootLambda(@NotNull BindingExpressionParser.RootLambdaContext ctx); 258 259 /** 260 * Enter a parse tree produced by the {@code SingleLambdaParameter} 261 * labeled alternative in {@link BindingExpressionParser#lambdaParameters}. 262 * @param ctx the parse tree 263 */ 264 void enterSingleLambdaParameter(@NotNull BindingExpressionParser.SingleLambdaParameterContext ctx); 265 /** 266 * Exit a parse tree produced by the {@code SingleLambdaParameter} 267 * labeled alternative in {@link BindingExpressionParser#lambdaParameters}. 268 * @param ctx the parse tree 269 */ 270 void exitSingleLambdaParameter(@NotNull BindingExpressionParser.SingleLambdaParameterContext ctx); 271 272 /** 273 * Enter a parse tree produced by the {@code LambdaParameterList} 274 * labeled alternative in {@link BindingExpressionParser#lambdaParameters}. 275 * @param ctx the parse tree 276 */ 277 void enterLambdaParameterList(@NotNull BindingExpressionParser.LambdaParameterListContext ctx); 278 /** 279 * Exit a parse tree produced by the {@code LambdaParameterList} 280 * labeled alternative in {@link BindingExpressionParser#lambdaParameters}. 281 * @param ctx the parse tree 282 */ 283 void exitLambdaParameterList(@NotNull BindingExpressionParser.LambdaParameterListContext ctx); 284 285 /** 286 * Enter a parse tree produced by {@link BindingExpressionParser#bindingSyntax}. 287 * @param ctx the parse tree 288 */ 289 void enterBindingSyntax(@NotNull BindingExpressionParser.BindingSyntaxContext ctx); 290 /** 291 * Exit a parse tree produced by {@link BindingExpressionParser#bindingSyntax}. 292 * @param ctx the parse tree 293 */ 294 void exitBindingSyntax(@NotNull BindingExpressionParser.BindingSyntaxContext ctx); 295 296 /** 297 * Enter a parse tree produced by {@link BindingExpressionParser#defaults}. 298 * @param ctx the parse tree 299 */ 300 void enterDefaults(@NotNull BindingExpressionParser.DefaultsContext ctx); 301 /** 302 * Exit a parse tree produced by {@link BindingExpressionParser#defaults}. 303 * @param ctx the parse tree 304 */ 305 void exitDefaults(@NotNull BindingExpressionParser.DefaultsContext ctx); 306 307 /** 308 * Enter a parse tree produced by {@link BindingExpressionParser#constantValue}. 309 * @param ctx the parse tree 310 */ 311 void enterConstantValue(@NotNull BindingExpressionParser.ConstantValueContext ctx); 312 /** 313 * Exit a parse tree produced by {@link BindingExpressionParser#constantValue}. 314 * @param ctx the parse tree 315 */ 316 void exitConstantValue(@NotNull BindingExpressionParser.ConstantValueContext ctx); 317 318 /** 319 * Enter a parse tree produced by {@link BindingExpressionParser#lambdaExpression}. 320 * @param ctx the parse tree 321 */ 322 void enterLambdaExpression(@NotNull BindingExpressionParser.LambdaExpressionContext ctx); 323 /** 324 * Exit a parse tree produced by {@link BindingExpressionParser#lambdaExpression}. 325 * @param ctx the parse tree 326 */ 327 void exitLambdaExpression(@NotNull BindingExpressionParser.LambdaExpressionContext ctx); 328 329 /** 330 * Enter a parse tree produced by {@link BindingExpressionParser#lambdaParameters}. 331 * @param ctx the parse tree 332 */ 333 void enterLambdaParameters(@NotNull BindingExpressionParser.LambdaParametersContext ctx); 334 /** 335 * Exit a parse tree produced by {@link BindingExpressionParser#lambdaParameters}. 336 * @param ctx the parse tree 337 */ 338 void exitLambdaParameters(@NotNull BindingExpressionParser.LambdaParametersContext ctx); 339 340 /** 341 * Enter a parse tree produced by {@link BindingExpressionParser#inferredFormalParameterList}. 342 * @param ctx the parse tree 343 */ 344 void enterInferredFormalParameterList(@NotNull BindingExpressionParser.InferredFormalParameterListContext ctx); 345 /** 346 * Exit a parse tree produced by {@link BindingExpressionParser#inferredFormalParameterList}. 347 * @param ctx the parse tree 348 */ 349 void exitInferredFormalParameterList(@NotNull BindingExpressionParser.InferredFormalParameterListContext ctx); 350 351 /** 352 * Enter a parse tree produced by {@link BindingExpressionParser#expression}. 353 * @param ctx the parse tree 354 */ 355 void enterExpression(@NotNull BindingExpressionParser.ExpressionContext ctx); 356 /** 357 * Exit a parse tree produced by {@link BindingExpressionParser#expression}. 358 * @param ctx the parse tree 359 */ 360 void exitExpression(@NotNull BindingExpressionParser.ExpressionContext ctx); 361 362 /** 363 * Enter a parse tree produced by {@link BindingExpressionParser#classExtraction}. 364 * @param ctx the parse tree 365 */ 366 void enterClassExtraction(@NotNull BindingExpressionParser.ClassExtractionContext ctx); 367 /** 368 * Exit a parse tree produced by {@link BindingExpressionParser#classExtraction}. 369 * @param ctx the parse tree 370 */ 371 void exitClassExtraction(@NotNull BindingExpressionParser.ClassExtractionContext ctx); 372 373 /** 374 * Enter a parse tree produced by {@link BindingExpressionParser#expressionList}. 375 * @param ctx the parse tree 376 */ 377 void enterExpressionList(@NotNull BindingExpressionParser.ExpressionListContext ctx); 378 /** 379 * Exit a parse tree produced by {@link BindingExpressionParser#expressionList}. 380 * @param ctx the parse tree 381 */ 382 void exitExpressionList(@NotNull BindingExpressionParser.ExpressionListContext ctx); 383 384 /** 385 * Enter a parse tree produced by {@link BindingExpressionParser#literal}. 386 * @param ctx the parse tree 387 */ 388 void enterLiteral(@NotNull BindingExpressionParser.LiteralContext ctx); 389 /** 390 * Exit a parse tree produced by {@link BindingExpressionParser#literal}. 391 * @param ctx the parse tree 392 */ 393 void exitLiteral(@NotNull BindingExpressionParser.LiteralContext ctx); 394 395 /** 396 * Enter a parse tree produced by {@link BindingExpressionParser#identifier}. 397 * @param ctx the parse tree 398 */ 399 void enterIdentifier(@NotNull BindingExpressionParser.IdentifierContext ctx); 400 /** 401 * Exit a parse tree produced by {@link BindingExpressionParser#identifier}. 402 * @param ctx the parse tree 403 */ 404 void exitIdentifier(@NotNull BindingExpressionParser.IdentifierContext ctx); 405 406 /** 407 * Enter a parse tree produced by {@link BindingExpressionParser#javaLiteral}. 408 * @param ctx the parse tree 409 */ 410 void enterJavaLiteral(@NotNull BindingExpressionParser.JavaLiteralContext ctx); 411 /** 412 * Exit a parse tree produced by {@link BindingExpressionParser#javaLiteral}. 413 * @param ctx the parse tree 414 */ 415 void exitJavaLiteral(@NotNull BindingExpressionParser.JavaLiteralContext ctx); 416 417 /** 418 * Enter a parse tree produced by {@link BindingExpressionParser#stringLiteral}. 419 * @param ctx the parse tree 420 */ 421 void enterStringLiteral(@NotNull BindingExpressionParser.StringLiteralContext ctx); 422 /** 423 * Exit a parse tree produced by {@link BindingExpressionParser#stringLiteral}. 424 * @param ctx the parse tree 425 */ 426 void exitStringLiteral(@NotNull BindingExpressionParser.StringLiteralContext ctx); 427 428 /** 429 * Enter a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocation}. 430 * @param ctx the parse tree 431 */ 432 void enterExplicitGenericInvocation(@NotNull BindingExpressionParser.ExplicitGenericInvocationContext ctx); 433 /** 434 * Exit a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocation}. 435 * @param ctx the parse tree 436 */ 437 void exitExplicitGenericInvocation(@NotNull BindingExpressionParser.ExplicitGenericInvocationContext ctx); 438 439 /** 440 * Enter a parse tree produced by {@link BindingExpressionParser#typeArguments}. 441 * @param ctx the parse tree 442 */ 443 void enterTypeArguments(@NotNull BindingExpressionParser.TypeArgumentsContext ctx); 444 /** 445 * Exit a parse tree produced by {@link BindingExpressionParser#typeArguments}. 446 * @param ctx the parse tree 447 */ 448 void exitTypeArguments(@NotNull BindingExpressionParser.TypeArgumentsContext ctx); 449 450 /** 451 * Enter a parse tree produced by {@link BindingExpressionParser#type}. 452 * @param ctx the parse tree 453 */ 454 void enterType(@NotNull BindingExpressionParser.TypeContext ctx); 455 /** 456 * Exit a parse tree produced by {@link BindingExpressionParser#type}. 457 * @param ctx the parse tree 458 */ 459 void exitType(@NotNull BindingExpressionParser.TypeContext ctx); 460 461 /** 462 * Enter a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocationSuffix}. 463 * @param ctx the parse tree 464 */ 465 void enterExplicitGenericInvocationSuffix(@NotNull BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx); 466 /** 467 * Exit a parse tree produced by {@link BindingExpressionParser#explicitGenericInvocationSuffix}. 468 * @param ctx the parse tree 469 */ 470 void exitExplicitGenericInvocationSuffix(@NotNull BindingExpressionParser.ExplicitGenericInvocationSuffixContext ctx); 471 472 /** 473 * Enter a parse tree produced by {@link BindingExpressionParser#arguments}. 474 * @param ctx the parse tree 475 */ 476 void enterArguments(@NotNull BindingExpressionParser.ArgumentsContext ctx); 477 /** 478 * Exit a parse tree produced by {@link BindingExpressionParser#arguments}. 479 * @param ctx the parse tree 480 */ 481 void exitArguments(@NotNull BindingExpressionParser.ArgumentsContext ctx); 482 483 /** 484 * Enter a parse tree produced by {@link BindingExpressionParser#classOrInterfaceType}. 485 * @param ctx the parse tree 486 */ 487 void enterClassOrInterfaceType(@NotNull BindingExpressionParser.ClassOrInterfaceTypeContext ctx); 488 /** 489 * Exit a parse tree produced by {@link BindingExpressionParser#classOrInterfaceType}. 490 * @param ctx the parse tree 491 */ 492 void exitClassOrInterfaceType(@NotNull BindingExpressionParser.ClassOrInterfaceTypeContext ctx); 493 494 /** 495 * Enter a parse tree produced by {@link BindingExpressionParser#primitiveType}. 496 * @param ctx the parse tree 497 */ 498 void enterPrimitiveType(@NotNull BindingExpressionParser.PrimitiveTypeContext ctx); 499 /** 500 * Exit a parse tree produced by {@link BindingExpressionParser#primitiveType}. 501 * @param ctx the parse tree 502 */ 503 void exitPrimitiveType(@NotNull BindingExpressionParser.PrimitiveTypeContext ctx); 504 505 /** 506 * Enter a parse tree produced by {@link BindingExpressionParser#resources}. 507 * @param ctx the parse tree 508 */ 509 void enterResources(@NotNull BindingExpressionParser.ResourcesContext ctx); 510 /** 511 * Exit a parse tree produced by {@link BindingExpressionParser#resources}. 512 * @param ctx the parse tree 513 */ 514 void exitResources(@NotNull BindingExpressionParser.ResourcesContext ctx); 515 516 /** 517 * Enter a parse tree produced by {@link BindingExpressionParser#resourceParameters}. 518 * @param ctx the parse tree 519 */ 520 void enterResourceParameters(@NotNull BindingExpressionParser.ResourceParametersContext ctx); 521 /** 522 * Exit a parse tree produced by {@link BindingExpressionParser#resourceParameters}. 523 * @param ctx the parse tree 524 */ 525 void exitResourceParameters(@NotNull BindingExpressionParser.ResourceParametersContext ctx); 526}