Table of Contents

Class BinaryLetCoerceOperatorStaticSemantics

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

RD-VBAL 5.6.9.1.1 Explicit Coercion Operator

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

Remarks

Implements MS-VBAL 5.6.6 Parenthesized Expression as a binary operator in non-arithmetic contexts.

Constructors

BinaryLetCoerceOperatorStaticSemantics()

RD-VBAL 5.6.9.1.1 Explicit Coercion Operator

public BinaryLetCoerceOperatorStaticSemantics()

Remarks

Implements MS-VBAL 5.6.6 Parenthesized Expression as a binary operator in non-arithmetic contexts.

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.