Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bvanjoi/bolt-ts
/ functions
Functions
11,164 in github.com/bvanjoi/bolt-ts
⨍
Functions
11,164
◇
Types & classes
8,085
↓ 19 callers
Method
get_ty_of_expr
(&mut self, expr: &'cx ast::Expr<'cx>)
crates/checker/src/check/get_ty.rs:2721
↓ 19 callers
Method
isArray
(arg: any)
crates/libs/src/declared_file/lib.es5.d.ts:1518
↓ 19 callers
Method
kind
(&self)
helper/fs/src/tree/node.rs:31
↓ 19 callers
Method
then
* Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolve
crates/libs/src/declared_file/lib.es5.d.ts:1555
↓ 18 callers
Method
as_atom
(&self)
crates/binder/src/symbol.rs:47
↓ 18 callers
Function
cb
(x: number)
tests/compiler/overloadOnConstNoAnyImplementation/index.ts:19
↓ 18 callers
Method
do_inside_of_parse_context
( &mut self, context: ParseContext, f: impl FnOnce(&mut Self) -> T, )
crates/parser/src/state.rs:503
↓ 18 callers
Method
get_base_constraint_or_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/mod.rs:1132
↓ 18 callers
Method
get_indexed_access_ty
( &mut self, object_ty: &'cx Ty<'cx>, index_ty: &'cx Ty<'cx>, access_flags: Op
crates/checker/src/check/get_ty.rs:1409
↓ 18 callers
Method
get_ty_at_pos
(&mut self, sig: &Sig<'cx>, pos: usize)
crates/checker/src/check/check_call_like.rs:385
↓ 18 callers
Method
get_ty_param_from_mapped_ty
( &mut self, ty: &'cx ty::MappedTy<'cx>, )
crates/checker/src/check/get_mapped_ty_info.rs:90
↓ 18 callers
Method
get_ty_predicate_of_sig
( &mut self, sig: &'cx ty::Sig<'cx>, )
crates/checker/src/check/get_sig.rs:509
↓ 18 callers
Method
is_array
(&self, checker: &TyChecker<'cx>)
crates/checker/src/ty/mod.rs:500
↓ 18 callers
Method
map
(c: Collection<T>, f: (x: T) => U)
tests/compiler/callbacksDontShareTypes/index.ts:12
↓ 18 callers
Method
p_colon
`:`
crates/optimize/src/emit/print.rs:49
↓ 18 callers
Method
p_l_brace
`{`
crates/optimize/src/emit/print.rs:73
↓ 18 callers
Method
p_r_brace
`}`
crates/optimize/src/emit/print.rs:77
↓ 18 callers
Method
parse_ty
(&mut self)
crates/parser/src/ty.rs:35
↓ 17 callers
Method
body
(&self)
crates/optimize/src/ir/nodes.rs:2464
↓ 17 callers
Method
ch
(&self)
crates/parser/src/scan.rs:86
↓ 17 callers
Method
every_type
( &mut self, ty: &'cx ty::Ty<'cx>, f: impl Fn(&mut Self, &'cx ty::Ty<'cx>) -> bool,
crates/checker/src/check/utils.rs:77
↓ 17 callers
Method
finish
* The **`finish()`** method of the GPUCommandEncoder interface completes recording of the command sequence encoded on this GPUCommandEncoder, returnin
crates/libs/src/declared_file/lib.webworker.d.ts:5587
↓ 17 callers
Method
get_reduced_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/mod.rs:1216
↓ 17 callers
Method
get_string_literal_type_from_string
(&mut self, val: Atom)
crates/checker/src/check/get_ty.rs:2263
↓ 17 callers
Method
get_ty_with_facts
(&mut self, ty: &'cx ty::Ty<'cx>, include: TypeFacts)
crates/checker/src/check/mod.rs:6999
↓ 17 callers
Method
is_static
(&self)
crates/ast/src/stmt.rs:569
↓ 17 callers
Method
modifiers
(&self)
crates/optimize/src/ir/nodes.rs:3578
↓ 17 callers
Method
p_eq
(&mut self)
crates/optimize/src/emit/print.rs:41
↓ 17 callers
Method
resolve_structured_type_members
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/resolve_structured_member.rs:2182
↓ 17 callers
Method
some_type
( &mut self, ty: &'cx ty::Ty<'cx>, f: impl Fn(&mut Self, &'cx ty::Ty<'cx>) -> bool,
crates/checker/src/check/utils.rs:89
↓ 17 callers
Method
toLowerCase
Converts all the alphabetic characters in a string to lowercase.
crates/libs/src/declared_file/lib.es5.d.ts:500
↓ 16 callers
Method
alloc_num_lit
(&mut self, span: Span, val: f64)
crates/optimize/src/ir/nodes.rs:1578
↓ 16 callers
Function
assertNumber
(x: number)
tests/compiler/narrowingByTypeofInSwitch/index.ts:10
↓ 16 callers
Function
assertNumber
(x)
tests/compiler/narrowingByTypeofInSwitch/output/index.js:4
↓ 16 callers
Method
check_non_null_type
(&mut self, ty: &'cx ty::Ty<'cx>, node: ast::NodeID)
crates/checker/src/check/mod.rs:4042
↓ 16 callers
Method
check_ty
(&mut self, ty: &'cx ast::Ty<'cx>)
crates/checker/src/check/check_ty.rs:8
↓ 16 callers
Method
consume_whitespace
(&mut self)
crates/semver/src/parser.rs:45
↓ 16 callers
Method
create_type_reference
( &mut self, target: &'cx ty::Ty<'cx>, resolved_ty_args: Option<ty::Tys<'cx>>,
crates/checker/src/check/create_ty.rs:256
↓ 16 callers
Method
declare_symbol
( &mut self, name: Option<SymbolName>, location: SymbolTableLocation, parent:
crates/binder/src/create.rs:57
↓ 16 callers
Function
equal
(a: T, b: T)
tests/compiler/inferenceOfNullableObjectTypesWithCommonBase/index.ts:6
↓ 16 callers
Function
equal
(a, b)
tests/compiler/inferenceOfNullableObjectTypesWithCommonBase/output/index.js:1
↓ 16 callers
Method
get_declaration_of_kind
( &self, f: impl Fn(bolt_ts_ast::NodeID) -> bool, )
crates/binder/src/symbol.rs:293
↓ 16 callers
Method
get_number_literal_type_from_number
(&mut self, val: f64)
crates/checker/src/check/get_ty.rs:2233
↓ 16 callers
Method
get_ty_of_prop_of_ty
( &mut self, ty: &'cx ty::Ty<'cx>, name: SymbolName, )
crates/checker/src/check/mod.rs:4968
↓ 16 callers
Method
get_widened_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/get_widened_ty.rs:54
↓ 16 callers
Method
is_fn_like
(&self)
crates/ast/src/node.rs:222
↓ 16 callers
Method
method
(args: typeof arguments)
tests/compiler/arguments/index.ts:14
↓ 15 callers
Method
all
(list: T[], iterator?: Iterator<T, boolean>, context?: any)
tests/compiler/genericArgumentCallSigAssignmentCompat/index.ts:11
↓ 15 callers
Method
elems
(&self)
crates/optimize/src/ir/nodes.rs:2543
↓ 15 callers
Method
emit_list
( &mut self, list: &[T], emit_item: impl Fn(&mut Self, &T), emit_sep: impl Fn(
crates/optimize/src/emit/mod.rs:133
↓ 15 callers
Function
ensure_get_module
(module: RawModule, expected: Module)
crates/config/src/normalized/mod.rs:414
↓ 15 callers
Method
expect_atom
(&self)
crates/binder/src/symbol.rs:43
↓ 15 callers
Function
foo
(x:any)
tests/compiler/fatarrowfunctions/index.ts:6
↓ 15 callers
Method
foo
(package, protected)
tests/compiler/strictModeReservedWord2/index.ts:8
↓ 15 callers
Method
get_base_ty_of_literal_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/get_base_ty.rs:36
↓ 15 callers
Method
get_name_ty_from_mapped_ty
( &mut self, ty: &'cx ty::MappedTy<'cx>, )
crates/checker/src/check/get_mapped_ty_info.rs:118
↓ 15 callers
Method
get_non_nullable_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/mod.rs:5201
↓ 15 callers
Method
inference_info
( &self, inference: InferenceContextId, idx: usize, )
crates/checker/src/check/infer.rs:248
↓ 15 callers
Method
is_ident_or_keyword
(self)
crates/ast/src/token.rs:662
↓ 15 callers
Method
parent
(&self, node: ast::NodeID)
crates/compiler/src/wf/mod.rs:66
↓ 15 callers
Method
resolve_block_stmt
(&mut self, block: &'cx ast::BlockStmt<'cx>)
crates/early_resolve/src/lib.rs:984
↓ 15 callers
Method
then
(cb: (t: T) => void)
tests/compiler/jqueryInference/index.ts:7
↓ 15 callers
Method
visit_string_lit
(&mut self, node: &'cx ast::StringLit)
crates/compiler/src/emit_declaration.rs:623
↓ 14 callers
Method
alias_ty_arguments
(&self)
crates/checker/src/ty/mod.rs:411
↓ 14 callers
Method
allow_in_and
(&mut self, f: impl FnOnce(&mut Self) -> T)
crates/parser/src/state.rs:399
↓ 14 callers
Method
b
()
tests/compiler/contextualTypingFunctionReturningFunction/index.ts:7
↓ 14 callers
Method
bind_type_parameters
(&mut self, ty_params: Option<ast::TyParams<'cx>>)
crates/binder/src/bind_children.rs:178
↓ 14 callers
Function
build_temp_files
(map: serde_json::Value)
tools/compile-test/src/temp_files.rs:9
↓ 14 callers
Method
callee
(&self)
crates/optimize/src/ir/nodes.rs:2593
↓ 14 callers
Method
check_type_assignable_to
( &mut self, source: &'cx Ty<'cx>, target: &'cx Ty<'cx>, error_node: Option<as
crates/checker/src/check/relation.rs:527
↓ 14 callers
Method
every
* Determines whether all the members of an array satisfy the specified test. * @param predicate A function that accepts up to three arguments. Th
crates/libs/src/declared_file/lib.es5.d.ts:1438
↓ 14 callers
Function
foo
(x)
tests/compiler/fatarrowfunctions/output/index.js:1
↓ 14 callers
Method
func
(callback: (value: T) => U)
tests/compiler/genericChainedCalls/index.ts:6
↓ 14 callers
Method
get_contextual_ty
( &mut self, id: ast::NodeID, flags: Option<ContextFlags>, )
crates/checker/src/check/get_contextual.rs:50
↓ 14 callers
Method
get_index_info_of_ty
( &mut self, ty: &'cx ty::Ty<'cx>, key_ty: &'cx ty::Ty<'cx>, )
crates/checker/src/check/index_info.rs:283
↓ 14 callers
Method
get_index_ty
( &mut self, ty: &'cx ty::Ty<'cx>, index_flags: IndexFlags, )
crates/checker/src/check/get_ty.rs:2882
↓ 14 callers
Method
get_modifiers
(&self)
crates/ast/src/ty.rs:629
↓ 14 callers
Method
get_symbol_at_location
(&mut self, id: ast::NodeID)
crates/checker/src/check/get_symbol.rs:99
↓ 14 callers
Method
get_template_lit_ty
( &mut self, texts: &[bolt_ts_atom::Atom], tys: &[&'cx ty::Ty<'cx>], )
crates/checker/src/check/create_ty.rs:1678
↓ 14 callers
Method
get_template_ty_from_mapped_ty
( &mut self, ty: &'cx ty::MappedTy<'cx>, )
crates/checker/src/check/get_mapped_ty_info.rs:139
↓ 14 callers
Method
instantiate_tys
( &mut self, tys: ty::Tys<'cx>, mapper: &'cx dyn ty::TyMap<'cx>, )
crates/checker/src/check/instantiate.rs:98
↓ 14 callers
Method
is_class_like
(&self)
crates/ast/src/node.rs:202
↓ 14 callers
Method
is_empty_anonymous_object_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/mod.rs:4808
↓ 14 callers
Method
map
(f: (t: A) => B)
tests/compiler/typeInferenceReturnTypeCallback/index.ts:7
↓ 14 callers
Method
narrow_ty
( &mut self, ty: &'cx ty::Ty<'cx>, declared_ty: &'cx ty::Ty<'cx>, refer: ast::
crates/checker/src/check/flow.rs:1462
↓ 14 callers
Method
random
Returns a pseudorandom number between 0 and 1.
crates/libs/src/declared_file/lib.es5.d.ts:744
↓ 14 callers
Method
resolve_params
(&mut self, params: ast::ParamsDecl<'cx>)
crates/early_resolve/src/lib.rs:661
↓ 14 callers
Function
t
(ln: &str, expected: Option<(Option<&str>, &str)>)
tools/compile-test/src/header.rs:357
↓ 14 callers
Method
ty_args
(&self)
crates/checker/src/check/check_expr_with_ty_args.rs:26
↓ 13 callers
Method
could_contain_ty_var
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/instantiate.rs:136
↓ 13 callers
Method
create_tuple_ty
( &mut self, element_types: ty::Tys<'cx>, element_flags: Option<&'cx [ElementFlags]>,
crates/checker/src/check/create_ty.rs:72
↓ 13 callers
Method
declare_symbol_and_add_to_symbol_table
( &mut self, name: SymbolName, current: ast::NodeID, symbol_flags: SymbolFlags
crates/binder/src/bind_children.rs:374
↓ 13 callers
Method
from
* Creates an array from an array-like or iterable object. * @param arrayLike An array-like object to convert to an array.
crates/libs/src/declared_file/lib.es5.d.ts:2147
↓ 13 callers
Method
get_min_arg_count
(&mut self, sig: &'cx Sig<'cx>)
crates/checker/src/check/check_call_like.rs:790
↓ 13 callers
Method
get_prop_name_from_ty
(&self, ty: &'cx Ty<'cx>)
crates/checker/src/check/get_ty.rs:911
↓ 13 callers
Method
hasOwnProperty
(objectId: number)
tests/compiler/indexer2/index.ts:7
↓ 13 callers
Function
js_double_to_int32
reference: [ToInt32](https://tc39.es/ecma262/#sec-toint32)
crates/ecma_logical/src/lib.rs:14
↓ 13 callers
Method
next
()
tests/compiler/ClassDeclaration25/index.ts:5
↓ 13 callers
Function
no_hashmap_with_capacity
(capacity: usize)
helper/utils/src/lib.rs:22
↓ 13 callers
Method
node
(&self, id: FSNodeId)
helper/fs/src/tree/mod.rs:145
← previous
next →
201–300 of 11,164, ranked by callers