Class ToolOutlineEntry
An OutlineEntry, with 1-based ranges.
public sealed record ToolOutlineEntry : OutlinedDeclaration, IEquatable<OutlinedDeclaration>, IEquatable<ToolOutlineEntry>
- Inheritance
-
ToolOutlineEntry
- Implements
- Inherited Members
Constructors
ToolOutlineEntry()
An entry with no facts set: the one a reader fills.
public ToolOutlineEntry()
Properties
Children
The members it declares, in the order they are written: the members of a Type or an Enum.
public IReadOnlyList<ToolOutlineEntry> Children { get; init; }
Property Value
Range
The whole declaration.
public TextRange Range { get; init; }
Property Value
SelectionRange
The name the declaration declares.
public TextRange SelectionRange { get; init; }
Property Value
Methods
Of(OutlineEntry)
The facts of a declaration and of its members, with their ranges 1-based.
public static ToolOutlineEntry Of(OutlineEntry entry)
Parameters
entryOutlineEntryThe declaration, as
rdcore/semantics/outlineoutlines it.