Table of Contents

Class LiteralExpressionNode

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

An expression that statically resolves a VBTypedValue directly from the source tokens.

public sealed record LiteralExpressionNode : ExpressionNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>, IEquatable<LiteralExpressionNode>
Inheritance
LiteralExpressionNode
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

LiteralExpressionNode(SyntaxNodeId, SourceLocation, VBTypedValue)

An expression that statically resolves a VBTypedValue directly from the source tokens.

public LiteralExpressionNode(SyntaxNodeId Identity, SourceLocation Location, VBTypedValue StaticValue)

Parameters

Identity SyntaxNodeId

The unique identifier of this specific expression node.

Location SourceLocation

The document location (Uri+Range) of the 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