Table of Contents

Class VBDeclarationStatement

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

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

public record VBDeclarationStatement : BoundStatement, IEquatable<BoundNode>, IEquatable<BoundStatement>, IEquatable<VBDeclarationStatement>
Inheritance
VBDeclarationStatement
Implements
Inherited Members

Constructors

VBDeclarationStatement(Uri, Location, VBTypedDeclarationExpression[], AccessModifier?, bool, bool)

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

public VBDeclarationStatement(Uri SemanticId, Location Location, VBTypedDeclarationExpression[] Declarations, AccessModifier? Modifier = AccessModifier.Implicit, bool IsWithEvents = false, bool IsStatic = false)

Parameters

SemanticId Uri

A semantic Uri uniquely identifying this specific node.

Location Location

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

Declarations VBTypedDeclarationExpression[]

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 VBTypedDeclarationExpression[] Declarations { get; init; }

Property Value

VBTypedDeclarationExpression[]

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

Modifier

The access modifier token specified, if any.

public AccessModifier? Modifier { get; init; }

Property Value

AccessModifier?