Package android.databinding.tool.solver
Class ExecutionPath
- java.lang.Object
-
- android.databinding.tool.solver.ExecutionPath
-
public class ExecutionPath extends java.lang.ObjectRepresents all possible outcomes of an expressions with its branching.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionPathaddBranch(Expr pred, boolean expectedValue)ExecutionPathaddPath(Expr expr)static ExecutionPathcreateRoot()voiddebug(java.lang.StringBuilder builder, int offset)java.util.List<ExecutionPath>getChildren()ExprgetExpr()ExecutionBranchgetFalseBranch()java.util.Map<Expr,java.lang.Boolean>getKnownValues()ExecutionBranchgetTrueBranch()booleanisAlreadyEvaluated()
-
-
-
Method Detail
-
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()
-
-