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
TContextTFlags
- Inheritance
-
VBOperatorExpression<TContext, TFlags>VBBinaryOperatorExpression<TContext, TFlags>
- Implements
-
IEquatable<VBOperatorExpression<TContext, TFlags>>IEquatable<VBBinaryOperatorExpression<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
SemanticIdUriA semantic
Uriuniquely identifying this specific node.SymbolOperatorSymbol<TContext, TFlags>The
OperatorSymbolassociated with this operator expression.ResultSymbolOperatorExpressionValueSymbolThe OperatorExpressionValueSymbol associated with the result of this operator expression.
LocationLocationThe
Location(holds the documentUriand aRange) of the bound expression.LeftBoundExpressionThe left-hand side (LHS) operand of this binary operator expression
RightBoundExpressionThe 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
Right
The right-hand side (RHS) operand of this binary operator expression
public BoundExpression Right { get; init; }