Class BoundAssignment
What an assignment binds to: its target and its value, and the plan of the let-coercion of the value to the target.
public sealed record BoundAssignment : IEquatable<BoundAssignment>
- Inheritance
-
BoundAssignment
- Implements
- Inherited Members
Constructors
BoundAssignment(ExpressionBindings, ConversionPlan?)
What an assignment binds to: its target and its value, and the plan of the let-coercion of the value to the target.
public BoundAssignment(ExpressionBindings Expressions, ConversionPlan? Conversion)
Parameters
ExpressionsExpressionBindingsWhat the expressions of the target and of the value bind to.
ConversionConversionPlanThe plan of the let-coercion of the value to the declared type of the target, for a Let assignment whose target and value have one; null for a Set assignment, which is not a let-coercion, and when either is a compile error or the target's type is not known.
Properties
Conversion
The plan of the let-coercion of the value to the declared type of the target, for a Let assignment whose target and value have one; null for a Set assignment, which is not a let-coercion, and when either is a compile error or the target's type is not known.
public ConversionPlan? Conversion { get; init; }
Property Value
Expressions
What the expressions of the target and of the value bind to.
public ExpressionBindings Expressions { get; init; }