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
SemanticIdUriThe unique
Uriidentifying this specific expression node.LocationLocationThe document location (
Uri+Range) of the bound expression.StaticValueVBTypedValueThe 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; }