[−][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
| Function | Boa representation of a Function Object. |
Enums
| ConstructorKind | Sets the ConstructorKind |
| FunctionBody | FunctionBody is specific to this interpreter, it will either be Rust code or JavaScript code (AST Node) |
| ThisMode | Defines how this references are interpreted within the formal parameters and code body of the function. |
Functions
| create | |
| create_unmapped_arguments_object | Arguments. |
| init | Initialise the |
| make_builtin_fn | Creates a new member function of a |
| make_constructor_fn | Creates a new constructor function |
| make_function | Create new function |
Type Definitions
| NativeFunctionData | fn(this, arguments, ctx) -> ResultValue - The signature of a built-in function |