Home
last modified time | relevance | path

Searched refs:ExecutionPath (Results 1 – 13 of 13) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/
DExecutionPath.java34 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 …]
DExecutionBranch.java33 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/
DFieldAssignmentExpr.java21 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()
DTernaryExpr.java21 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()
DExpr.java24 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 …]
DBracketExpr.java21 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()
DMethodBaseExpr.java23 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()
DMethodCallExpr.java25 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()
DLambdaExpr.java23 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()
DSymbolExpr.java21 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/
DExecutionPathTest.java21 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/
DInverseBinding.java30 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/
DExprWriters.kt20 import android.databinding.tool.solver.ExecutionPath
38 fun ExecutionPath.toCode(): KCode = kcode("") { in <lambda>() method