Table of Contents

Class CallNode

Namespace
EzrSquared.Runtime.Nodes
Assembly
ezrSquared-lib.dll

The Node structure for a function call.

public record CallNode : Node
Inheritance
object
CallNode
Inherited Members

Constructors

CallNode(Node, IReadOnlyCollection<Node>, Position, Position)

The Node structure for a function call.

public CallNode(Node Receiver, IReadOnlyCollection<Node> Arguments, Position StartPosition, Position EndPosition)

Parameters

Receiver Node

The function/object to be called.

Arguments IReadOnlyCollection<Node>

The array of arguments.

StartPosition Position

The starting Position of the CallNode.

EndPosition Position

The ending Position of the CallNode.

Properties

Arguments

The array of arguments.

public IReadOnlyCollection<Node> Arguments { get; init; }

Property Value

IReadOnlyCollection<Node>

Receiver

The function/object to be called.

public Node Receiver { get; init; }

Property Value

Node