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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe 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.IsArrayDefbooltrueif 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
IsArrayDef
true if the expression is an array definition.
public bool IsArrayDef { 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; }