Table of Contents

Interface ISemanticExtensibilityProvider<TContext, TFlags>

Namespace
RDCore.SDK.Extensibility
Assembly
RDCore.SDK.dll

Signals a starting, ongoing, completed, succeeded, or failed semantic operation to an extension process via LSP.

public interface ISemanticExtensibilityProvider<TContext, TFlags> where TContext : SemanticContext<TFlags> where TFlags : struct, Enum

Type Parameters

TContext

The type of the SemanticContext to be externally enriched.

TFlags

The type of semantic flags associated with this context.

Methods

OnSemanticOperationAsync(TContext)

Serializes and broadcasts the semantic context over LSP to any interested semantic analyzer extensions.

Task OnSemanticOperationAsync(TContext context)

Parameters

context TContext

The semantic context.

Returns

Task

An asynchronous Task that completes when the semantic context is transmitted over LSP to all interested extensions.