Table of Contents

Interface ILetCoercionSemanticContextBuilder

Namespace
RDCore.SDK.Semantics.Builders
Assembly
RDCore.SDK.dll

Append-only interface that builds a ConversionOperationSemanticContext containing ConversionSemanticFlags and VBErrorInfo, but no diagnostics.

public interface ILetCoercionSemanticContextBuilder : ISemanticContextContributor<ConversionOperationSemanticContext, ConversionSemanticFlags>, ISemanticFlagsAccumulator<ConversionSemanticFlags>
Inherited Members

Remarks

🧩 This interface does not expose the builder's Build method but still allows for pluggable contributions.

Methods

AddFlags(ConversionSemanticFlags)

Adds the specified semantic flag(s) to the context.

ILetCoercionSemanticContextBuilder AddFlags(ConversionSemanticFlags flags)

Parameters

flags ConversionSemanticFlags

The semantic flag values.

Returns

ILetCoercionSemanticContextBuilder

AddOnError<TError>(TError?)

Adds the specified error to the semantic context if it isn't null.

ILetCoercionSemanticContextBuilder AddOnError<TError>(TError? error) where TError : VBErrorInfo

Parameters

error TError

Holds information about an error.

Returns

ILetCoercionSemanticContextBuilder

Type Parameters

TError

The specific type of VBErrorInfo encapsulating the error metadata.