Table of Contents

Class VBOperatorExpression<TContext, TFlags>

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

A BoundExpression that is associated to an OperatorSymbol.

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

Type Parameters

TContext
TFlags
Inheritance
VBOperatorExpression<TContext, TFlags>
Implements
IEquatable<VBOperatorExpression<TContext, TFlags>>
Derived
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

VBOperatorExpression(Uri, OperatorSymbol<TContext, TFlags>, OperatorExpressionValueSymbol, Location)

A BoundExpression that is associated to an OperatorSymbol.

protected VBOperatorExpression(Uri SemanticId, OperatorSymbol<TContext, TFlags> Symbol, OperatorExpressionValueSymbol ResultSymbol, Location Location)

Parameters

SemanticId Uri

A semantic Uri uniquely identifying this specific node.

Symbol OperatorSymbol<TContext, TFlags>

The OperatorSymbol<TContext, TFlags> associated with this operator expression.

ResultSymbol OperatorExpressionValueSymbol

A BoundTypedSymbol bound to the result of this expression.

Location Location

The Location (holds the document Uri and a Range) of the bound 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

ResultSymbol

A BoundTypedSymbol bound to the result of this expression.

public OperatorExpressionValueSymbol ResultSymbol { get; init; }

Property Value

OperatorExpressionValueSymbol

Symbol

The OperatorSymbol<TContext, TFlags> associated with this operator expression.

public OperatorSymbol<TContext, TFlags> Symbol { get; init; }

Property Value

OperatorSymbol<TContext, TFlags>