Table of Contents

Class AsTypeExpressionNode

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

A BoundExpression with static semantics that resolve the VBType of a VBTypedDeclarationExpression.

public record AsTypeExpressionNode : ExpressionNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>, IEquatable<AsTypeExpressionNode>
Inheritance
AsTypeExpressionNode
Implements
Inherited Members

Constructors

AsTypeExpressionNode(SyntaxNodeId, SourceLocation, string, string?, bool, bool)

A BoundExpression with static semantics that resolve the VBType of a VBTypedDeclarationExpression.

public AsTypeExpressionNode(SyntaxNodeId Identity, SourceLocation Location, string TypeName, string? QualifierName = null, bool AsAutoObject = false, bool IsArrayDef = false)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

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

TypeName string

The name value of the As <Type> clause.

QualifierName string

The qualifying module or library name, if present.

AsAutoObject bool

true if the expression includes a New token, declaring an auto-object.

IsArrayDef bool

true if the expression is an array definition.

Properties

AsAutoObject

true if the expression includes a New token, declaring an auto-object.

public bool AsAutoObject { get; init; }

Property Value

bool

IsArrayDef

true if the expression is an array definition.

public bool IsArrayDef { get; init; }

Property Value

bool

QualifierName

The qualifying module or library name, if present.

public string? QualifierName { get; init; }

Property Value

string

TypeName

The name value of the As <Type> clause.

public string TypeName { get; init; }

Property Value

string