Table of Contents

Class BoundAssignment

Namespace
RDCore.SDK.Semantics.Binding
Assembly
RDCore.SDK.dll

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

Expressions ExpressionBindings

What the expressions of the target and of the value bind to.

Conversion ConversionPlan

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.

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

ConversionPlan

Expressions

What the expressions of the target and of the value bind to.

public ExpressionBindings Expressions { get; init; }

Property Value

ExpressionBindings