Class ToolSymbolDescription
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
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
workspaceRootstringThe root of the workspace, which the path is said from.
symbolSymbolDescriptionThe symbol, as
rdcore/semantics/describedescribes it.