Table of Contents

Class VBBinaryOperatorExpression<TContext, TFlags>

Namespace
RDCore.SDK.Model.AST.Expressions
Assembly
RDCore.SDK.dll

An infix VBOperatorExpression (bound) that accepts a left and a right operand on either of its sides.

public record VBBinaryOperatorExpression<TContext, TFlags> : VBOperatorExpression<TContext, TFlags>, IEquatable<BoundNode>, IEquatable<BoundExpression>, IEquatable<VBOperatorExpression<TContext, TFlags>>, IEquatable<VBBinaryOperatorExpression<TContext, TFlags>> where TContext : SemanticContext<TFlags>, new() where TFlags : struct, Enum

Type Parameters

TContext
TFlags
Inheritance
VBOperatorExpression<TContext, TFlags>
VBBinaryOperatorExpression<TContext, TFlags>
Implements
IEquatable<VBOperatorExpression<TContext, TFlags>>
Inherited Members

Remarks

Unless specified otherwise in a derived node type, MS-VBAL 5.6.9 Operator Expressions defines the static and run-time semantics of this node.

Constructors

VBBinaryOperatorExpression(Uri, OperatorSymbol<TContext, TFlags>, OperatorExpressionValueSymbol, Location, BoundExpression, BoundExpression)

An infix VBOperatorExpression (bound) that accepts a left and a right operand on either of its sides.

public VBBinaryOperatorExpression(Uri SemanticId, OperatorSymbol<TContext, TFlags> Symbol, OperatorExpressionValueSymbol ResultSymbol, Location Location, BoundExpression Left, BoundExpression Right)

Parameters

SemanticId Uri

A semantic Uri uniquely identifying this specific node.

Symbol OperatorSymbol<TContext, TFlags>

The OperatorSymbol associated with this operator expression.

ResultSymbol OperatorExpressionValueSymbol

The OperatorExpressionValueSymbol associated with the result of this operator expression.

Location Location

The Location (holds the document Uri and a Range) of the bound expression.

Left BoundExpression

The left-hand side (LHS) operand of this binary operator expression

Right BoundExpression

The right-hand side (RHS) operand of this binary operator expression

Remarks

Unless specified otherwise in a derived node type, MS-VBAL 5.6.9 Operator Expressions defines the static and run-time semantics of this node.

Properties

Left

The left-hand side (LHS) operand of this binary operator expression

public BoundExpression Left { get; init; }

Property Value

BoundExpression

Right

The right-hand side (RHS) operand of this binary operator expression

public BoundExpression Right { get; init; }

Property Value

BoundExpression