Open sandboxFocus

Interface IClassifiedTextSpan

Represents a classified text span with its semantic properties.

Namespace: Metalama.Framework.Engine.Formatting
Assembly: Metalama.Framework.Sdk.dll
Syntax
public interface IClassifiedTextSpan

Properties

Name Description
CSharpClassification

Gets the C# classification(s) for this span (e.g., "keyword", "identifier"). Multiple classifications are separated by semicolons.

Classification

Gets the classification of the span.

Diagnostic

Gets the diagnostic associated with this span, if any.

GeneratingAspect

Gets the name of the aspect that generated this code, if applicable.

Span

Gets the text span.

Title

Gets the title/tooltip text for this span.

Extension Methods