Table of Contents

Class ToolSymbolDescription

Namespace
RDCore.SDK.Assistant
Assembly
RDCore.SDK.dll

A SymbolDescription, with a 1-based location and a path from the workspace root.

public sealed record ToolSymbolDescription : DescribedSymbol, IEquatable<DescribedSymbol>, IEquatable<ToolSymbolDescription>
Inheritance
ToolSymbolDescription
Implements
Inherited Members

Constructors

ToolSymbolDescription()

A description with no facts set: the one a reader fills.

public ToolSymbolDescription()

Properties

Location

The name its declaration declares; null for a symbol of a library, which no document declares.

public TextLocation? Location { get; init; }

Property Value

TextLocation

Methods

Of(string, SymbolDescription)

The facts of a symbol, with its location said from the workspace root.

public static ToolSymbolDescription Of(string workspaceRoot, SymbolDescription symbol)

Parameters

workspaceRoot string

The root of the workspace, which the path is said from.

symbol SymbolDescription

The symbol, as rdcore/semantics/describe describes it.

Returns

ToolSymbolDescription