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