Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hans-Halverson/brimstone
/ functions
Functions
5,254 in github.com/Hans-Halverson/brimstone
⨍
Functions
5,254
◇
Types & classes
996
↓ 9 callers
Method
as_array_index
(&self)
src/js/runtime/property_key.rs:143
↓ 9 callers
Method
as_double
(&self)
src/js/runtime/value.rs:275
↓ 9 callers
Method
current_ptr
Return the pointer to the start of the code unit at lexer.current
src/js/runtime/string_parsing.rs:101
↓ 9 callers
Function
define_property_or_throw
DefinePropertyOrThrow (https://tc39.es/ecma262/#sec-definepropertyorthrow)
src/js/runtime/abstract_operations.rs:112
↓ 9 callers
Method
emit_branch_instruction
(&mut self, first_block_id: BlockId, second_block_id: BlockId)
src/js/runtime/regexp/compiler.rs:155
↓ 9 callers
Method
eq_str
Compare a flat string against a Rust `&str`.
src/js/runtime/string_value.rs:1229
↓ 9 callers
Method
foo
(_)
tests/snapshot/error/source_locations/expression/assign/set_super_property.js:2
↓ 9 callers
Method
gen_in_exception_handler
( &mut self, f: impl FnOnce(&mut Self) -> EmitResult<R>, )
src/js/runtime/bytecode/generator.rs:8589
↓ 9 callers
Method
gen_store_scope_binding
( &mut self, scope_id: usize, scope_index: usize, value: GenRegister, )
src/js/runtime/bytecode/generator.rs:2697
↓ 9 callers
Method
get
(&self)
src/js/runtime/bytecode/generator.rs:9971
↓ 9 callers
Function
get_temporal_option_property
( cx: Context, options: Option<Handle<ObjectValue>>, option_name: Handle<PropertyKey>, )
src/js/runtime/intrinsics/temporal/utils.rs:99
↓ 9 callers
Function
init_object_fields
( cx: Context, mut object: HeapPtr<ObjectValue>, shape: HeapPtr<Shape>, proto: Option<HeapPtr<
src/js/runtime/ordinary_object.rs:658
↓ 9 callers
Method
is_abrupt
(&self)
src/js/runtime/bytecode/generator.rs:9939
↓ 9 callers
Method
is_accessor_descriptor
IsAccessorDescriptor (https://tc39.es/ecma262/#sec-isaccessordescriptor)
src/js/runtime/property_descriptor.rs:160
↓ 9 callers
Method
is_array_index
(&self)
src/js/runtime/property_key.rs:138
↓ 9 callers
Function
is_ascii
(code_point: CodePoint)
src/js/common/unicode.rs:105
↓ 9 callers
Method
is_case_insensitive
(&self)
src/js/runtime/regexp/instruction.rs:602
↓ 9 callers
Method
is_end
(&self)
src/js/runtime/regexp/instruction.rs:745
↓ 9 callers
Function
is_high_surrogate_code_unit
(code_unit: CodeUnit)
src/js/common/unicode.rs:63
↓ 9 callers
Function
is_newline
(code_point: CodePoint)
src/js/common/unicode.rs:168
↓ 9 callers
Function
is_typed_array_out_of_bounds
IsTypedArrayOutOfBounds (https://tc39.es/ecma262/#sec-istypedarrayoutofbounds)
src/js/runtime/intrinsics/typed_array_prototype.rs:1916
↓ 9 callers
Method
lookup_name
Look up a name, returning its index in the scope if present. The name must be an interned string.
src/js/runtime/scope_names.rs:137
↓ 9 callers
Method
next
(&mut self)
src/js/runtime/string_value.rs:1426
↓ 9 callers
Method
opcode
(&self)
src/js/runtime/regexp/instruction.rs:209
↓ 9 callers
Method
parent
(&self)
src/js/runtime/scope.rs:125
↓ 9 callers
Method
parse_statement
(&mut self)
src/js/parser/parser.rs:567
↓ 9 callers
Method
pc
(&self)
src/js/runtime/bytecode/vm.rs:191
↓ 9 callers
Method
reject
RejectPromise (https://tc39.es/ecma262/#sec-rejectpromise)
src/js/runtime/promise_object.rs:142
↓ 9 callers
Function
set
Set (https://tc39.es/ecma262/#sec-set-o-p-v-throw)
src/js/runtime/abstract_operations.rs:57
↓ 9 callers
Method
set_state
(&mut self, state: ModuleState)
src/js/runtime/module/source_text_module.rs:200
↓ 9 callers
Method
temporal_provider
(&self)
src/js/runtime/context.rs:471
↓ 9 callers
Method
to_heap
(self)
src/js/runtime/module/source_text_module.rs:755
↓ 9 callers
Method
to_owned_in
(&self, alloc: A2)
src/js/common/wtf_8.rs:282
↓ 8 callers
Function
analyze
( parse_result: ParseProgramResult, )
src/js/parser/analyze.rs:1728
↓ 8 callers
Method
array_properties
(&self)
src/js/runtime/object_value.rs:233
↓ 8 callers
Method
as_slice
(&self)
src/js/runtime/bytecode/stack_frame.rs:89
↓ 8 callers
Function
block_to_node_id
Each basic block's starting offset can be used as its unique id.
src/js/runtime/regexp/graphviz.rs:58
↓ 8 callers
Method
byte_length
(&self)
src/js/runtime/intrinsics/data_view_object.rs:57
↓ 8 callers
Method
byte_offset
(&self)
src/js/runtime/intrinsics/data_view_object.rs:61
↓ 8 callers
Method
bytecode
(&self)
src/js/runtime/bytecode/function.rs:364
↓ 8 callers
Method
capacity
(&self)
src/js/runtime/collections/index_map.rs:111
↓ 8 callers
Function
code_point_from_surrogate_pair
(high: CodeUnit, low: CodeUnit)
src/js/common/unicode.rs:89
↓ 8 callers
Method
condition
(&self)
src/js/runtime/bytecode/instruction_traits.rs:204
↓ 8 callers
Method
constant_index
(&self)
src/js/runtime/bytecode/instruction_traits.rs:250
↓ 8 callers
Method
current
(&self)
src/js/runtime/string_parsing.rs:52
↓ 8 callers
Method
current_finally_scope
(&mut self)
src/js/runtime/bytecode/generator.rs:9308
↓ 8 callers
Method
date
(&self)
src/js/runtime/intrinsics/temporal/plain_date_object.rs:45
↓ 8 callers
Method
date_time
(&self)
src/js/runtime/intrinsics/temporal/plain_date_time_object.rs:45
↓ 8 callers
Method
enqueue_function_to_generate
Enqueue a patchable function to be generated later, returning the constant index of the slot where the function will be patched in.
src/js/runtime/bytecode/generator.rs:1705
↓ 8 callers
Method
enter_has_assign_expr_context
(&mut self, has_assign_expr: bool)
src/js/runtime/bytecode/generator.rs:1367
↓ 8 callers
Method
eq
(&self, other: &Self)
src/js/runtime/module/import_attributes.rs:65
↓ 8 callers
Method
exit_has_assign_expr_context
(&mut self)
src/js/runtime/bytecode/generator.rs:1371
↓ 8 callers
Function
foo
()
tests/snapshot/parser/expression/yield.js:1
↓ 8 callers
Method
format
(&self, cx: Context, opts: &FormatOptions)
src/js/runtime/error.rs:73
↓ 8 callers
Method
get
[[Get]] (https://tc39.es/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots-get-p-receiver)
src/js/runtime/ordinary_object.rs:124
↓ 8 callers
Function
get_hex_value
(code_point: CodePoint)
src/js/common/unicode.rs:203
↓ 8 callers
Method
get_intrinsic_ptr
(&self, intrinsic: Intrinsic)
src/js/runtime/realm.rs:124
↓ 8 callers
Method
get_slot
(&self, index: usize)
src/js/runtime/scope.rs:140
↓ 8 callers
Method
get_unchecked_mut
(&mut self, index: usize)
src/js/runtime/collections/inline_array.rs:82
↓ 8 callers
Method
indent
(&mut self)
src/js/parser/printer.rs:39
↓ 8 callers
Method
into_arena_str
(self)
src/js/parser/ast.rs:177
↓ 8 callers
Method
jump_target_operand
Return the operand that is needed to perform a jump to the given target block. Returns an inline operand when possible, otherwise returns a constant t
src/js/runtime/bytecode/generator.rs:1478
↓ 8 callers
Function
length_of_array_like
LengthOfArrayLike (https://tc39.es/ecma262/#sec-lengthofarraylike)
src/js/runtime/abstract_operations.rs:294
↓ 8 callers
Function
matches
(regexp, str)
tests/integration/built-ins/RegExp/unicodeSets/case_insensitive_strings_set_operations.js:6
↓ 8 callers
Method
module
(&self)
src/js/runtime/module/module_namespace_object.rs:73
↓ 8 callers
Method
name
(&self)
src/js/runtime/bytecode/function.rs:434
↓ 8 callers
Method
path
(&self)
src/js/runtime/source_file.rs:61
↓ 8 callers
Function
set_capability
( cx: Context, mut function: Handle<ObjectValue>, value: Handle<PromiseCapability>, )
src/js/runtime/module/execute.rs:121
↓ 8 callers
Method
set_pc
(&mut self, pc: *const u8)
src/js/runtime/bytecode/vm.rs:197
↓ 8 callers
Method
set_pc_after
(&mut self, instr: &I)
src/js/runtime/bytecode/vm.rs:1349
↓ 8 callers
Method
set_slot
(&mut self, index: usize, value: Value)
src/js/runtime/scope.rs:161
↓ 8 callers
Method
source
(&self)
src/js/parser/context.rs:20
↓ 8 callers
Method
to_value
Convert this entry to a value that is stored in the constant table. Return the value that is stored, along with whether the entry represents an actual
src/js/runtime/bytecode/constant_table_builder.rs:31
↓ 8 callers
Function
type_error_value
(cx: Context, message: &str)
src/js/runtime/error.rs:169
↓ 8 callers
Method
with_initial_realm_stack_frame
( &mut self, realm: HeapPtr<Realm>, f: impl FnOnce(Context) -> EvalResult<T>, )
src/js/runtime/context.rs:360
↓ 8 callers
Method
write_jump_not_undefined_instruction
( &mut self, condition: GenRegister, target_block: BlockId, )
src/js/runtime/bytecode/generator.rs:1610
↓ 7 callers
Function
add_binary_property_of_strings_to_set
( set_builder: &mut CodePointInversionListBuilder, binary_property_set: &CodePointInversionListAndStri
src/js/common/unicode_property.rs:668
↓ 7 callers
Method
add_string_constant
(&mut self, str: &'static str)
src/js/runtime/bytecode/generator.rs:1691
↓ 7 callers
Method
advance_backwards_n
(&mut self, _: usize)
src/js/parser/lexer_stream.rs:184
↓ 7 callers
Method
argc
(&self)
src/js/runtime/bytecode/stack_frame.rs:214
↓ 7 callers
Method
as_concat_opt
(&self)
src/js/runtime/string_value.rs:128
↓ 7 callers
Method
as_slice
(&self)
src/js/runtime/intrinsics/rust_runtime.rs:171
↓ 7 callers
Method
as_sparse
(&self)
src/js/runtime/array_properties.rs:38
↓ 7 callers
Method
as_string
(&self)
src/js/runtime/string_value.rs:1090
↓ 7 callers
Method
build
(self)
src/js/runtime/context.rs:680
↓ 7 callers
Method
check_for_labeled_function
Annex B: Some labeled function declarations are always disallowed. Only error in non-strict mode as all labeled function declarations are disallowed i
src/js/parser/analyze.rs:1591
↓ 7 callers
Method
constructor
Create a constructor function object with the given prototype.
src/js/runtime/intrinsic_builder.rs:42
↓ 7 callers
Method
current_realm_ptr
(&self)
src/js/runtime/context.rs:401
↓ 7 callers
Method
data_mut_ptr
(&mut self)
src/js/runtime/collections/inline_array.rs:62
↓ 7 callers
Method
emit_jump_instruction
(&mut self, block_id: BlockId)
src/js/runtime/regexp/compiler.rs:151
↓ 7 callers
Method
equals
(&self, other: &Self)
src/js/runtime/string_value.rs:653
↓ 7 callers
Method
expect
(&mut self, char: char)
src/js/parser/regexp_parser.rs:205
↓ 7 callers
Function
f
()
tests/snapshot/bytecode/annex_b/assign_to_call_expression.js:1
↓ 7 callers
Method
flush_range_and_skip
(&mut self, skip_length: u32)
src/js/runtime/intrinsics/string_prototype.rs:1447
↓ 7 callers
Method
gen_load_private_symbol
(&mut self, private_id: &ast::Identifier)
src/js/runtime/bytecode/generator.rs:4409
↓ 7 callers
Method
gen_store_identifier
( &mut self, id: &ast::Identifier, value: GenRegister, flags: StoreFlags,
src/js/runtime/bytecode/generator.rs:2595
↓ 7 callers
Method
get_ast_node
(&self, node_id: ScopeNodeId)
src/js/parser/scope_tree.rs:125
↓ 7 callers
Method
get_module_slot
(&self, index: usize)
src/js/runtime/scope.rs:167
↓ 7 callers
Method
get_prototype_of
[[GetPrototypeOf]] (https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-getprototypeof)
src/js/runtime/proxy_object.rs:694
↓ 7 callers
Method
global_object
(&self)
src/js/runtime/realm.rs:101
← previous
next →
301–400 of 5,254, ranked by callers