public class ArgListExpr extends Expr
When it is detected, we create a new binding with this argument list expression and merge N bindings into a new one so that rest of the code generation logic works as expected.
Constructor and Description |
---|
ArgListExpr(int id,
java.lang.Iterable<Expr> children) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeEvaluatedToAVariable() |
Expr |
cloneToModel(ExprModel model) |
protected java.lang.String |
computeUniqueKey() |
protected java.util.List<Dependency> |
constructDependencies() |
protected android.databinding.tool.writer.KCode |
generateCode() |
java.lang.String |
getInvertibleError() |
protected ModelClass |
resolveType(ModelAnalyzer modelAnalyzer) |
addJustMeToExecutionPath, addLocation, asPackage, assertIsInvertible, canBeInvalidated, cloneToModel, computeChildrenKey, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, generateInverse, getAllCalculationPaths, getChildren, getDefaultValue, getDependants, getDependencies, getId, getInvalidFlags, getLocations, getModel, getParents, getPredicateInvalidFlags, getReadSoFar, getRequirementFlagIndex, getRequirementId, getResolvedType, getShouldReadFlags, getShouldReadFlagsWithConditionals, getUniqueKey, getVersion, hasConditionalDependant, hasId, hasNestedCannotRead, invalidateReadFlags, isBindingExpression, isConditional, isDynamic, isEqualityCheck, isIsUsedInCallback, isObservable, isRead, isUsed, join, join, markAsReadIfDone, markAsUsed, markAsUsedInCallback, markFlagsAsRead, onSwappedWith, provideScopeLocation, resetResolvedType, resolveListeners, resolveTwoWayExpressions, setBindingExpression, setId, setModel, setRequirementId, shouldReadNow, toCode, toExecutionPath, toExecutionPath, toExecutionPathInOrder, toExecutionPathInOrder, toFullCode, toString, trimShouldReadFlags, updateExpr
public ArgListExpr(int id, java.lang.Iterable<Expr> children)
protected java.lang.String computeUniqueKey()
computeUniqueKey
in class Expr
protected android.databinding.tool.writer.KCode generateCode()
generateCode
in class Expr
public Expr cloneToModel(ExprModel model)
cloneToModel
in class Expr
protected ModelClass resolveType(ModelAnalyzer modelAnalyzer)
resolveType
in class Expr
protected java.util.List<Dependency> constructDependencies()
constructDependencies
in class Expr
public boolean canBeEvaluatedToAVariable()
canBeEvaluatedToAVariable
in class Expr
public java.lang.String getInvertibleError()
getInvertibleError
in class Expr