Class DescribedExpression
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
Binding
The address of the symbol it refers to; null when it resolved to none.
public Uri? Binding { get; init; }
Property Value
Classification
What the expression names (Classification).
[JsonConverter(typeof(JsonStringEnumConverter<ExpressionClassification>))]
public ExpressionClassification Classification { get; init; }
Property Value
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
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
DeclaredType
The name of its declared type; null when it is an error.
public string? DeclaredType { get; init; }
Property Value
DefaultMember
public string? DefaultMember { get; init; }
Property Value
Error
Its compile error; null when it has none.
public DescribedError? Error { get; init; }
Property Value
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
IsArray
Whether its declared type is an array.
public bool IsArray { get; init; }
Property Value
IsLetCoerced
Whether its value is taken and Let-coerced to a declared type (IsLetCoerced).
public bool IsLetCoerced { get; init; }
Property Value
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; }