Table of Contents

Class VBDeclarationStatementNode

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

A StatementNode representing a declaration list containing one or more declaration expressions.

public record VBDeclarationStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<VBDeclarationStatementNode>
Inheritance
VBDeclarationStatementNode
Implements
Inherited Members

Constructors

VBDeclarationStatementNode(SyntaxNodeId, SourceLocation, VBTypedDeclarationExpressionNode[], AccessModifier?, bool, bool)

A StatementNode representing a declaration list containing one or more declaration expressions.

public VBDeclarationStatementNode(SyntaxNodeId Identity, SourceLocation Location, VBTypedDeclarationExpressionNode[] Declarations, AccessModifier? Modifier = AccessModifier.Implicit, bool IsWithEvents = false, bool IsStatic = false)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

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

Declarations VBTypedDeclarationExpressionNode[]

The declarations this statement evaluates.

Modifier AccessModifier?

The access modifier token specified, if any.

IsWithEvents bool

true if the declaration list includes the WithEvents keyword.

IsStatic bool

true if the declaration list includes the Static keyword.

Properties

Declarations

The declarations this statement evaluates.

public VBTypedDeclarationExpressionNode[] Declarations { get; init; }

Property Value

VBTypedDeclarationExpressionNode[]

IsStatic

true if the declaration list includes the Static keyword.

public bool IsStatic { get; init; }

Property Value

bool

IsWithEvents

true if the declaration list includes the WithEvents keyword.

public bool IsWithEvents { get; init; }

Property Value

bool

Location

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

public SourceLocation Location { get; init; }

Property Value

SourceLocation

Modifier

The access modifier token specified, if any.

public AccessModifier? Modifier { get; init; }

Property Value

AccessModifier?