Table of Contents

Class ExpressionFactDto

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

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

Node SyntaxNodeId

The expression.

Location SourceLocation

Where it is written.

DeclaredType string

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

Classification ExpressionClassification

What it names.

Binding Uri

The address of the symbol it refers to, when it resolved to one.

Flags ValueExpressionSemanticFlags

What else is the case of it.

Error CompileErrorDto

Its 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

Uri

Classification

What it names.

public ExpressionClassification Classification { get; init; }

Property Value

ExpressionClassification

DeclaredType

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

public string? DeclaredType { get; init; }

Property Value

string

Error

Its compile error, when it has one.

public CompileErrorDto? Error { get; init; }

Property Value

CompileErrorDto

Flags

What else is the case of it.

public ValueExpressionSemanticFlags Flags { get; init; }

Property Value

ValueExpressionSemanticFlags

Location

Where it is written.

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Node

The expression.

public SyntaxNodeId Node { get; init; }

Property Value

SyntaxNodeId