Class BinaryConcatOperatorStaticSemantics
MS-VBAL 5.6.9.4 Binary '&' Operator (static semantics)
public record BinaryConcatOperatorStaticSemantics : StaticSemantics, IStaticSemantics, IEquatable<StaticSemantics>, IEquatable<BinaryConcatOperatorStaticSemantics>
- Inheritance
-
BinaryConcatOperatorStaticSemantics
- Implements
- Inherited Members
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
resolverISymbolResolverThe static context containing the available static memory space.
expressionBoundExpressionThe expression node being evaluated.
operandDeclaredTypesVBType[]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.