Home
last modified time | relevance | path

Searched refs:CallbackExprModel (Results 1 – 7 of 7) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DLambdaExpr.java37 private final CallbackExprModel mCallbackExprModel;
41 public LambdaExpr(Expr expr, CallbackExprModel callbackExprModel) { in LambdaExpr()
50 public CallbackExprModel getCallbackExprModel() { in getCallbackExprModel()
102 return model.lambdaExpr(getExpr().cloneToModel(model), (CallbackExprModel) model); in cloneToModel()
DCallbackExprModel.java34 public class CallbackExprModel extends ExprModel { class
38 public CallbackExprModel(ExprModel original) { in CallbackExprModel() method in CallbackExprModel
DExprModel.java709 public LambdaExpr lambdaExpr(Expr expr, CallbackExprModel callbackExprModel) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DInverseBinding.java20 import android.databinding.tool.expr.CallbackExprModel;
47 private final CallbackExprModel mCallbackExprModel;
55 mCallbackExprModel = new CallbackExprModel(expr.getModel()); in InverseBinding()
146 public CallbackExprModel getCallbackExprModel() { in getCallbackExprModel()
DExpressionVisitor.java26 import android.databinding.tool.expr.CallbackExprModel;
93 CallbackExprModel callbackModel = new CallbackExprModel(mModel); in visitRootLambda()
111 Preconditions.check(mModel instanceof CallbackExprModel, "Lambdas can only be used in" in visitSingleLambdaParameter()
114 ((CallbackExprModel) mModel).callbackArg(ctx.getText()); in visitSingleLambdaParameter()
126 Preconditions.check(mModel instanceof CallbackExprModel, "Lambdas can only be used in" in visitLambdaParameterList()
134 ((CallbackExprModel) mModel).callbackArg(item.getText()); in visitLambdaParameterList()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/
DExprWriters.kt30 fun CallbackExprModel.localizeGlobalVariables(vararg ignore: Expr): KCode = kcode("// localize vari… in shouldLocalizeInCallbacks() method
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java977 final CallbackExprModel callbackModel = lambda.getCallbackExprModel(); in testParseLambdaWithArguments()