Skip to main content

Module core_arity

Module core_arity 

Source
Expand description

name and length of the core-module functions.

GENERATED by cargo run --bin gen-core-arity from v26.12.1 — do not edit by hand. See src/bin/gen_core_arity.rs for what is in the table.

Constants§

CLASS_PROTO_ARITY
(key, name, length) of each modelled class prototype’s methods, keyed @proto:<Class>:<method> by the class’s NAME; sorted by key.
CLASS_PROTO_ORDER
The own string keys of each modelled web/node class prototype, in node’s order (Object.getOwnPropertyNames(C.prototype)), by class name; sorted by class, the names within a row are not.
CORE_ACCESSOR_EXPORTS
Each core module’s ACCESSOR exports: (namespace, key, has_setter, enumerable, configurable, getter_name, setter_name), keyed by namespace spelling. Sorted by namespace, then key.
CORE_ARITY
(key, name, length) of each function a core module exports, sorted by key. The key is the crate::host::JsObj::Builtin spelling, <namespace>.<member> (fs.readFileSync, EventEmitter.once).
CORE_KEYS
Each core module’s own enumerable keys in node’s order (Object.keys), keyed by namespace spelling and sorted by it; the keys within a row are not sorted.
CORE_PROTOTYPED
The keys of CORE_ARITY whose function owns a prototype (an ordinary function; an arrow, a method or a bound function owns none). Sorted.
CORE_SYMBOL_PROPS
The own symbol-keyed properties of the core-module functions: (key, symbol, accessor, enumerable, writable, configurable). The symbol is @@<name> for a well-known one, for:<key> for one in the Symbol.for registry; accessor marks a getter (writable is then meaningless). Sorted by key.
EMITTER_OVERRIDES
For each emitter-backed native class (by tag), the EventEmitter methods its prototype chain OVERRIDES instead of inheriting from EventEmitter.prototype. Sorted by tag; the names within a row are not.