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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Location(holds the documentUriand aRange) of the bound expression.OwnerExpressionNodeThe expression the member is accessed on, or
nullfor awith-expression— a leading-!reference (!member) whose owner is implicit, legal only inside aWithblock.MemberSimpleNameExpressionNodeThe 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
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; }