Table of Contents

Class VBTypedDeclarationExpressionNode

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

A BoundExpression representing any declaration expression that evaluates to a TypedSymbol.

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

Constructors

VBTypedDeclarationExpressionNode(SyntaxNodeId, SourceLocation, string, AsTypeExpressionNode?)

A BoundExpression representing any declaration expression that evaluates to a TypedSymbol.

public VBTypedDeclarationExpressionNode(SyntaxNodeId Identity, SourceLocation Location, string IdentifierName, AsTypeExpressionNode? AsTypeExpression = null)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

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

IdentifierName string

The identifier name of the declared symbol.

AsTypeExpression AsTypeExpressionNode

The As <Type> clause of the declaration, if present.

Properties

AsTypeExpression

The As <Type> clause of the declaration, if present.

public AsTypeExpressionNode? AsTypeExpression { get; init; }

Property Value

AsTypeExpressionNode

IdentifierName

The identifier name of the declared symbol.

public string IdentifierName { get; init; }

Property Value

string