Class DescribeResult
The answer to rdcore/semantics/describe: the symbol the name at the position binds to, and the facts of the expression the position is in.
[JsonConverter(typeof(SystemTextJsonBridge<DescribeResult>))]
public sealed record DescribeResult : IEquatable<DescribeResult>
- Inheritance
-
DescribeResult
- Implements
- Inherited Members
Remarks
Both are null where nothing is written at the position, or where what is written there is not known.
Properties
Expression
The facts of the innermost expression whose location holds the position; null when the host has none.
public ExpressionDescription? Expression { get; init; }
Property Value
Range
The name or expression the position is in; null when nothing is described.
public SourceRange? Range { get; init; }
Property Value
Symbol
The symbol the name at the position binds to; null when no name is there, or it binds to nothing known.
public SymbolDescription? Symbol { get; init; }