Table of Contents

Class DescribeResult

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

The answer to rdcore/semantics/describe: the symbol the name at the position binds to, and the facts of the expression the position is in.

[JsonConverter(typeof(SystemTextJsonBridge<DescribeResult>))]
public sealed record DescribeResult : IEquatable<DescribeResult>
Inheritance
DescribeResult
Implements
Inherited Members

Remarks

Both are null where nothing is written at the position, or where what is written there is not known.

Properties

Expression

The facts of the innermost expression whose location holds the position; null when the host has none.

public ExpressionDescription? Expression { get; init; }

Property Value

ExpressionDescription

Range

The name or expression the position is in; null when nothing is described.

public SourceRange? Range { get; init; }

Property Value

SourceRange?

Symbol

The symbol the name at the position binds to; null when no name is there, or it binds to nothing known.

public SymbolDescription? Symbol { get; init; }

Property Value

SymbolDescription