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,
Iterable<Expr> children) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeEvaluatedToAVariable() |
protected String |
computeUniqueKey() |
protected List<Dependency> |
constructDependencies() |
protected KCode |
generateCode(boolean expand) |
String |
getInvertibleError() |
protected ModelClass |
resolveType(ModelAnalyzer modelAnalyzer) |
addLocation, addTwoWay, asPackage, assertIsInvertible, canBeInvalidated, computeChildrenKey, considerElevatingConditionals, constructDynamicChildrenDependencies, enableDirectInvalidation, 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, isObservable, isRead, isTwoWay, isUsed, join, join, markAsReadIfDone, markFlagsAsRead, onSwappedWith, provideScopeLocation, resetResolvedType, resolveListeners, resolveTwoWayExpressions, setBindingExpression, setId, setIsUsed, setModel, setRequirementId, setTwoWay, shouldReadNow, toCode, toCode, toFullCode, toInverseCode, toString, trimShouldReadFlags, updateExpr
protected String computeUniqueKey()
computeUniqueKey
in class Expr
protected KCode generateCode(boolean expand)
generateCode
in class Expr
protected ModelClass resolveType(ModelAnalyzer modelAnalyzer)
resolveType
in class Expr
protected List<Dependency> constructDependencies()
constructDependencies
in class Expr
public boolean canBeEvaluatedToAVariable()
canBeEvaluatedToAVariable
in class Expr
public String getInvertibleError()
getInvertibleError
in class Expr