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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe document location (
Uri+Range) of the bound expression.DeclarationsVBTypedDeclarationExpressionNode[]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 VBTypedDeclarationExpressionNode[] 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
Location
The document location (Uri+Range) of the bound expression.
public SourceLocation Location { get; init; }
Property Value
Modifier
The access modifier token specified, if any.
public AccessModifier? Modifier { get; init; }