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
↓ 5 callers
Method
num_cells_used
(&self)
src/js/runtime/intrinsics/finalization_registry_object.rs:127
↓ 5 callers
Method
one_byte_data
(&self)
src/js/runtime/string_value.rs:961
↓ 5 callers
Function
ordinary_get_own_property
OrdinaryGetOwnProperty (https://tc39.es/ecma262/#sec-ordinarygetownproperty)
src/js/runtime/ordinary_object.rs:156
↓ 5 callers
Method
own_property_keys
(&self, cx: Context)
src/js/runtime/object_value.rs:524
↓ 5 callers
Method
parse_class_set_operand
Parse a single ClassSetOperand, returning whether it MayContainStrings.
src/js/parser/regexp_parser.rs:1440
↓ 5 callers
Method
parse_disjunction
(&mut self)
src/js/parser/regexp_parser.rs:403
↓ 5 callers
Method
parse_expression
Expression (https://tc39.es/ecma262/#sec-comma-operator)
src/js/parser/parser.rs:1647
↓ 5 callers
Method
parse_identifier
(&mut self)
src/js/parser/parser.rs:2909
↓ 5 callers
Function
parse_lexer_stream
(cx: Context, lexer_stream: impl LexerStream)
src/js/runtime/intrinsics/regexp_constructor.rs:274
↓ 5 callers
Function
parse_module
( pcx: &ParseContext, options: Rc<Options>, )
src/js/parser/parser.rs:5059
↓ 5 callers
Function
parse_option_from_string
( cx: Context, option_value: Handle<Value>, )
src/js/runtime/intrinsics/temporal/utils.rs:117
↓ 5 callers
Method
parse_property_name
( &mut self, prop_context: PropertyContext, )
src/js/parser/parser.rs:3573
↓ 5 callers
Method
parse_string_literal
(&mut self)
src/js/parser/parser.rs:2862
↓ 5 callers
Method
peek
(&self)
src/js/parser/regexp_parser.rs:197
↓ 5 callers
Function
perform_promise_then
PerformPromiseThen (https://tc39.es/ecma262/#sec-performpromisethen) with a capability provided.
src/js/runtime/intrinsics/promise_prototype.rs:230
↓ 5 callers
Method
process_generated_function
Perform postprocessing for generated functions, such as adding to the list of all functions if necessary. Must be called on all functions after they a
src/js/runtime/bytecode/generator.rs:142
↓ 5 callers
Method
program_function_ptr
(&self)
src/js/runtime/module/source_text_module.rs:319
↓ 5 callers
Method
push_stack_frame
( &mut self, closure: HeapPtr<ClosureObject>, receiver: Value, args_rev_iter:
src/js/runtime/bytecode/vm.rs:2044
↓ 5 callers
Method
register_address
(&self, reg: Register<W>)
src/js/runtime/bytecode/vm.rs:1443
↓ 5 callers
Method
reset
(&mut self)
src/js/common/error.rs:86
↓ 5 callers
Method
resolve_identifier_use
(&mut self, id: &mut Identifier<'a>)
src/js/parser/analyze.rs:1680
↓ 5 callers
Method
resolve_this_use
(&mut self, loc: Loc, mut set_scope: impl FnMut(AstPtr<AstScopeNode<'a>>))
src/js/parser/analyze.rs:1684
↓ 5 callers
Method
resolve_use
( &mut self, result_scope: &mut TaggedResolvedScope<'a>, name: &Wtf8Str, loc:
src/js/parser/analyze.rs:1669
↓ 5 callers
Method
restore_pointer_bits
(&self)
src/js/runtime/value.rs:291
↓ 5 callers
Function
run_snapshot_tests
Run snapshot tests for all js files under the given directory. Individual tests implemented as a function takes in a path and returns the output of t
tests/snapshot/snapshot_tests.rs:280
↓ 5 callers
Function
same_object_value
(value1: HeapPtr<ObjectValue>, value2: HeapPtr<ObjectValue>)
src/js/runtime/type_utilities.rs:1298
↓ 5 callers
Method
scope_mut
(&mut self)
src/js/runtime/bytecode/stack_frame.rs:181
↓ 5 callers
Method
set_fp
(&mut self, fp: *mut StackSlotValue)
src/js/runtime/bytecode/vm.rs:218
↓ 5 callers
Method
set_message
(&mut self, message: String)
src/js/common/error.rs:74
↓ 5 callers
Method
set_new
(&mut self, cx: Context, capacity: usize)
src/js/runtime/bytecode/generator.rs:9975
↓ 5 callers
Function
string_to_bigint
StringToBigInt (https://tc39.es/ecma262/#sec-stringtobigint)
src/js/runtime/type_utilities.rs:922
↓ 5 callers
Method
suite_run
( &self, suite: &impl SuiteSpec, wall_clock_ms: f64, results: Vec<BenchResult>
tests/perf/src/suite.rs:59
↓ 5 callers
Method
target
(&self)
src/js/runtime/regexp/instruction.rs:392
↓ 5 callers
Method
to_handle
(self, cx: Context)
src/js/runtime/property_key.rs:265
↓ 5 callers
Function
to_object
ToObject (https://tc39.es/ecma262/#sec-toobject)
src/js/runtime/type_utilities.rs:558
↓ 5 callers
Method
two_byte_data
(&self)
src/js/runtime/string_value.rs:966
↓ 5 callers
Method
unwrap_resolved
(&self)
src/js/parser/ast.rs:371
↓ 5 callers
Function
use
()
tests/snapshot/bytecode/expression/this.js:1
↓ 5 callers
Function
validate_overflow_option
( cx: Context, options: Handle<Value>, method_name: &str, )
src/js/runtime/intrinsics/temporal/plain_date_constructor.rs:127
↓ 5 callers
Method
value_mut
(&mut self)
src/js/runtime/collections/hash_map.rs:460
↓ 5 callers
Method
viewed_array_buffer_ptr
(&self)
src/js/runtime/intrinsics/data_view_object.rs:49
↓ 5 callers
Method
visit_function_common
( &mut self, func: &mut Function<'a>, is_arrow_function: bool, is_method: bool
src/js/parser/analyze.rs:1060
↓ 5 callers
Method
visit_identifier
(&mut self, _: &mut Identifier<'a>)
src/js/parser/ast_visitor.rs:86
↓ 5 callers
Method
visit_outer_expression
(&mut self, expr: &mut OuterExpression<'a>)
src/js/parser/analyze.rs:385
↓ 5 callers
Method
write_default
(&mut self, name: &str)
src/js/runtime/debug_print.rs:96
↓ 5 callers
Method
write_default_with_context
(&mut self, name: &str, context: &str)
src/js/runtime/debug_print.rs:100
↓ 5 callers
Method
write_jump_false_instruction
( &mut self, condition: GenRegister, target_block: BlockId, )
src/js/runtime/bytecode/generator.rs:1576
↓ 5 callers
Method
year_month
(&self)
src/js/runtime/intrinsics/temporal/plain_year_month_object.rs:48
↓ 4 callers
Function
a
()
tests/snapshot/bytecode/expression/object/method.js:2
↓ 4 callers
Method
add_export
(&mut self, loc: Loc, name: &'a Wtf8Str)
src/js/parser/analyze.rs:1648
↓ 4 callers
Function
align_pointer_up
Align a heap pointer, rounding up to infinity
src/js/runtime/gc/heap.rs:446
↓ 4 callers
Method
alloc_export_name_string
( &mut self, module_name: &ast::ExportName, )
src/js/runtime/bytecode/generator.rs:625
↓ 4 callers
Method
alloc_vec
(&self)
src/js/parser/regexp_parser.rs:224
↓ 4 callers
Method
alloc_vec_with_element
(&self, element: U)
src/js/parser/parser.rs:302
↓ 4 callers
Method
as_any
(self)
src/js/runtime/module/module.rs:89
↓ 4 callers
Function
as_id_part
(code_point: CodePoint)
src/js/common/unicode.rs:304
↓ 4 callers
Method
as_typed_array
(&self)
src/js/runtime/object_value.rs:540
↓ 4 callers
Function
async_generator_complete_step
AsyncGeneratorCompleteStep (https://tc39.es/ecma262/#sec-asyncgeneratorcompletestep)
src/js/runtime/async_generator_object.rs:288
↓ 4 callers
Function
bench_program_parser
Benchmark just the parsing phase.
src/benches/benches.rs:140
↓ 4 callers
Function
bigint_literal_with_base
( lexer: &mut StringLexer, base: u32, current_digit_fn: fn(&StringLexer) -> Option<u32>, )
src/js/runtime/string_parsing.rs:553
↓ 4 callers
Method
body_branch
(&self)
src/js/runtime/regexp/instruction.rs:705
↓ 4 callers
Method
bytes_allocated
(&self)
src/js/runtime/gc/heap.rs:345
↓ 4 callers
Function
canonicalize
Canonicalize (https://tc39.es/ecma262/#sec-runtime-semantics-canonicalize-ch)
src/brimstone_icu_collections/build.rs:74
↓ 4 callers
Method
capacity
(&self)
src/js/runtime/array_properties.rs:382
↓ 4 callers
Method
capacity
(&self)
src/js/runtime/collections/hash_map.rs:85
↓ 4 callers
Method
character_class_range_to_set
( &self, class_range: &'a ClassRange, )
src/js/runtime/regexp/compiler.rs:926
↓ 4 callers
Method
class_atom_to_range_bound
(&mut self, atom: &ClassRange)
src/js/parser/regexp_parser.rs:1221
↓ 4 callers
Method
closure
(&self)
src/js/runtime/bytecode/stack_frame.rs:200
↓ 4 callers
Method
consume_compare_register
(&mut self)
src/js/runtime/regexp/matcher.rs:611
↓ 4 callers
Function
create_data_property
CreateDataProperty (https://tc39.es/ecma262/#sec-createdataproperty)
src/js/runtime/abstract_operations.rs:73
↓ 4 callers
Function
create_word_set_builder
()
src/js/runtime/regexp/compiler.rs:1358
↓ 4 callers
Method
current_source_file
Walk the stack, returning the first source file that is found. It is possible that no source file can be found if the stack contains only frames for
src/js/runtime/bytecode/vm.rs:1430
↓ 4 callers
Method
debug_assert_heap_well_formed
(&self)
src/js/runtime/gc/heap.rs:202
↓ 4 callers
Method
dec_indent
(&mut self)
src/js/parser/printer.rs:35
↓ 4 callers
Method
dec_iterable_depth
(&mut self)
src/js/parser/analyze.rs:203
↓ 4 callers
Function
decode_base64_code_unit_to_bits
Decode a single valid base64 code unit into its 6 bits of data.
src/js/runtime/intrinsics/encodings.rs:433
↓ 4 callers
Function
decode_forwarding_pointer
(shape: HeapPtr<Shape>)
src/js/runtime/gc/garbage_collector.rs:679
↓ 4 callers
Function
decode_varint
Decode a varint from the given buffer. Return the decoded value as well as its length in bytes.
src/js/common/varint.rs:21
↓ 4 callers
Function
decode_wtf8_codepoint
Lex a non-ASCII unicode code point encoded as UTF-8. Must only be called when we know the current byte is in-bounds and is not ASCII meaning it is the
src/js/common/unicode.rs:396
↓ 4 callers
Method
default_global_scope
(&self)
src/js/runtime/realm.rs:111
↓ 4 callers
Method
drop
(self)
src/js/runtime/context.rs:251
↓ 4 callers
Method
emit_clear_capture_instruction
(&mut self, capture_group_index: u32)
src/js/runtime/regexp/compiler.rs:175
↓ 4 callers
Method
emit_disjunction
(&mut self, disjunction: &Disjunction)
src/js/runtime/regexp/compiler.rs:319
↓ 4 callers
Method
emit_mark_capture_point_instruction
(&mut self, capture_point_index: u32)
src/js/runtime/regexp/compiler.rs:171
↓ 4 callers
Method
emit_word_comparison
(&mut self)
src/js/runtime/regexp/compiler.rs:558
↓ 4 callers
Method
enclosing_non_arrow_function
(&self)
src/js/parser/analyze.rs:231
↓ 4 callers
Method
end_branch
(&self)
src/js/runtime/regexp/instruction.rs:567
↓ 4 callers
Method
enqueue
(&mut self, task: Task)
src/js/runtime/tasks.rs:34
↓ 4 callers
Method
enter_function_scope
( &mut self, start_pos: Pos, is_arrow: bool, is_expression: bool, )
src/js/parser/parser.rs:931
↓ 4 callers
Method
entries_as_slice
(&self)
src/js/runtime/module/source_text_module.rs:373
↓ 4 callers
Method
entries_as_slice
(&self)
src/js/runtime/collections/index_map.rs:256
↓ 4 callers
Method
entries_as_slice_mut
(&mut self)
src/js/runtime/collections/index_map.rs:261
↓ 4 callers
Function
err_assign_constant
(cx: Context, name: HeapPtr<FlatString>)
src/js/runtime/error.rs:209
↓ 4 callers
Method
error_if_strict_eval_or_arguments
(&mut self, id: &Identifier)
src/js/parser/analyze.rs:276
↓ 4 callers
Method
error_unexpected_token
(&self, start_pos: Pos)
src/js/parser/regexp_parser.rs:239
↓ 4 callers
Method
escape_emit_function_result
Escape an emit result to the parent handle scope, modifying it in place. Must be called immediately after a child handle scope has been destroyed, be
src/js/runtime/bytecode/generator.rs:981
↓ 4 callers
Function
extra_wide_prefix_index_to_opcode_index
Round the byte index of a wide prefix to the byte index of the prefixed opcode. The opcode appears one byte before the operands, which are aligned to
src/js/runtime/bytecode/instruction.rs:2018
↓ 4 callers
Method
find_index
(&self, key: &Q)
src/js/runtime/collections/hash_map.rs:221
↓ 4 callers
Method
finish
Finish generating the bytecode for a function. Returns the bytecode function and the queue of AST node functions from the body that need to be generat
src/js/runtime/bytecode/generator.rs:1980
↓ 4 callers
Method
first_branch
(&self)
src/js/runtime/regexp/instruction.rs:420
← previous
next →
601–700 of 5,254, ranked by callers