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
SemanticIdUriA semantic
Uriuniquely identifying this specific node.LocationLocationThe document location (
Uri+Range) of the bound expression.DeclarationsVBTypedDeclarationExpression[]The declarations this statement evaluates.
ModifierAccessModifier?The access modifier token specified, if any.
IsWithEventsbooltrueif the declaration list includes theWithEventskeyword.IsStaticbooltrueif the declaration list includes theStatickeyword.
Properties
Declarations
The declarations this statement evaluates.
public VBTypedDeclarationExpression[] Declarations { get; init; }
Property Value
IsStatic
true if the declaration list includes the Static keyword.
public bool IsStatic { get; init; }
Property Value
IsWithEvents
true if the declaration list includes the WithEvents keyword.
public bool IsWithEvents { get; init; }
Property Value
Modifier
The access modifier token specified, if any.
public AccessModifier? Modifier { get; init; }