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
↓ 31 callers
Method
is_nan
(&self)
src/js/runtime/value.rs:167
↓ 31 callers
Method
to_id
(&self)
src/js/runtime/intrinsics/rust_runtime.rs:1119
↓ 31 callers
Method
visit_expression
(&mut self, expr: &mut Expression<'a>)
src/js/parser/ast_visitor.rs:37
↓ 31 callers
Method
vm
(&mut self)
src/js/runtime/context.rs:255
↓ 29 callers
Method
add_wtf8_string_constant
(&mut self, str: &Wtf8Str)
src/js/runtime/bytecode/generator.rs:1697
↓ 29 callers
Method
as_bigint
(&self)
src/js/runtime/gc/handle.rs:465
↓ 29 callers
Method
is_empty
(&self)
src/js/common/wtf_8.rs:102
↓ 29 callers
Method
write_jump_instruction
(&mut self, target_block: BlockId)
src/js/runtime/bytecode/generator.rs:1516
↓ 28 callers
Method
as_mut
(&mut self)
src/js/parser/ast.rs:94
↓ 28 callers
Method
get
(&self, intrinsic: Intrinsic)
src/js/runtime/intrinsics/intrinsics.rs:538
↓ 28 callers
Method
is_weaker_than
(self, other: Precedence)
src/js/parser/parser.rs:62
↓ 28 callers
Method
read_register
(&self, reg: Register<W>)
src/js/runtime/bytecode/vm.rs:1448
↓ 28 callers
Function
to_numeric
ToNumeric (https://tc39.es/ecma262/#sec-tonumeric)
src/js/runtime/type_utilities.rs:141
↓ 27 callers
Method
iter
Returns an iterator over all suites that should be run.
tests/harness/src/manifest.rs:105
↓ 27 callers
Method
write
(buf: &mut Vec<u32>, code_point: u32)
src/js/runtime/regexp/instruction.rs:374
↓ 26 callers
Method
array_property
(&mut self, name: &str, values: &[T], print_value_fn: fn(&mut Self, &T))
src/js/parser/printer.rs:119
↓ 25 callers
Method
advance
(&mut self)
src/js/parser/lexer.rs:108
↓ 25 callers
Method
cast_mut
(&mut self)
src/js/runtime/gc/pointer.rs:37
↓ 25 callers
Method
current_block_buf
(&mut self)
src/js/runtime/regexp/compiler.rs:126
↓ 25 callers
Method
get
(&self)
src/js/runtime/value.rs:648
↓ 25 callers
Method
into_iter
(self)
src/js/parser/regexp.rs:227
↓ 25 callers
Method
is_smi
(&self)
src/js/runtime/value.rs:235
↓ 25 callers
Method
set_current_block
(&mut self, block_id: BlockId)
src/js/runtime/regexp/compiler.rs:98
↓ 25 callers
Function
to_number
ToNumber (https://tc39.es/ecma262/#sec-tonumber)
src/js/runtime/type_utilities.rs:151
↓ 25 callers
Method
to_wtf8_string
(self)
src/js/runtime/string_value.rs:590
↓ 25 callers
Function
validate_options_object
( cx: Context, options: Handle<Value>, method_name: &str, )
src/js/runtime/intrinsics/temporal/utils.rs:67
↓ 24 callers
Function
f
()
tests/integration/regression/000014.js:5
↓ 24 callers
Method
is_pointer
(&self)
src/js/runtime/value.rs:148
↓ 24 callers
Method
promise
(&self)
src/js/runtime/promise_object.rs:513
↓ 24 callers
Function
string_index_to_usize
(index: u32)
src/js/runtime/string_value.rs:1305
↓ 24 callers
Function
to_string
ToString (https://tc39.es/ecma262/#sec-tostring)
src/js/runtime/type_utilities.rs:513
↓ 23 callers
Method
as_smi
(&self)
src/js/runtime/value.rs:285
↓ 23 callers
Function
get_method
GetMethod (https://tc39.es/ecma262/#sec-getmethod)
src/js/runtime/abstract_operations.rs:140
↓ 23 callers
Method
parse_binary_expression
( &mut self, left: Expression<'a>, start_pos: Pos, operator: BinaryOperator,
src/js/parser/parser.rs:2205
↓ 23 callers
Function
to_boolean
ToBoolean (https://tc39.es/ecma262/#sec-toboolean)
src/js/runtime/type_utilities.rs:115
↓ 23 callers
Method
width
(&self)
src/js/runtime/string_value.rs:137
↓ 22 callers
Method
alloc_vec
(&self)
src/js/parser/parser.rs:298
↓ 22 callers
Method
call
[[Call]] (https://tc39.es/ecma262/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslist)
src/js/runtime/proxy_object.rs:628
↓ 22 callers
Method
data
(&self)
src/js/runtime/intrinsics/array_buffer_object.rs:116
↓ 22 callers
Method
is_empty
(&self)
src/js/runtime/bytecode/register_allocator.rs:70
↓ 22 callers
Method
string
(&mut self, str: &str)
src/js/parser/printer.rs:43
↓ 22 callers
Function
to_primitive
( mut cx: Context, value: Handle<Value>, mut preferred_type: ToPrimitivePreferredType, )
src/js/runtime/type_utilities.rs:46
↓ 22 callers
Method
write_mov_instruction
(&mut self, dest: GenRegister, src: GenRegister)
src/js/runtime/bytecode/generator.rs:1674
↓ 21 callers
Method
as_bigint
(&self)
src/js/runtime/value.rs:316
↓ 21 callers
Method
current_realm
(&self)
src/js/runtime/context.rs:411
↓ 21 callers
Method
print_str
(&mut self, string: &str)
src/js/parser/printer.rs:53
↓ 21 callers
Method
private_element_find
PrivateElementFind (https://tc39.es/ecma262/#sec-privateelementfind)
src/js/runtime/object_value.rs:164
↓ 21 callers
Method
stack_frame
(&self)
src/js/runtime/bytecode/vm.rs:1392
↓ 20 callers
Function
is_callable
IsCallable (https://tc39.es/ecma262/#sec-iscallable)
src/js/runtime/type_utilities.rs:714
↓ 20 callers
Method
new_block
(&mut self)
src/js/runtime/regexp/compiler.rs:92
↓ 20 callers
Method
vm_location
(&self)
src/js/parser/scope_tree.rs:1252
↓ 19 callers
Method
code_unit_at
Return the 16-bit code unit at the given index. This may be a surrogate pair that must be combined with an adjacent code unit to form a full unicode c
src/js/runtime/string_value.rs:180
↓ 19 callers
Method
error
(&self, loc: Loc, error: ParseError)
src/js/parser/lexer.rs:169
↓ 19 callers
Method
error
(&self, start_pos: Pos, error: ParseError)
src/js/parser/regexp_parser.rs:163
↓ 19 callers
Method
mark_loc
(&self, start_pos: Pos)
src/js/parser/lexer.rs:156
↓ 19 callers
Function
parse_decimal_digits
Parse exactly num_digits into an integer. Caller must ensure that `num_digits` is small enough to not cause overflow on an i64.
src/js/runtime/string_parsing.rs:681
↓ 19 callers
Method
private_element_set
( &mut self, cx: Context, private_name: Handle<SymbolValue>, value: Handle<Val
src/js/runtime/object_value.rs:363
↓ 19 callers
Method
scope_names_ptr
(&self)
src/js/runtime/scope.rs:135
↓ 19 callers
Method
set_property
Property accessors and mutators
src/js/runtime/object_value.rs:330
↓ 18 callers
Method
attribute
Attach an attribute to this node.
src/js/common/graphviz.rs:105
↓ 18 callers
Method
current_offset
(&self)
src/js/runtime/bytecode/writer.rs:38
↓ 18 callers
Method
gen_expression_with_dest
( &mut self, expr: &'a ast::Expression<'a>, dest: ExprDest, )
src/js/runtime/bytecode/generator.rs:2290
↓ 18 callers
Method
gen_outer_expression
( &mut self, expr: &'a ast::OuterExpression<'a>, )
src/js/runtime/bytecode/generator.rs:2357
↓ 18 callers
Function
get_overflow_option
GetTemporalOverflowOption (https://tc39.es/proposal-temporal/#sec-temporal-gettemporaloverflowoption)
src/js/runtime/intrinsics/temporal/utils.rs:133
↓ 18 callers
Method
method
Install a builtin method (writable, non-enumerable, configurable).
src/js/runtime/intrinsic_builder.rs:56
↓ 18 callers
Method
parse_assignment_expression
AssignmentExpression (https://tc39.es/ecma262/#sec-assignment-operators)
src/js/parser/parser.rs:1670
↓ 18 callers
Method
repeat
(&self, cx: Context, n: u32)
src/js/runtime/string_value.rs:479
↓ 18 callers
Function
syntax_parse_error
(cx: Context, error: &LocalizedParseError)
src/js/runtime/error.rs:217
↓ 17 callers
Method
backtrack
(&mut self)
src/js/runtime/regexp/matcher.rs:163
↓ 17 callers
Method
error_unexpected_token
(&self, loc: Loc, token: &Token)
src/js/parser/parser.rs:276
↓ 17 callers
Method
get
()
tests/integration/language/syntax/long_unicode_escape_sequences.js:27
↓ 17 callers
Method
is_empty
(&self)
tests/perf/src/suite.rs:18
↓ 17 callers
Method
resolve
FulfillPromise (https://tc39.es/ecma262/#sec-fulfillpromise)
src/js/runtime/promise_object.rs:136
↓ 16 callers
Method
as_symbol
(&self)
src/js/runtime/gc/handle.rs:460
↓ 16 callers
Method
closure
(&self)
src/js/runtime/bytecode/vm.rs:1402
↓ 16 callers
Method
id
(&self)
src/js/parser/ast.rs:1788
↓ 16 callers
Method
is_data_descriptor
IsDataDescriptor (https://tc39.es/ecma262/#sec-isdatadescriptor)
src/js/runtime/property_descriptor.rs:165
↓ 16 callers
Method
is_end
(&self)
src/js/runtime/string_parsing.rs:96
↓ 16 callers
Method
is_number
(&self)
src/js/runtime/value.rs:162
↓ 16 callers
Method
is_revoked
(&self)
src/js/runtime/proxy_object.rs:86
↓ 16 callers
Function
iterator_close
IteratorClose (https://tc39.es/ecma262/#sec-iteratorclose)
src/js/runtime/iterator.rs:187
↓ 16 callers
Method
pos
Return the position of the current code unit at lexer.current
src/js/runtime/string_parsing.rs:106
↓ 16 callers
Method
print_null
(&mut self)
src/js/parser/printer.rs:71
↓ 16 callers
Method
remove
Remove an entry from this map if the key is present. Return whether an entry was removed.
src/js/runtime/collections/hash_map.rs:142
↓ 16 callers
Method
set
()
tests/snapshot/parser/class/property.js:64
↓ 16 callers
Method
target
(&self)
src/js/runtime/proxy_object.rs:72
↓ 16 callers
Function
use
()
tests/snapshot/bytecode/expression/assign.js:3
↓ 16 callers
Method
value
(&self)
src/js/runtime/property.rs:126
↓ 15 callers
Method
add_edge
Add and return an edge between two node ids.
src/js/common/graphviz.rs:64
↓ 15 callers
Method
alloc_string
(&mut self, str: &str)
src/js/runtime/context.rs:521
↓ 15 callers
Method
bool
(value: bool)
src/js/runtime/value.rs:354
↓ 15 callers
Method
build
(&self)
tests/harness/src/table.rs:91
↓ 15 callers
Method
current_flags
(&self)
src/js/runtime/regexp/compiler.rs:130
↓ 15 callers
Method
find
Return the index of the first occurrence of the search string in this string, starting after a given index (inclusive). This function does not bounds
src/js/runtime/string_value.rs:207
↓ 15 callers
Function
has_property
HasProperty (https://tc39.es/ecma262/#sec-hasproperty)
src/js/runtime/abstract_operations.rs:158
↓ 15 callers
Method
is_async
(&self)
src/js/runtime/bytecode/generator.rs:1383
↓ 15 callers
Method
is_empty
(&self)
src/js/runtime/intrinsics/rust_runtime.rs:156
↓ 15 callers
Method
is_symbol
(&self)
src/js/runtime/value.rs:254
↓ 15 callers
Method
iter_code_points
(&self)
src/js/runtime/string_value.rs:648
↓ 15 callers
Method
ptr_eq
(&self, other: &Self)
src/js/runtime/gc/pointer.rs:27
← previous
next →
101–200 of 5,254, ranked by callers