Table of Contents

Class ToolOutlineEntry

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

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

IReadOnlyList<ToolOutlineEntry>

Range

The whole declaration.

public TextRange Range { get; init; }

Property Value

TextRange

SelectionRange

The name the declaration declares.

public TextRange SelectionRange { get; init; }

Property Value

TextRange

Methods

Of(OutlineEntry)

The facts of a declaration and of its members, with their ranges 1-based.

public static ToolOutlineEntry Of(OutlineEntry entry)

Parameters

entry OutlineEntry

The declaration, as rdcore/semantics/outline outlines it.

Returns

ToolOutlineEntry