Class KeywordStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
An executable statement node that represents a fixed-keyword statement with a positional argument
list — the file statements (MS-VBAL §5.4.5 File Statements) and similarly-shaped statements
(Erase, Name, RaiseEvent) that are not a procedure/function call.
public record KeywordStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<KeywordStatementNode>
- Inheritance
-
KeywordStatementNode
- Implements
- Inherited Members
Constructors
KeywordStatementNode(SyntaxNodeId, SourceLocation, string, ImmutableArray<SyntaxNode>)
An executable statement node that represents a fixed-keyword statement with a positional argument
list — the file statements (MS-VBAL §5.4.5 File Statements) and similarly-shaped statements
(Erase, Name, RaiseEvent) that are not a procedure/function call.
public KeywordStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, string Token, ImmutableArray<SyntaxNode> Inputs)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.TokenstringThe statement's keyword (see
Tokens), e.g.Close,Erase,Name,RaiseEvent.InputsImmutableArray<SyntaxNode>The statement's arguments, in source order.
Properties
Token
The statement's keyword (see Tokens), e.g. Close, Erase, Name, RaiseEvent.
public string Token { get; init; }