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
↓ 354 callers
Method
to_handle
(self, cx: Context)
src/js/runtime/gc/handle.rs:472
↓ 215 callers
Function
type_error
(cx: Context, message: &str)
src/js/runtime/error.rs:189
↓ 205 callers
Method
as_ref
(&self)
src/js/parser/ast.rs:87
↓ 193 callers
Method
release
Release a temporary register. This must be the most recently allocated temporary register. If the given register is a local or argument register this
src/js/runtime/bytecode/register_allocator.rs:44
↓ 189 callers
Method
push
(&mut self, value: StackSlotValue)
src/js/runtime/bytecode/vm.rs:1362
↓ 168 callers
Method
push
(&mut self, code_point: u32)
src/js/common/wtf_8.rs:117
↓ 160 callers
Method
property
(&mut self, name: &str, value: T, print_value_fn: fn(&mut Self, T))
src/js/parser/printer.rs:109
↓ 151 callers
Method
parse
(str: &str)
src/js/common/unicode_property.rs:91
↓ 149 callers
Method
cast
(&self)
src/js/runtime/gc/handle.rs:91
↓ 144 callers
Function
eval
()
tests/snapshot/error/source_locations/expression/call/call_maybe_eval.js:1
↓ 131 callers
Method
advance
(&mut self)
src/js/parser/parser.rs:221
↓ 130 callers
Method
contains
Returns whether this set contains the given element.
src/js/runtime/collections/hash_set.rs:38
↓ 126 callers
Method
visit_pointer
(&mut self, ptr: &mut HeapPtr<T>)
src/js/runtime/gc/heap_visitor.rs:27
↓ 119 callers
Method
len
(&self)
src/js/runtime/collections/vec.rs:49
↓ 109 callers
Method
build
(self, mut cx: Context)
src/js/runtime/intrinsics/json_serializer.rs:52
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_uint16_conversion.js:7
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_uint8_conversion.js:7
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_int32_conversion.js:7
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_int8_conversion.js:7
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_uint32_conversion.js:7
↓ 109 callers
Function
convert
(x)
tests/integration/built-ins/TypedArray/to_int16_conversion.js:7
↓ 108 callers
Method
from
(value: bool)
src/js/runtime/value.rs:525
↓ 106 callers
Method
add
(&mut self, handler: ExceptionHandlerBuilder)
src/js/runtime/bytecode/exception_handlers.rs:50
↓ 103 callers
Method
as_object
(&self)
src/js/runtime/gc/handle.rs:450
↓ 103 callers
Method
is_object
(&self)
src/js/runtime/value.rs:240
↓ 103 callers
Method
push_str
(&mut self, string: &str)
src/js/common/wtf_8.rs:129
↓ 102 callers
Function
get
Get (https://tc39.es/ecma262/#sec-get-o-p)
src/js/runtime/abstract_operations.rs:38
↓ 96 callers
Method
mark_loc
(&self, start_pos: Pos)
src/js/parser/parser.rs:294
↓ 94 callers
Method
as_value
(&self)
src/js/runtime/string_value.rs:172
↓ 92 callers
Method
end_node
(&mut self)
src/js/parser/printer.rs:103
↓ 91 callers
Method
as_object
(&self)
src/js/runtime/value.rs:301
↓ 89 callers
Method
allocate
Allocate a new temporary register.
src/js/runtime/bytecode/register_allocator.rs:29
↓ 85 callers
Method
iter
(&self)
src/js/runtime/bytecode/stack_frame.rs:264
↓ 80 callers
Method
start_node
(&mut self, name: &str, loc: &Loc)
src/js/parser/printer.rs:79
↓ 79 callers
Method
expect
Advance if the current code unit is equal to the given character. Only valid for char in the u16 range.
src/js/runtime/string_parsing.rs:64
↓ 74 callers
Method
as_string
(&self)
src/js/runtime/gc/handle.rs:455
↓ 72 callers
Method
cx
(&self)
src/js/runtime/bytecode/vm.rs:186
↓ 72 callers
Method
is_undefined
(&self)
src/js/runtime/value.rs:208
↓ 70 callers
Method
get_intrinsic
(&self, intrinsic: Intrinsic)
src/js/runtime/realm.rs:128
↓ 68 callers
Method
as_bytes
(&self)
src/js/common/wtf_8.rs:112
↓ 68 callers
Method
clone
(&self)
src/js/parser/ast.rs:228
↓ 68 callers
Method
start_block
(&mut self, block_id: BlockId)
src/js/runtime/bytecode/generator.rs:1397
↓ 65 callers
Method
as_ptr
(&self)
src/js/runtime/gc/pointer.rs:16
↓ 65 callers
Method
current_start_pos
(&self)
src/js/parser/parser.rs:290
↓ 65 callers
Method
test
()
tests/snapshot/error/source_locations/expression/assign/set_super_property.js:8
↓ 64 callers
Function
empty
()
tests/snapshot/bytecode/function/async.js:1
↓ 64 callers
Method
insert
( &self, cx: Context, key: Handle<Value>, value: Handle<Value>, )
src/js/runtime/intrinsics/map_object.rs:59
↓ 64 callers
Method
undefined
()
src/js/runtime/value.rs:339
↓ 63 callers
Method
as_number
(&self)
src/js/runtime/value.rs:266
↓ 63 callers
Method
kind
(&self)
src/js/runtime/scope.rs:120
↓ 62 callers
Method
replace
(&mut self, new_contents: T::Impl)
src/js/runtime/gc/handle.rs:78
↓ 59 callers
Method
allocate_destination
Allocate the destination register for an expression, which may be a new temporary or a fixed register that was specified.
src/js/runtime/bytecode/generator.rs:2832
↓ 59 callers
Method
number
(value: T)
src/js/runtime/value.rs:378
↓ 56 callers
Method
as_string
(&self)
src/js/runtime/value.rs:306
↓ 56 callers
Method
clone
(&self)
src/js/runtime/gc/handle.rs:98
↓ 56 callers
Method
len
(&self)
src/js/parser/lexer_stream.rs:169
↓ 56 callers
Method
new_block
(&mut self)
src/js/runtime/bytecode/generator.rs:1391
↓ 55 callers
Method
iter
(&self)
src/js/runtime/array_properties.rs:425
↓ 53 callers
Method
expect
(&mut self, token: Token)
src/js/parser/parser.rs:267
↓ 51 callers
Method
bigint
(value: HeapPtr<BigIntValue>)
src/js/runtime/value.rs:464
↓ 50 callers
Function
add_binary_property_to_set
( set_builder: &mut CodePointInversionListBuilder, binary_property_set: &CodePointSetDataBorrowed<'sta
src/js/common/unicode_property.rs:656
↓ 50 callers
Method
advance
(&mut self)
src/js/runtime/string_parsing.rs:56
↓ 49 callers
Function
call_object
( mut cx: Context, func: Handle<ObjectValue>, receiver: Handle<Value>, arguments: &[Handle<Val
src/js/runtime/abstract_operations.rs:186
↓ 49 callers
Method
flatten
If this string is a concat string, flatten it into a single buffer. This modifies the string value in-place and switches it from a concat string to a
src/js/runtime/string_value.rs:314
↓ 49 callers
Method
len
(&self)
src/js/runtime/intrinsics/rust_runtime.rs:151
↓ 48 callers
Method
error
(&self, loc: Loc, error: ParseError)
src/js/parser/parser.rs:167
↓ 47 callers
Method
next
(&mut self)
src/js/parser/lexer.rs:185
↓ 46 callers
Method
as_pointer
(&self)
src/js/runtime/value.rs:296
↓ 46 callers
Method
value
(&self)
src/js/runtime/bytecode/operand.rs:208
↓ 45 callers
Method
prototype
(&self)
src/js/runtime/object_value.rs:218
↓ 44 callers
Method
as_slice
(&self)
src/js/runtime/collections/vec.rs:76
↓ 44 callers
Method
push_char
(&mut self, char: char)
src/js/common/wtf_8.rs:124
↓ 44 callers
Function
range_error
(cx: Context, message: &str)
src/js/runtime/error.rs:197
↓ 43 callers
Method
as_flat
(&self)
src/js/runtime/string_value.rs:123
↓ 43 callers
Method
as_raw_bits
(&self)
src/js/runtime/value.rs:131
↓ 43 callers
Method
current_equals
(&self, expected: char)
src/js/runtime/string_parsing.rs:84
↓ 43 callers
Method
gen_expression
(&mut self, expr: &'a ast::Expression<'a>)
src/js/runtime/bytecode/generator.rs:2352
↓ 43 callers
Method
is_string
(&self)
src/js/runtime/value.rs:249
↓ 43 callers
Method
len
(&self)
src/js/runtime/scope_names.rs:110
↓ 43 callers
Method
visit_pointer_opt
(&mut self, ptr: &mut Option<HeapPtr<T>>)
src/js/runtime/gc/heap_visitor.rs:39
↓ 42 callers
Method
emit_error
(&mut self, loc: Loc, error: ParseError)
src/js/parser/analyze.rs:184
↓ 42 callers
Function
map_temporal_result
Map a temporal result to an equivalent EvalResult.
src/js/runtime/intrinsics/temporal/utils.rs:46
↓ 41 callers
Method
as_mut_slice
(&mut self)
src/js/runtime/collections/vec.rs:81
↓ 41 callers
Method
build
(mut self)
src/js/parser/ast.rs:147
↓ 40 callers
Method
to_string_tag
Install @@toStringTag with a particular string value.
src/js/runtime/intrinsic_builder.rs:118
↓ 39 callers
Function
add_general_category_group_to_set
( set_builder: &mut CodePointInversionListBuilder, general_category_group: GeneralCategoryGroup, )
src/js/common/unicode_property.rs:676
↓ 39 callers
Method
write_register
(&mut self, reg: Register<W>, value: Value)
src/js/runtime/bytecode/vm.rs:1453
↓ 37 callers
Method
dest
(&self)
src/js/runtime/bytecode/instruction_traits.rs:35
↓ 37 callers
Method
eat
Advance if the current code unit is equal to the given character. Only valid for char in the u16 range. Return true if the character was consumed.
src/js/runtime/string_parsing.rs:78
↓ 36 callers
Method
alloc_static_string
(&mut self, str: &'static str)
src/js/runtime/context.rs:526
↓ 34 callers
Method
len
(&self)
src/js/common/wtf_8.rs:97
↓ 33 callers
Method
deref
(&self)
src/js/parser/ast.rs:73
↓ 33 callers
Method
is_bigint
(&self)
src/js/runtime/value.rs:259
↓ 33 callers
Method
shape
(&self)
src/js/runtime/string_value.rs:956
↓ 33 callers
Method
visit_value
(&mut self, value: &mut Value)
src/js/runtime/gc/heap_serializer.rs:240
↓ 32 callers
Method
function_ptr
(&self)
src/js/runtime/bytecode/function.rs:130
↓ 31 callers
Method
as_str
(&self)
src/js/common/wtf_8.rs:107
↓ 31 callers
Method
current
(&self)
src/js/parser/regexp_parser.rs:143
↓ 31 callers
Method
frozen
Install a frozen data property (non-writable, non-enumerable, non-configurable).
src/js/runtime/intrinsic_builder.rs:104
↓ 31 callers
Method
get_binding
(&self)
src/js/parser/ast.rs:323
next →
1–100 of 5,254, ranked by callers