new Call(operator, args)
The constructor
Parameters:
| Name | Type | Description |
|---|---|---|
operator |
object | A node representing the operator. Should evaluate to a function or a Word with the value of a keyword |
args |
Array | An array of nodes representing the arguments. Should be filled with nodes that evaluate to arbitrary values |
Methods
-
evaluate(scope) → {*}
-
Evaluate the node
Parameters:
Name Type Description scopeobject The scope in which the node will be evaluated Returns:
* - The result of the evaluation