Table of Contents

Class LetCoercionStaticSemantics

Namespace
RDCore.SDK.Semantics.Static
Assembly
RDCore.SDK.dll

MS-VBAL 5.5.1.1 Let-coercion (static semantics)

public record LetCoercionStaticSemantics : StaticSemantics, IStaticSemantics, IEquatable<StaticSemantics>, IEquatable<LetCoercionStaticSemantics>
Inheritance
LetCoercionStaticSemantics
Implements
Inherited Members

Properties

Instance

public static IStaticSemantics Instance { get; }

Property Value

IStaticSemantics

Methods

DetermineDeclaredType(ISymbolResolver, BoundExpression, params VBType[])

Determines a static VBType from specified operands.

public override StaticSemanticsEvaluationResult DetermineDeclaredType(ISymbolResolver resolver, BoundExpression expression, params VBType[] operandDeclaredTypes)

Parameters

resolver ISymbolResolver

The static context containing the available static memory space.

expression BoundExpression

The expression node being evaluated.

operandDeclaredTypes VBType[]

The declared type of each operand involved in the evaluation.

Returns

StaticSemanticsEvaluationResult

A StaticSemanticsEvaluationResult encapsulating the resulting VBType if successful, or VBCompileErrorInfo error metadata otherwise.