Table of Contents

Class DictionaryAccessExpressionNode

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

MS-VBAL 5.6.14 dictionary-access-expression (owner!member) and its with-expression sibling (!member, Owner omitted). A pure AST node — the default-member lookup the ! token implies is a semantics-layer concern, not this node's.

public sealed record DictionaryAccessExpressionNode : ExpressionNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>, IEquatable<DictionaryAccessExpressionNode>
Inheritance
DictionaryAccessExpressionNode
Implements
Inherited Members

Remarks

Owner and Member are views over Children, not separately stored — Children is the single source of truth a with expression can't desync them from. Shape mirrors MemberAccessExpressionNode exactly.

Constructors

DictionaryAccessExpressionNode(SyntaxNodeId, SourceLocation, ExpressionNode?, SimpleNameExpressionNode)

MS-VBAL 5.6.14 dictionary-access-expression (owner!member) and its with-expression sibling (!member, Owner omitted). A pure AST node — the default-member lookup the ! token implies is a semantics-layer concern, not this node's.

public DictionaryAccessExpressionNode(SyntaxNodeId Identity, SourceLocation Location, ExpressionNode? Owner, SimpleNameExpressionNode Member)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location (holds the document Uri and a Range) of the bound expression.

Owner ExpressionNode

The expression the member is accessed on, or null for a with-expression — a leading-! reference (!member) whose owner is implicit, legal only inside a With block.

Member SimpleNameExpressionNode

The identifier naming the member being accessed.

Remarks

Owner and Member are views over Children, not separately stored — Children is the single source of truth a with expression can't desync them from. Shape mirrors MemberAccessExpressionNode exactly.

Properties

Member

The identifier naming the member being accessed. A view over Children, not separately stored.

[JsonIgnore]
public SimpleNameExpressionNode Member { get; }

Property Value

SimpleNameExpressionNode

Owner

The expression the member is accessed on, or null for a with-expression. A view over Children, not separately stored.

[JsonIgnore]
public ExpressionNode? Owner { get; }

Property Value

ExpressionNode