Class ExpressionFactDto
An ExpressionFact, as it travels.
public record ExpressionFactDto : IEquatable<ExpressionFactDto>
- Inheritance
-
ExpressionFactDto
- Implements
- Inherited Members
Constructors
ExpressionFactDto(SyntaxNodeId, SourceLocation, string?, ExpressionClassification, Uri?, ValueExpressionSemanticFlags, CompileErrorDto?)
An ExpressionFact, as it travels.
public ExpressionFactDto(SyntaxNodeId Node, SourceLocation Location, string? DeclaredType, ExpressionClassification Classification, Uri? Binding, ValueExpressionSemanticFlags Flags, CompileErrorDto? Error)
Parameters
NodeSyntaxNodeIdThe expression.
LocationSourceLocationWhere it is written.
DeclaredTypestringThe name of its declared type, or null when it is an error.
ClassificationExpressionClassificationWhat it names.
BindingUriThe address of the symbol it refers to, when it resolved to one.
FlagsValueExpressionSemanticFlagsWhat else is the case of it.
ErrorCompileErrorDtoIts compile error, when it has one.
Properties
Binding
The address of the symbol it refers to, when it resolved to one.
public Uri? Binding { get; init; }
Property Value
Classification
What it names.
public ExpressionClassification Classification { get; init; }
Property Value
DeclaredType
The name of its declared type, or null when it is an error.
public string? DeclaredType { get; init; }
Property Value
Error
Its compile error, when it has one.
public CompileErrorDto? Error { get; init; }
Property Value
Flags
What else is the case of it.
public ValueExpressionSemanticFlags Flags { get; init; }
Property Value
Location
Where it is written.
public SourceLocation Location { get; init; }
Property Value
Node
The expression.
public SyntaxNodeId Node { get; init; }