[][src]Module boa::builtins::function

This module implements the global Function object as well as creates Native Functions.

Objects wrap Functions and expose them via call/construct slots.

The Function` object is used for matching text with a pattern.

More information:

Structs

BuiltInFunction
FunctionFlags

Enums

Function

Boa representation of a Function Object.

Functions

create_unmapped_arguments_object

Arguments.

init

Initialise the Function object on the global object.

make_builtin_fn

Creates a new member function of a Object or prototype.

make_constructor_fn

Creates a new constructor function

make_function

Create new function [[Construct]]

Type Definitions

NativeFunction

fn(this, arguments, ctx) -> ResultValue - The signature of a built-in function