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
↓ 6 callers
Method
lex_utf8_codepoint
(&mut self)
src/js/parser/lexer.rs:1551
↓ 6 callers
Method
name
(&self)
tests/perf/src/suites/octane.rs:39
↓ 6 callers
Method
next_back
(&mut self)
src/js/runtime/string_value.rs:1432
↓ 6 callers
Method
num_parameters
(&self)
src/js/runtime/bytecode/function.rs:389
↓ 6 callers
Method
ok
(name: impl Into<String>, score: f64, unit: impl Into<String>)
tests/perf/src/report.rs:26
↓ 6 callers
Method
parse_identifier_name
Parse any identifier, including reserved words
src/js/parser/parser.rs:2964
↓ 6 callers
Function
parse_script
( pcx: &ParseContext, options: Rc<Options>, )
src/js/parser/parser.rs:5043
↓ 6 callers
Method
parse_statement_list_item
Parse a StatementListItem. Specify the flags to be used for function declarations.
src/js/parser/parser.rs:535
↓ 6 callers
Method
parse_unicode_codepoint
(&mut self)
src/js/parser/regexp_parser.rs:158
↓ 6 callers
Method
pos
(&self)
src/js/parser/lexer_stream.rs:159
↓ 6 callers
Function
prepare_calendar_fields
PrepareCalendarFields (https://tc39.es/proposal-temporal/#sec-temporal-preparecalendarfields)
src/js/runtime/intrinsics/temporal/utils.rs:939
↓ 6 callers
Method
previous_frame
(&self)
src/js/runtime/bytecode/stack_frame.rs:63
↓ 6 callers
Method
push_backtrack_entry
(&mut self, entry: BacktrackEntry)
src/js/runtime/regexp/matcher.rs:146
↓ 6 callers
Method
realm_ptr
(&self)
src/js/runtime/builtin_generator.rs:52
↓ 6 callers
Function
reference_error
(cx: Context, message: &str)
src/js/runtime/error.rs:193
↓ 6 callers
Method
resolve_weak
(&self, target: HeapPtr<AnyHeapItem>)
src/js/runtime/gc/garbage_collector.rs:384
↓ 6 callers
Method
restore
(&mut self, save_state: ParserSaveState<'a>)
src/js/parser/parser.rs:186
↓ 6 callers
Method
set_array_properties
(&mut self, array_properties: HeapPtr<ArrayProperties>)
src/js/runtime/object_value.rs:238
↓ 6 callers
Method
set_graph_attribute
Set a graph-level attribute.
src/js/common/graphviz.rs:76
↓ 6 callers
Method
set_heap_item_slot
Set the boxed value at the given slot index of a module scope.
src/js/runtime/scope.rs:176
↓ 6 callers
Method
set_number_data
(&mut self, number_data: f64)
src/js/runtime/intrinsics/number_object.rs:74
↓ 6 callers
Function
skip_decimal_digits
(lexer: &mut StringLexer)
src/js/runtime/string_parsing.rs:320
↓ 6 callers
Method
source_file_ptr
(&self)
src/js/runtime/bytecode/function.rs:439
↓ 6 callers
Method
state
(&self)
src/js/runtime/module/source_text_module.rs:195
↓ 6 callers
Method
success
(test: &Test, time: Duration)
tests/harness/src/runner.rs:635
↓ 6 callers
Method
suite_dir
(&self, subdir: &str)
tests/perf/src/suite.rs:42
↓ 6 callers
Method
to_heap
(&self)
src/js/runtime/property.rs:186
↓ 6 callers
Function
use
()
tests/snapshot/bytecode/expression/update.js:3
↓ 6 callers
Method
virtual_object
(&self)
src/js/runtime/object_value.rs:314
↓ 6 callers
Method
write_jump_false_for_expression
( &mut self, condition_expr: &ast::Expression, condition: GenRegister, target_
src/js/runtime/bytecode/generator.rs:1661
↓ 5 callers
Function
a
()
tests/snapshot/parser/expression/object.js:22
↓ 5 callers
Method
add_ignore_config
(&mut self, config_value: &serde_json::Value)
tests/harness/src/ignored.rs:153
↓ 5 callers
Method
add_node
Add and return a node with the given id.
src/js/common/graphviz.rs:50
↓ 5 callers
Method
advance2
(&mut self)
src/js/parser/regexp_parser.rs:188
↓ 5 callers
Method
alias
Create an alias for an existing property under a new key. All attributes of the property are preserved.
src/js/runtime/intrinsic_builder.rs:141
↓ 5 callers
Function
alloc_wtf8_str_from_source
Allocate a FlatString for the given Wtf8Str. This function expects the input Wtf8Str to have come directly from the source text, meaning it is guarant
src/js/runtime/bytecode/generator.rs:9480
↓ 5 callers
Method
analyze_function_params
Static analysis of parameters, returning the function flags that apply to the parameters.
src/js/parser/parser.rs:1013
↓ 5 callers
Method
annex_b
(mut self, annex_b: bool)
src/js/common/options.rs:232
↓ 5 callers
Method
array_properties_length
Array properties methods
src/js/runtime/object_value.rs:159
↓ 5 callers
Method
as_dense
(&self)
src/js/runtime/array_properties.rs:33
↓ 5 callers
Function
b
(c)
tests/snapshot/bytecode/expression/object/method.js:2
↓ 5 callers
Function
check_string_length
Checks if the string length is within the allowed maximum length and returns length if so. Otherwise returns a RangeError.
src/js/runtime/string_value.rs:678
↓ 5 callers
Method
complement_set
Return the complement of a set when in unicode sets mode.
src/js/runtime/regexp/compiler.rs:909
↓ 5 callers
Method
constant_table_ptr
(&self)
src/js/runtime/bytecode/function.rs:369
↓ 5 callers
Function
create_array_from_list
CreateArrayFromList (https://tc39.es/ecma262/#sec-createarrayfromlist)
src/js/runtime/array_object.rs:245
↓ 5 callers
Method
current_scope
(&self)
src/js/parser/scope_tree.rs:117
↓ 5 callers
Method
data_ptr
(&self)
src/js/runtime/collections/inline_array.rs:57
↓ 5 callers
Method
dump_buffer
(&self)
src/js/common/options.rs:146
↓ 5 callers
Method
emit_quantified_term_with_cleared_captures
Emit a term with a prefix that clears all captures in the term. Used for terms in quantifiers, since all captures are cleared at the start of each re
src/js/runtime/regexp/compiler.rs:743
↓ 5 callers
Method
emit_quantifier_optional_branch
( &mut self, quantifier: &Quantifier, term_block_id: BlockId, join_block_id: B
src/js/runtime/regexp/compiler.rs:726
↓ 5 callers
Method
emit_term
(&mut self, term: &Term)
src/js/runtime/regexp/compiler.rs:459
↓ 5 callers
Method
enqueue_pending_functions
( &mut self, parent_function: Handle<BytecodeFunction>, pending_functions: PendingFunc
src/js/runtime/bytecode/generator.rs:986
↓ 5 callers
Method
error
(&self, start_pos: Pos, error: ParseError)
src/js/parser/lexer_stream.rs:255
↓ 5 callers
Method
error_expected_token
( &self, loc: Loc, actual: &Token, expected: &Token, )
src/js/parser/parser.rs:280
↓ 5 callers
Method
exception_handlers_ptr
(&self)
src/js/runtime/bytecode/function.rs:374
↓ 5 callers
Method
expr_dest_for_destructuring_assignment
Find the best expression destination in which to place the result of a destructuring assignment. This allows destructuring assignments to store expre
src/js/runtime/bytecode/generator.rs:2807
↓ 5 callers
Method
finish_vm_scope_node
Complete an AST scope node and create a corresponding VM scope node if necessary. Optionally provide the number of arguments for a mapped arguments o
src/js/parser/scope_tree.rs:589
↓ 5 callers
Method
format
(&self, opts: &FormatOptions)
src/js/runtime/bytecode/generator.rs:9435
↓ 5 callers
Method
format
Format a table formed from a list of rows.
tests/harness/src/table.rs:86
↓ 5 callers
Method
gen_block_statement
(&mut self, stmt: &'a ast::Block<'a>)
src/js/runtime/bytecode/generator.rs:7424
↓ 5 callers
Method
gen_maybe_chain_part_expression
Generate an expression that may be part of an optional chain, propagating the optional chaining nullish block to expressions that may short circuit.
src/js/runtime/bytecode/generator.rs:4481
↓ 5 callers
Method
gen_new_closure_for_function
( &mut self, func: &ast::Function, dest: GenRegister, func_constant_index: Gen
src/js/runtime/bytecode/generator.rs:6817
↓ 5 callers
Method
gen_pattern_to_reference
Perform the first part of storing to a pattern - evaluating the pattern to a reference that will later be actually stored to. This allows for behavior
src/js/runtime/bytecode/generator.rs:6171
↓ 5 callers
Method
gen_store_to_reference
( &mut self, reference: Reference<'a>, value: GenRegister, flags: StoreFlags,
src/js/runtime/bytecode/generator.rs:6260
↓ 5 callers
Method
get_capture_point
(&self, capture_point_index: u32)
src/js/runtime/regexp/matcher.rs:262
↓ 5 callers
Function
get_iterator
GetIterator (https://tc39.es/ecma262/#sec-getiterator)
src/js/runtime/iterator.rs:63
↓ 5 callers
Method
get_mapped_scope_index_for_key
(&self, key: Handle<PropertyKey>)
src/js/runtime/arguments_object.rs:139
↓ 5 callers
Function
get_temporal_option
Parse a temporal option from an optional options object. Parameterized by an option in the `temporal_rs` crate.
src/js/runtime/intrinsics/temporal/utils.rs:83
↓ 5 callers
Function
get_test_root
(dirname: &str)
tests/snapshot/snapshot_tests.rs:45
↓ 5 callers
Method
has_current
(&self)
src/js/parser/lexer_stream.rs:115
↓ 5 callers
Method
heap_size
(&self)
src/js/runtime/gc/heap.rs:298
↓ 5 callers
Method
id
(&self)
src/js/runtime/module/synthetic_module.rs:102
↓ 5 callers
Method
inc_indent
(&mut self)
src/js/parser/printer.rs:31
↓ 5 callers
Method
index
(&self, index: Range<usize>)
src/js/common/wtf_8.rs:361
↓ 5 callers
Method
instant
(&self)
src/js/runtime/intrinsics/temporal/instant_object.rs:47
↓ 5 callers
Function
is_array
IsArray (https://tc39.es/ecma262/#sec-isarray)
src/js/runtime/type_utilities.rs:693
↓ 5 callers
Method
is_bool
(&self)
src/js/runtime/value.rs:225
↓ 5 callers
Method
is_callable
(&self)
src/js/runtime/proxy_object.rs:77
↓ 5 callers
Method
is_exported
(&self)
src/js/parser/scope_tree.rs:1269
↓ 5 callers
Method
is_function_expression_name
Return whether the binding at index is a function expression name binding.
src/js/runtime/scope_names.rs:169
↓ 5 callers
Method
is_function_start
(&mut self)
src/js/parser/parser.rs:676
↓ 5 callers
Method
is_immutable
(&self)
src/js/runtime/realm.rs:455
↓ 5 callers
Method
is_property_end
(&mut self, prop_context: PropertyContext)
src/js/parser/parser.rs:3538
↓ 5 callers
Method
is_property_initializer
(&mut self, prop_context: PropertyContext)
src/js/parser/parser.rs:3556
↓ 5 callers
Method
iter_bindings
Iterator over all bindings in this scope, including function parameters and catch parameters.
src/js/parser/scope_tree.rs:955
↓ 5 callers
Method
iter_gc_unsafe
(&self)
src/js/runtime/array_properties.rs:415
↓ 5 callers
Function
iterator_complete
IteratorComplete (https://tc39.es/ecma262/#sec-iteratorcomplete)
src/js/runtime/iterator.rs:164
↓ 5 callers
Function
iterator_step_value
IteratorStepValue (https://tc39.es/ecma262/#sec-iteratorstepvalue) Returns the value from the next iteration of the iterator, unless the iterator is
src/js/runtime/iterator.rs:216
↓ 5 callers
Function
iterator_value
IteratorValue (https://tc39.es/ecma262/#sec-iteratorvalue)
src/js/runtime/iterator.rs:170
↓ 5 callers
Method
jump_constant
(&mut self, constant_index: ConstantIndex<W>)
src/js/runtime/bytecode/vm.rs:1482
↓ 5 callers
Method
jump_immediate
(&mut self, offset: SInt<W>)
src/js/runtime/bytecode/vm.rs:1476
↓ 5 callers
Method
len
(&self)
src/js/runtime/collections/array.rs:74
↓ 5 callers
Method
line_offsets
(&self)
src/js/parser/source.rs:96
↓ 5 callers
Method
maybe_expect_semicolon
Consume a semicolon if present and return true, otherwise return if a semicolon could be inserted via automatic semicolon insertion.
src/js/parser/parser.rs:383
↓ 5 callers
Method
maybe_grow_for_insertion
Prepare array for insertion of a single cell. This will grow the array and update container to point to new array if there is no room to insert anothe
src/js/runtime/intrinsics/finalization_registry_object.rs:133
↓ 5 callers
Function
min_width_for_unsigned
Return the minimum width needed to fit the given unsigned value.
src/js/runtime/bytecode/operand.rs:340
↓ 5 callers
Method
name_ptrs
(&self)
src/js/runtime/scope_names.rs:127
↓ 5 callers
Function
needs_surrogate_pair
(code_point: CodePoint)
src/js/common/unicode.rs:72
↓ 5 callers
Method
needs_tdz_check
Whether this binding needs TDZ checks when accessed.
src/js/parser/scope_tree.rs:1261
↓ 5 callers
Method
null
()
src/js/runtime/value.rs:344
← previous
next →
501–600 of 5,254, ranked by callers