Class SymbolNavigationTarget
- Namespace
- RDCore.SDK.Semantics.Refactoring
- Assembly
- RDCore.SDK.dll
Where a navigation from a name leads: the name it starts from, and the places it leads to.
public sealed record SymbolNavigationTarget : IEquatable<SymbolNavigationTarget>
- Inheritance
-
SymbolNavigationTarget
- Implements
- Inherited Members
Constructors
SymbolNavigationTarget(SourceRange, Symbol, IReadOnlyList<SymbolSite>)
Where a navigation from a name leads: the name it starts from, and the places it leads to.
public SymbolNavigationTarget(SourceRange Origin, Symbol Symbol, IReadOnlyList<SymbolSite> Sites)
Parameters
OriginSourceRangeWhere the name is written, in the module the navigation starts from.
SymbolSymbolThe symbol the name refers to.
SitesIReadOnlyList<SymbolSite>The places it leads to, in the order they are written; none for a symbol that no module of the workspace declares.
Properties
Origin
Where the name is written, in the module the navigation starts from.
public SourceRange Origin { get; init; }
Property Value
Sites
The places it leads to, in the order they are written; none for a symbol that no module of the workspace declares.
public IReadOnlyList<SymbolSite> Sites { get; init; }
Property Value
Symbol
The symbol the name refers to.
public Symbol Symbol { get; init; }