Table of Contents

Class DescribedExpression

Namespace
RDCore.SDK.Platform.Protocol
Assembly
RDCore.SDK.dll

What is known of an expression, wherever it is written: the facts ExpressionDescription and the assistant tools' description share.

public abstract record DescribedExpression : IEquatable<DescribedExpression>
Inheritance
DescribedExpression
Implements
Derived
Inherited Members

Properties

Accessors

The name of each accessor of the property it names (PropertyAccessors: Get, Let, Set); empty when it names no property.

public IReadOnlyList<string> Accessors { get; init; }

Property Value

IReadOnlyList<string>

Binding

The address of the symbol it refers to; null when it resolved to none.

public Uri? Binding { get; init; }

Property Value

Uri

Classification

What the expression names (Classification).

[JsonConverter(typeof(JsonStringEnumConverter<ExpressionClassification>))]
public ExpressionClassification Classification { get; init; }

Property Value

ExpressionClassification

ConstantValue

The value of the constant it names (ConstantValue); null when it names none, or the value is not known.

public RunValue? ConstantValue { get; init; }

Property Value

RunValue

Creates

The name of the class of the object it creates by name (ClassName); null when it creates none, or the class is not known.

public string? Creates { get; init; }

Property Value

string

DeclaredType

The name of its declared type; null when it is an error.

public string? DeclaredType { get; init; }

Property Value

string

DefaultMember

The name of the default member of the class its declared type is (Name); null otherwise.

public string? DefaultMember { get; init; }

Property Value

string

Error

Its compile error; null when it has none.

public DescribedError? Error { get; init; }

Property Value

DescribedError

Flags

The name of each ValueExpressionSemanticFlags flag that is set, in the order the enumeration declares them.

public IReadOnlyList<string> Flags { get; init; }

Property Value

IReadOnlyList<string>

IsArray

Whether its declared type is an array.

public bool IsArray { get; init; }

Property Value

bool

IsLetCoerced

Whether its value is taken and Let-coerced to a declared type (IsLetCoerced).

public bool IsLetCoerced { get; init; }

Property Value

bool

TypeKind

The kind of its declared type, or of its elements' type for an array (Of(VBType?)); null when it has no type a value can have, or one that did not resolve.

[JsonConverter(typeof(JsonStringEnumConverter<DeclaredTypeKind>))]
public DeclaredTypeKind? TypeKind { get; init; }

Property Value

DeclaredTypeKind?