create_closure


Description:

public Closure? create_closure (string function_name, BuilderClosureFlags flags, Object? object) throws Error

Creates a closure to invoke the function called function_name, by using the create_closure implementation of this's BuilderScope.

If no closure could be created, null will be returned and throws will be set.

Parameters:

this

a Builder

function_name

name of the function to look up

flags

closure creation flags

object

Object to create the closure with

Returns:

A new closure for invoking function_name