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
SemanticIdUriA semantic
Uriuniquely identifying this specific node.LocationLocationThe document location (
Uri+Range) of the bound expression.TypeNamestringThe name value of the
As <Type>clause.QualifierNamestringThe qualifying module or library name, if present.
AsAutoObjectbooltrueif the expression includes aNewtoken, 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
QualifierName
The qualifying module or library name, if present.
public string? QualifierName { get; init; }
Property Value
TypeName
The name value of the As <Type> clause.
public string TypeName { get; init; }