Table of Contents

Class VBAsTypeExpression

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

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

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

Constructors

VBAsTypeExpression(Uri, Location, string, string?, bool)

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

public VBAsTypeExpression(Uri SemanticId, Location Location, string TypeName, string? QualifierName = null, bool AsAutoObject = false)

Parameters

SemanticId Uri

A semantic Uri uniquely identifying this specific node.

Location Location

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.

Properties

AsAutoObject

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

public bool AsAutoObject { 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