FunctionCallNode

class FunctionCallNode(val context: Context, val name: String, val arguments: List<FunctionCallArgument>, val isBlock: Boolean) : NestableNode

A call to a function. The call is executed after parsing, and its output is stored in its mutable children.

Parameters

context

context this node lies in, which is where symbols will be loaded from upon execution

name

name of the function to call

arguments

arguments to call the function with

isBlock

whether this function call is an isolated block (opposite: inline)

Constructors

Link copied to clipboard
constructor(context: Context, name: String, arguments: List<FunctionCallArgument>, isBlock: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
open override val children: MutableList<Node>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.

Link copied to clipboard