Class ExpressionNode
A SyntaxNode that can be statically evaluated to a VBType, and with runtime semantics to a VBTypedValue.
public abstract record ExpressionNode : SyntaxNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>
- Inheritance
-
ExpressionNode
- Implements
- Derived
- Inherited Members
Constructors
ExpressionNode(SyntaxNodeId, SourceLocation, ImmutableArray<SyntaxNode>)
A SyntaxNode that can be statically evaluated to a VBType, and with runtime semantics to a VBTypedValue.
protected ExpressionNode(SyntaxNodeId Identity, SourceLocation Location, ImmutableArray<SyntaxNode> Inputs)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe document location (
Uri+Range) of the bound expression.InputsImmutableArray<SyntaxNode>
Properties
Inputs
The inputs of the executable statement; expressions evaluated immediately before the call.
public ImmutableArray<SyntaxNode> Inputs { get; init; }
Property Value
Location
The document location (Uri+Range) of the bound expression.
public SourceLocation Location { get; init; }