Table of Contents

Class ToolExpressionDescription

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

An ExpressionDescription, with a 1-based range.

public sealed record ToolExpressionDescription : DescribedExpression, IEquatable<DescribedExpression>, IEquatable<ToolExpressionDescription>
Inheritance
ToolExpressionDescription
Implements
Inherited Members

Constructors

ToolExpressionDescription()

A description with no facts set: the one a reader fills.

public ToolExpressionDescription()

Properties

Range

Where the expression is written.

public TextRange Range { get; init; }

Property Value

TextRange

Methods

Of(ExpressionDescription)

The facts of an expression, with its range 1-based.

public static ToolExpressionDescription Of(ExpressionDescription expression)

Parameters

expression ExpressionDescription

The expression, as rdcore/semantics/describe describes it.

Returns

ToolExpressionDescription