Class IndexExpressionNode
- Namespace
- RDCore.SDK.Model.AST.Expressions
- Assembly
- RDCore.SDK.dll
MS-VBAL 5.6.13 index-expression (callee(arguments)) — represents
both a procedure/function call and array/collection indexing; which one it is is a semantic
question the resolver answers from the callee's declared kind, not something this node encodes.
public sealed record IndexExpressionNode : ExpressionNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>, IEquatable<IndexExpressionNode>
- Inheritance
-
IndexExpressionNode
- Implements
- Inherited Members
Constructors
IndexExpressionNode(SyntaxNodeId, SourceLocation, ExpressionNode, ImmutableArray<ExpressionNode>)
MS-VBAL 5.6.13 index-expression (callee(arguments)) — represents
both a procedure/function call and array/collection indexing; which one it is is a semantic
question the resolver answers from the callee's declared kind, not something this node encodes.
public IndexExpressionNode(SyntaxNodeId Identity, SourceLocation Location, ExpressionNode Callee, ImmutableArray<ExpressionNode> Arguments)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Location(holds the documentUriand aRange) of the bound expression.CalleeExpressionNodeThe expression being called or indexed.
ArgumentsImmutableArray<ExpressionNode>The argument list, in source order. Each element is a bare expression for a positional argument, or a NamedArgumentNode, MissingArgumentNode, or AddressOfExpressionNode for the other MS-VBAL 5.6.13.1 argument forms.
Properties
Arguments
The argument list, in source order. Each element is a bare expression for a positional argument, or a NamedArgumentNode, MissingArgumentNode, or AddressOfExpressionNode for the other MS-VBAL 5.6.13.1 argument forms.
public ImmutableArray<ExpressionNode> Arguments { get; init; }
Property Value
Callee
The expression being called or indexed.
public ExpressionNode Callee { get; init; }