Class Function.Placeholder.Expr

Inheritance graph
Base Function.Placeholder.Expr
Description

Expr(x) returns the result of calling x. The function will be passed the list of arguments.

If _splice is true, zero or more argument is returned in an array

Function.Placeholder.arg1 is thus more or less equivalent to

Expr(lambda(array args){return args[1];});

Inherit Base

inherit Base : Base


Variable func
Variable _splice

function(:void) Function.Placeholder.Expr.func
void|bool Function.Placeholder.Expr._splice


Method create

Function.Placeholder.Expr Function.Placeholder.Expr(function(:void) func, void|bool _splice)