Searched refs:ExecutionPath (Results 1 – 13 of 13) sorted by relevance
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
D | ExecutionPath.java | 34 public class ExecutionPath { class 38 private List<ExecutionPath> mChildren = new ArrayList<ExecutionPath>(); 54 public static ExecutionPath createRoot() { in createRoot() 55 return new ExecutionPath(null, false); in createRoot() 58 private ExecutionPath(@Nullable Expr expr, boolean isAlreadyEvaluated) { in ExecutionPath() method in ExecutionPath 64 public ExecutionPath addBranch(Expr pred, boolean expectedValue) { in addBranch() 79 ExecutionPath path = createPath(null); in addBranch() 99 private ExecutionPath createPath(@Nullable Expr expr) { in createPath() 100 ExecutionPath path = new ExecutionPath(expr, expr == null || in createPath() 109 public ExecutionPath addPath(@Nullable Expr expr) { in addPath() [all …]
|
D | ExecutionBranch.java | 33 private final ExecutionPath mPath; 35 public ExecutionBranch(@NotNull ExecutionPath path, @NotNull Expr conditional, in ExecutionBranch() 52 public ExecutionPath getPath() { in getPath()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | FieldAssignmentExpr.java | 21 import android.databinding.tool.solver.ExecutionPath; 80 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 82 List<ExecutionPath> targetPaths = child.toExecutionPath(paths); in toExecutionPath() 85 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in toExecutionPath() 89 for (ExecutionPath path : targetPaths) { in toExecutionPath() 93 final ExecutionPath subPath = path.addBranch(cmp, true); in toExecutionPath()
|
D | TernaryExpr.java | 21 import android.databinding.tool.solver.ExecutionPath; 104 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 105 List<ExecutionPath> executionPaths = getPred().toExecutionPath(paths); in toExecutionPath() 107 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in toExecutionPath() 108 for (ExecutionPath path : executionPaths) { in toExecutionPath() 109 ExecutionPath ifTrue = path.addBranch(getPred(), true); in toExecutionPath() 113 ExecutionPath ifFalse = path.addBranch(getPred(), false); in toExecutionPath()
|
D | Expr.java | 24 import android.databinding.tool.solver.ExecutionPath; 329 public final List<ExecutionPath> toExecutionPath(ExecutionPath path) { in toExecutionPath() 330 List<ExecutionPath> paths = new ArrayList<ExecutionPath>(); in toExecutionPath() 335 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 345 protected final List<ExecutionPath> addJustMeToExecutionPath(List<ExecutionPath> paths) { in addJustMeToExecutionPath() 346 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in addJustMeToExecutionPath() 347 for (ExecutionPath path : paths) { in addJustMeToExecutionPath() 354 protected final List<ExecutionPath> toExecutionPathInOrder(List<ExecutionPath> paths, in toExecutionPathInOrder() 356 List<ExecutionPath> executionPaths = paths; in toExecutionPathInOrder() 360 List<ExecutionPath> result = new ArrayList<ExecutionPath>(paths.size()); in toExecutionPathInOrder() [all …]
|
D | BracketExpr.java | 21 import android.databinding.tool.solver.ExecutionPath; 61 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 62 final List<ExecutionPath> targetPaths = getTarget().toExecutionPath(paths); in toExecutionPath() 64 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in toExecutionPath() 68 for (ExecutionPath path : targetPaths) { in toExecutionPath() 72 final ExecutionPath subPath = path.addBranch(cmp, true); in toExecutionPath() 74 final List<ExecutionPath> argPath = getArg().toExecutionPath(subPath); in toExecutionPath()
|
D | MethodBaseExpr.java | 23 import android.databinding.tool.solver.ExecutionPath; 41 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 42 final List<ExecutionPath> targetPaths = getTarget().toExecutionPath(paths); in toExecutionPath() 44 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in toExecutionPath() 48 for (ExecutionPath path : targetPaths) { in toExecutionPath() 52 final ExecutionPath subPath = path.addBranch(cmp, true); in toExecutionPath()
|
D | MethodCallExpr.java | 25 import android.databinding.tool.solver.ExecutionPath; 98 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 99 final List<ExecutionPath> targetPaths = getTarget().toExecutionPath(paths); in toExecutionPath() 101 List<ExecutionPath> result = new ArrayList<ExecutionPath>(); in toExecutionPath() 105 for (ExecutionPath path : targetPaths) { in toExecutionPath() 109 final ExecutionPath subPath = path.addBranch(cmp, true); in toExecutionPath() 118 private List<ExecutionPath> toExecutionPathInOrder(ExecutionPath path, List<Expr> args) { in toExecutionPathInOrder()
|
D | LambdaExpr.java | 23 import android.databinding.tool.solver.ExecutionPath; 39 private ExecutionPath mExecutionPath; 120 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath() 126 public final ExecutionPath getExecutionPath() { in getExecutionPath() 146 mExecutionPath = ExecutionPath.createRoot(); in setup()
|
D | SymbolExpr.java | 21 import android.databinding.tool.solver.ExecutionPath; 77 public List<ExecutionPath> toExecutionPath(List<ExecutionPath> paths) { in toExecutionPath()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExecutionPathTest.java | 21 import android.databinding.tool.solver.ExecutionPath; 61 List<ExecutionPath> paths = new ArrayList<ExecutionPath>(); in simpleExpr() 62 ExecutionPath root = ExecutionPath.createRoot(); in simpleExpr() 64 List<ExecutionPath> result = parsed.toExecutionPath(paths); in simpleExpr()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | InverseBinding.java | 30 import android.databinding.tool.solver.ExecutionPath; 50 private final ExecutionPath mExecutionPath; 65 mExecutionPath = ExecutionPath.createRoot(); in InverseBinding() 142 public ExecutionPath getExecutionPath() { in getExecutionPath()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/expr/ |
D | ExprWriters.kt | 20 import android.databinding.tool.solver.ExecutionPath 38 fun ExecutionPath.toCode(): KCode = kcode("") { in <lambda>() method
|