Class BinaryDivisionOperatorStaticSemantics
MS-VBAL 5.6.9.3.5 Binary '/' Operator (static semantics)
public sealed record BinaryDivisionOperatorStaticSemantics : BinaryArithmeticOperatorStaticSemantics, IEquatable<StaticSemantics>, IStaticSemantics, IEquatable<BinaryArithmeticOperatorStaticSemantics>, IEquatable<BinaryDivisionOperatorStaticSemantics>
- Inheritance
-
BinaryDivisionOperatorStaticSemantics
- 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
resolverISymbolResolverThe static context containing the available static memory space.
expressionBoundExpressionThe expression node being evaluated.
lhsVBTypeThe declared type of the left-hand side (LHS) operand involved in the evaluation.
rhsVBTypeThe 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.