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
↓ 15 callers
Method
read_register_to_handle
(&mut self, reg: Register<W>)
src/js/runtime/bytecode/vm.rs:1458
↓ 15 callers
Method
scope
(&self)
src/js/runtime/bytecode/vm.rs:1397
↓ 15 callers
Function
syntax_error
(cx: Context, message: &str)
src/js/runtime/error.rs:185
↓ 15 callers
Function
to_integer_with_truncation
ToIntegerWithTruncation (https://tc39.es/proposal-temporal/#sec-tointegerwithtruncation)
src/js/runtime/intrinsics/temporal/utils.rs:556
↓ 14 callers
Method
cmp
(&self, other: &Self)
src/js/runtime/string_value.rs:1276
↓ 14 callers
Method
eat
(&mut self, char: char)
src/js/parser/regexp_parser.rs:215
↓ 14 callers
Function
f
()
tests/snapshot/bytecode/bytecode/jump_patching.js:1
↓ 14 callers
Method
gen_scope_start
( &mut self, scope: &'a AstScopeNode<'a>, flags: Option<ScopeFlags>, )
src/js/runtime/bytecode/generator.rs:7490
↓ 14 callers
Method
iterator
(&self)
src/js/runtime/intrinsics/wrapped_valid_iterator_object.rs:42
↓ 14 callers
Method
parse_outer_expression
(&mut self)
src/js/parser/parser.rs:1642
↓ 14 callers
Method
property
Install any key/property pair on the object.
src/js/runtime/intrinsic_builder.rs:125
↓ 14 callers
Method
set_unchecked
(&mut self, index: usize, value: T)
src/js/runtime/collections/inline_array.rs:87
↓ 14 callers
Function
swap_and_save
(reference: &mut T, new_value: T)
src/js/parser/parser.rs:137
↓ 14 callers
Method
write_jump_true_instruction
( &mut self, condition: GenRegister, target_block: BlockId, )
src/js/runtime/bytecode/generator.rs:1529
↓ 13 callers
Method
advance
(&mut self)
src/js/parser/regexp_parser.rs:183
↓ 13 callers
Method
args
(&self)
src/js/runtime/bytecode/stack_frame.rs:228
↓ 13 callers
Method
expect_semicolon
Expect a semicolon, or insert one via automatic semicolon insertion if possible. Error if a semicolon was not present and one could not be inserted.
src/js/parser/parser.rs:361
↓ 13 callers
Method
gen_mov_reg_to_dest
Move a src register to the expression destination if necessary. Releases the source register if it was moved.
src/js/runtime/bytecode/generator.rs:2841
↓ 13 callers
Method
gen_scope_end
(&mut self, scope: &AstScopeNode)
src/js/runtime/bytecode/generator.rs:7660
↓ 13 callers
Method
gen_statement
(&mut self, stmt: &'a ast::Statement<'a>)
src/js/runtime/bytecode/generator.rs:2252
↓ 13 callers
Method
get_ast_node_mut
(&mut self, node_id: ScopeNodeId)
src/js/parser/scope_tree.rs:129
↓ 13 callers
Method
getter
Install a getter-only accessor (non-enumerable, configurable).
src/js/runtime/intrinsic_builder.rs:78
↓ 13 callers
Method
handler
(&self)
src/js/runtime/proxy_object.rs:67
↓ 13 callers
Method
is_null
(&self)
src/js/runtime/value.rs:213
↓ 13 callers
Method
len
(&self)
src/js/runtime/string_value.rs:105
↓ 13 callers
Function
modulo
(a: T, b: T)
src/js/common/math.rs:7
↓ 13 callers
Method
offset
(&self)
src/js/runtime/bytecode/instruction_traits.rs:209
↓ 13 callers
Method
pos
(&self)
src/js/parser/regexp_parser.rs:138
↓ 13 callers
Method
push_wtf8_str
(&mut self, string: &Wtf8Str)
src/js/common/wtf_8.rs:134
↓ 13 callers
Function
skip_string_whitespace
(lexer: &mut StringLexer)
src/js/runtime/string_parsing.rs:314
↓ 13 callers
Method
visit_outer_expression
(&mut self, expr: &mut OuterExpression<'a>)
src/js/parser/ast_visitor.rs:88
↓ 13 callers
Method
visit_pattern
(&mut self, patt: &mut Pattern<'a>)
src/js/parser/ast_visitor.rs:74
↓ 13 callers
Method
vm_scope_id
(&self)
src/js/parser/scope_tree.rs:908
↓ 13 callers
Method
write
(&mut self, s: &str)
src/js/runtime/debug_print.rs:92
↓ 13 callers
Method
zoned_date_time
(&self)
src/js/runtime/intrinsics/temporal/zoned_date_time_object.rs:50
↓ 12 callers
Method
as_bool
(&self)
src/js/runtime/value.rs:280
↓ 12 callers
Method
as_dyn_module
(&self)
src/js/runtime/module/synthetic_module.rs:113
↓ 12 callers
Method
code_point_at
(&self, index: usize)
src/js/parser/lexer_stream.rs:146
↓ 12 callers
Method
delete
(&mut self, cx: Context, key: Handle<PropertyKey>)
src/js/runtime/object_value.rs:519
↓ 12 callers
Method
enter_scope
(&mut self, scope: AstPtr<AstScopeNode<'a>>)
src/js/parser/analyze.rs:288
↓ 12 callers
Method
exit_scope
Exit the current AST scope node.
src/js/parser/scope_tree.rs:113
↓ 12 callers
Method
gen_return
Return a value from the current function, returning `undefined` if no value is provided. May not emit a return instruction directly, e.g. if return i
src/js/runtime/bytecode/generator.rs:9006
↓ 12 callers
Method
get
()
tests/snapshot/parser/class/property.js:63
↓ 12 callers
Method
get_constant
(&self, constant_index: ConstantIndex<W>)
src/js/runtime/bytecode/vm.rs:1463
↓ 12 callers
Method
init_with_uninit
Initialize an uninitialized InlineArray.
src/js/runtime/collections/inline_array.rs:18
↓ 12 callers
Method
is_new_line_before_current
(&self)
src/js/parser/lexer.rs:88
↓ 12 callers
Method
kind
(&self)
src/js/parser/scope_tree.rs:896
↓ 12 callers
Method
module_scope_ptr
(&self)
src/js/runtime/module/synthetic_module.rs:107
↓ 12 callers
Method
set
(&mut self, value: Value)
src/js/runtime/boxed_value.rs:32
↓ 12 callers
Method
start_regexp_node
(&mut self, name: &str)
src/js/parser/printer.rs:96
↓ 11 callers
Method
add_binding
(&mut self, id: &mut Identifier<'a>, kind: BindingKind<'a>)
src/js/parser/parser.rs:315
↓ 11 callers
Method
as_any
(&self)
src/js/runtime/gc/heap_item.rs:134
↓ 11 callers
Method
contains_key
Returns whether this map contains the given key.
src/js/runtime/collections/hash_map.rs:119
↓ 11 callers
Method
emit
(&self, token: Token<'b>, start_pos: Pos)
src/js/parser/lexer.rs:160
↓ 11 callers
Method
gen_undefined_completion_if_necessary
Many statements complete to undefined by default if no other value is found.
src/js/runtime/bytecode/generator.rs:7752
↓ 11 callers
Method
get_unchecked
(&self, index: usize)
src/js/runtime/collections/inline_array.rs:77
↓ 11 callers
Method
has_any_unicode_flag
Either the `u` or `v` flag is set
src/js/parser/regexp.rs:80
↓ 11 callers
Method
initial_realm
(&self)
src/js/runtime/context.rs:269
↓ 11 callers
Method
is_configurable
(&self)
src/js/runtime/property.rs:134
↓ 11 callers
Function
is_decimal_digit
(code_point: CodePoint)
src/js/common/unicode.rs:115
↓ 11 callers
Method
iter_code_units
(&self)
src/js/runtime/string_value.rs:643
↓ 11 callers
Method
len
(&self)
src/js/runtime/array_properties.rs:372
↓ 11 callers
Method
pop_jump_statement_target
(&mut self)
src/js/runtime/bytecode/generator.rs:9248
↓ 11 callers
Method
push_jump_statement_target
( &mut self, label_id: Option<ast::LabelId>, kind: TargetKind, )
src/js/runtime/bytecode/generator.rs:9221
↓ 11 callers
Method
shape
(&self)
src/js/runtime/gc/heap_item.rs:302
↓ 11 callers
Method
sp
(&self)
src/js/runtime/bytecode/vm.rs:203
↓ 10 callers
Method
advance_n
(&mut self, n: usize)
src/js/parser/lexer.rs:98
↓ 10 callers
Method
advance_n
(&mut self, n: usize)
src/js/parser/lexer_stream.rs:174
↓ 10 callers
Method
alloc
(&self)
src/js/parser/context.rs:24
↓ 10 callers
Method
as_one_byte_slice
(&self)
src/js/runtime/string_value.rs:971
↓ 10 callers
Method
as_two_byte_slice
(&self)
src/js/runtime/string_value.rs:976
↓ 10 callers
Function
call
Call (https://tc39.es/ecma262/#sec-call)
src/js/runtime/abstract_operations.rs:177
↓ 10 callers
Method
capacity
(&self)
src/js/runtime/collections/vec.rs:59
↓ 10 callers
Function
create_iter_result_object
CreateIteratorResultObject (https://tc39.es/ecma262/#sec-createiterresultobject)
src/js/runtime/iterator.rs:254
↓ 10 callers
Method
enter_scope
Enter a new AST scope node with the provided kind.
src/js/parser/scope_tree.rs:103
↓ 10 callers
Method
exit_scope
(&mut self)
src/js/parser/analyze.rs:296
↓ 10 callers
Method
fp
(&self)
src/js/runtime/bytecode/vm.rs:213
↓ 10 callers
Method
gen_await
( &mut self, value: GenRegister, pos: Pos, dest: ExprDest, )
src/js/runtime/bytecode/generator.rs:5215
↓ 10 callers
Method
gen_load_finally_branch_id
( &mut self, finally_branch_id: FinallyBranchId, dest: GenRegister, )
src/js/runtime/bytecode/generator.rs:8923
↓ 10 callers
Method
get_own_property
( &self, cx: Context, key: Handle<PropertyKey>, )
src/js/runtime/object_value.rs:474
↓ 10 callers
Method
get_tag
(&self)
src/js/runtime/value.rs:138
↓ 10 callers
Method
insert_without_growing
(&mut self, global_scope: HeapPtr<Scope>)
src/js/runtime/realm.rs:418
↓ 10 callers
Method
is_empty
(&self)
src/js/runtime/value.rs:230
↓ 10 callers
Function
is_low_surrogate_code_unit
(code_unit: CodeUnit)
src/js/common/unicode.rs:68
↓ 10 callers
Method
is_nullish
(&self)
src/js/runtime/value.rs:218
↓ 10 callers
Method
iter_mut_gc_unsafe
Return an iterator over the entries of the map. Iterator is not GC-safe, so make sure there are no allocations between construction and use.
src/js/runtime/collections/hash_map.rs:161
↓ 10 callers
Method
number_data
(&self)
src/js/runtime/intrinsics/number_object.rs:70
↓ 10 callers
Function
ordinary_object_create
(cx: Context)
src/js/runtime/ordinary_object.rs:571
↓ 10 callers
Method
set_in_strict_mode
(&mut self, in_strict_mode: bool)
src/js/parser/parser.rs:199
↓ 10 callers
Method
set_options
(mut self, options: Rc<Options>)
src/js/runtime/context.rs:692
↓ 10 callers
Method
size
Return the number of u32 words this instruction takes up.
src/js/runtime/regexp/instruction.rs:171
↓ 10 callers
Function
skip_json_whitespace
(lexer: &mut StringLexer)
src/js/runtime/intrinsics/json_parser.rs:105
↓ 10 callers
Function
syntax_error_value
(cx: Context, message: &str)
src/js/runtime/error.rs:165
↓ 10 callers
Function
to_integer_if_integral
ToIntegerIfIntegral (https://tc39.es/proposal-temporal/#sec-tointegerifintegral)
src/js/runtime/intrinsics/temporal/utils.rs:535
↓ 10 callers
Function
to_integer_or_infinity_f64
(number_f64: f64)
src/js/runtime/type_utilities.rs:208
↓ 10 callers
Method
visit_statement
(&mut self, stmt: &mut Statement<'a>)
src/js/parser/ast_visitor.rs:12
↓ 10 callers
Function
wrap_outer
(expr: Expression)
src/js/parser/parser.rs:5026
↓ 10 callers
Method
write_indent
(&mut self)
src/js/runtime/debug_print.rs:88
↓ 10 callers
Method
zero
(&self)
src/js/runtime/context.rs:570
↓ 9 callers
Method
alloc_wtf8_str
(&mut self, str: &Wtf8Str)
src/js/runtime/bytecode/generator.rs:136
← previous
next →
201–300 of 5,254, ranked by callers