Class BoundSymbol
A Symbol that is bound to a workspace document Location.
public abstract record BoundSymbol : Symbol, IEquatable<Symbol>, IEquatable<BoundSymbol>
- Inheritance
-
BoundSymbol
- Implements
- Derived
- Inherited Members
Constructors
BoundSymbol(Uri, Uri, string, ScopeKind, SymbolKindExt, Range, Range)
A Symbol that is bound to a workspace document Location.
protected BoundSymbol(Uri WorkspaceRoot, Uri ParentUri, string Name, ScopeKind Scope, SymbolKindExt Kind, Range Range, Range SelectionRange)
Parameters
WorkspaceRootUriA
Urirepresenting the absolute path to the library or project workspace.ParentUriUriThe
Uriof the parent symbol.NamestringThe name of the symbol.
ScopeScopeKindThe allocation scope of this symbol.
KindSymbolKindExtA
SymbolKind(extensible) metadata value describing the kind of symbol.RangeRangeThe entire document
Rangebelonging to this symbol.SelectionRangeRangeThe specific document
Rangeto highlight when this symbol is selected, usually the symbol's identifier name if applicable.
Properties
Range
The entire document Range belonging to this symbol.
public Range Range { get; init; }
Property Value
Scope
The allocation scope of this symbol.
public ScopeKind Scope { get; init; }
Property Value
SelectionRange
The specific document Range to highlight when this symbol is selected, usually the symbol's identifier name if applicable.
public Range SelectionRange { get; init; }