android.databinding.tool.solver
Class ExecutionPath
java.lang.Object
android.databinding.tool.solver.ExecutionPath
public class ExecutionPath
- extends java.lang.Object
Represents all possible outcomes of an expressions with its branching.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createRoot
public static ExecutionPath createRoot()
addBranch
@Nullable
public ExecutionPath addBranch(Expr pred,
boolean expectedValue)
addPath
@NotNull
public ExecutionPath addPath(@Nullable
Expr expr)
debug
public void debug(java.lang.StringBuilder builder,
int offset)
getExpr
@Nullable
public Expr getExpr()
getChildren
@NotNull
public java.util.List<ExecutionPath> getChildren()
getTrueBranch
@Nullable
public ExecutionBranch getTrueBranch()
getFalseBranch
@Nullable
public ExecutionBranch getFalseBranch()
isAlreadyEvaluated
public boolean isAlreadyEvaluated()
getKnownValues
public java.util.Map<Expr,java.lang.Boolean> getKnownValues()