Table of Contents

Class BinaryIntegerDivisionOperatorStaticSematics

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

MS-VBAL 5.6.9.3.6 Binary '' Operator and 'Mod' Operator (static semantics)

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

Methods

DetermineOperatorStaticType(ISymbolResolver, BoundExpression, VBType, VBType)

Determines a static VBType from specified operands.

protected override StaticSemanticsEvaluationResult DetermineOperatorStaticType(ISymbolResolver resolver, BoundExpression expression, VBType lhs, VBType rhs)

Parameters

resolver ISymbolResolver

The static context containing the available static memory space.

expression BoundExpression

The expression node being evaluated.

lhs VBType

The declared type of the left-hand side (LHS) operand involved in the evaluation.

rhs VBType

The declared type of the right-hand side (RHS) operand involved in the evaluation.

Returns

StaticSemanticsEvaluationResult

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