Table of Contents

Class VBLiteralExpression

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

A BoundExpression that statically resolves a VBTypedValue directly from the source tokens.

public sealed record VBLiteralExpression : BoundExpression, IEquatable<BoundNode>, IEquatable<BoundExpression>, IEquatable<VBLiteralExpression>
Inheritance
VBLiteralExpression
Implements
Inherited Members

Remarks

Unless specified otherwise in a derived node type, MS-VBAL 5.6.5 Literal Expressions defines the static and run-time semantics of this node. MS-VBAL 3.3 Lexical Tokens static semantics being implemented at the parser level, the VBTypedValue has already resolved its type-suffix ("type hint").

Constructors

VBLiteralExpression(Uri, Location, VBTypedValue)

A BoundExpression that statically resolves a VBTypedValue directly from the source tokens.

public VBLiteralExpression(Uri SemanticId, Location Location, VBTypedValue StaticValue)

Parameters

SemanticId Uri

The unique Uri identifying this specific expression node.

Location Location

The document location (Uri+Range) of the bound expression.

StaticValue VBTypedValue

The parsed literal value.

Remarks

Unless specified otherwise in a derived node type, MS-VBAL 5.6.5 Literal Expressions defines the static and run-time semantics of this node. MS-VBAL 3.3 Lexical Tokens static semantics being implemented at the parser level, the VBTypedValue has already resolved its type-suffix ("type hint").

Properties

StaticValue

The parsed literal value.

public VBTypedValue StaticValue { get; init; }

Property Value

VBTypedValue