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
↓ 8 callers
Function
func
(value: T)
tests/compiler/narrowingDestructuring/index.ts:7
↓ 8 callers
Function
func
()
tests/compiler/invalidContinueInDownlevelAsync/index.ts:5
↓ 8 callers
Function
func2
(stuff1:string, stuff2:number, stuff3:number)
tests/compiler/targetTypeTest3/index.ts:11
↓ 8 callers
Method
get_apparent_ty_of_contextual_ty
( &mut self, node: ast::NodeID, flags: Option<ContextFlags>, )
crates/checker/src/check/get_contextual.rs:1037
↓ 8 callers
Method
get_containing_class
(&self, id: ast::NodeID)
crates/binder/src/node_query/mod.rs:461
↓ 8 callers
Method
get_content
(&self, id: ModuleID)
helper/span/src/lib.rs:148
↓ 8 callers
Method
get_effective_rest_ty
( &self, checker: &mut TyChecker<'cx>, )
crates/checker/src/ty/sig.rs:86
↓ 8 callers
Method
get_effective_ret_type_node
(&self, id: ast::NodeID)
crates/checker/src/check/get_effective_node.rs:27
↓ 8 callers
Method
get_flow_node
(&self, id: FlowID)
crates/binder/src/flow.rs:126
↓ 8 callers
Method
get_literal_ty_from_prop
( &mut self, prop: SymbolID, include: TypeFlags, include_non_public: bool,
crates/checker/src/check/mod.rs:1490
↓ 8 callers
Method
get_literal_ty_from_prop_name
( &mut self, prop_name: &ast::PropNameKind<'cx>, )
crates/checker/src/check/mod.rs:1405
↓ 8 callers
Method
get_members_of_symbol
(&mut self, symbol: SymbolID)
crates/checker/src/check/resolve_structured_member.rs:822
↓ 8 callers
Method
get_min_ty_arg_count_of_ty_params
(&self, ty_params: ty::Tys<'cx>)
crates/checker/src/check/instantiate.rs:1329
↓ 8 callers
Method
get_mut_symbol
(&mut self, symbol: SymbolID)
crates/binder/src/merge.rs:137
↓ 8 callers
Method
get_parent_of_symbol
(&mut self, symbol: SymbolID)
crates/checker/src/check/symbol_info.rs:64
↓ 8 callers
Method
get_prop_of_object_ty
( &mut self, ty: &'cx ty::Ty<'cx>, name: SymbolName, )
crates/checker/src/check/relation.rs:1148
↓ 8 callers
Method
get_regular_ty
(&self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/check_expr.rs:100
↓ 8 callers
Method
get_ret_ty_from_anno
(&mut self, id: ast::NodeID)
crates/checker/src/check/get_ty.rs:2310
↓ 8 callers
Method
get_ty_args_for_alias_symbol
( &mut self, symbol: Option<SymbolID>, )
crates/checker/src/check/get_ty.rs:1673
↓ 8 callers
Method
includes
* Returns true if searchString appears as a substring of the result of converting this * object to a String, at one or more positions that are
crates/libs/src/declared_file/lib.es2015.core.d.ts:417
↓ 8 callers
Method
infer_with_priority
( &mut self, source: &'cx ty::Ty<'cx>, target: &'cx ty::Ty<'cx>, new_priority:
crates/checker/src/check/infer.rs:2052
↓ 8 callers
Method
insert_flow_of_node
(&mut self, node: ast::NodeID, flow: FlowID)
crates/binder/src/flow.rs:249
↓ 8 callers
Function
is
(value: T)
tests/compiler/narrowingMutualSubtypes/index.ts:92
↓ 8 callers
Function
isA
(x: MyUnion)
tests/compiler/narrowByBooleanComparison/index.ts:13
↓ 8 callers
Method
is_applicable_index_ty
( &mut self, source: &'cx ty::Ty<'cx>, target: &'cx ty::Ty<'cx>, )
crates/checker/src/check/mod.rs:1103
↓ 8 callers
Method
is_deeply_nested_type
( &self, ty: &'cx ty::Ty<'cx>, stack: &[&'cx ty::Ty<'cx>], max_depth: usize,
crates/checker/src/check/is_deeply_nested_type.rs:74
↓ 8 callers
Method
is_incomplete
(&self)
crates/checker/src/check/flow.rs:34
↓ 8 callers
Method
is_mapped_ty_with_keyof_constraint_decl
( &self, ty: &'cx ty::MappedTy<'cx>, )
crates/checker/src/check/resolve_structured_member.rs:1926
↓ 8 callers
Method
is_pattern_lit_ty
(&self)
crates/checker/src/ty/mod.rs:369
↓ 8 callers
Method
is_start_of_expr
(&mut self)
crates/parser/src/utils.rs:236
↓ 8 callers
Method
is_type_identical_to
(&mut self, s: &'cx ty::Ty<'cx>, t: &'cx ty::Ty<'cx>)
crates/checker/src/check/mod.rs:5220
↓ 8 callers
Method
lower_stmts
(&mut self, stmts: ast::Stmts<'cx>)
crates/optimize/src/lowering/mod.rs:65
↓ 8 callers
Function
map
()
tests/compiler/genericArray0/index.ts:11
↓ 8 callers
Method
metadata
( &mut self, p: &std::path::Path, atom: Option<Atom>, atoms: &mut bolt_ts_atom
helper/fs/src/real.rs:38
↓ 8 callers
Method
read_file
( &self, path: &std::path::Path, atoms: &mut AtomIntern, )
helper/fs/src/tree/mod.rs:247
↓ 8 callers
Method
reduce
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is
crates/libs/src/declared_file/lib.es5.d.ts:1486
↓ 8 callers
Method
reduced_left
( &mut self, array: &[T], f: impl Fn(&mut Self, U, T, usize) -> U, t_into_u: i
crates/checker/src/check/mod.rs:6201
↓ 8 callers
Method
remove_missing_ty
(&mut self, ty: &'cx ty::Ty<'cx>, is_optional: bool)
crates/checker/src/check/mod.rs:7960
↓ 8 callers
Method
resolve_error_call
(&mut self, expr: &impl CallLikeExpr<'cx>)
crates/checker/src/check/check_call_like.rs:636
↓ 8 callers
Method
scan_jsx_token
(&mut self, allow_multiline_jsx_text: bool)
crates/parser/src/scan.rs:1588
↓ 8 callers
Method
set_regular_ty
(&mut self, ty: &'cx ty::Ty<'cx>, regular_ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/check_expr.rs:116
↓ 8 callers
Method
staticMethod
()
tests/compiler/superCallInStaticMethod/index.ts:6
↓ 8 callers
Method
staticMethod
()
tests/compiler/superCallInStaticMethod/output/index.js:2
↓ 8 callers
Function
trim
(value: S)
tests/compiler/fest/index.ts:2545
↓ 8 callers
Function
try_extension
( candidate: &mut PathBuf, ext: Extension, only_record_failures: bool, state:
crates/module_resolve/src/lib.rs:319
↓ 8 callers
Method
ty_anno
(&self)
crates/ast/src/node.rs:455
↓ 8 callers
Method
ty_params
(&self)
crates/checker/src/ty/object_ty.rs:146
↓ 8 callers
Method
visit_stmt
(&mut self, node: &'cx ast::Stmt<'cx>)
crates/parser/src/lib.rs:335
↓ 7 callers
Method
abs
* Returns the absolute value of a number (the value without regard to whether it is positive or negative). * For example, the absolute value of -
crates/libs/src/declared_file/lib.es5.d.ts:680
↓ 7 callers
Method
add_stmt_to_basic_block
(&mut self, stmt: ir::Stmt, loc: (ir::GraphID, ir::BasicBlockID))
crates/optimize/src/lowering/mod.rs:50
↓ 7 callers
Method
apply
* Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.
crates/libs/src/declared_file/lib.es5.d.ts:279
↓ 7 callers
Method
as_call_expr
(&self)
crates/checker/src/check/check_call_like.rs:46
↓ 7 callers
Method
as_ident
(&self)
crates/ast/src/ty.rs:429
↓ 7 callers
Method
as_numeric
(&self)
crates/binder/src/symbol.rs:54
↓ 7 callers
Function
assertFunction
(x: Function)
tests/compiler/narrowingByTypeofInSwitch/index.ts:26
↓ 7 callers
Function
assertFunction
(x)
tests/compiler/narrowingByTypeofInSwitch/output/index.js:16
↓ 7 callers
Function
assertUndefined
(x: undefined)
tests/compiler/narrowingByTypeofInSwitch/index.ts:38
↓ 7 callers
Function
assertUndefined
(x)
tests/compiler/narrowingByTypeofInSwitch/output/index.js:25
↓ 7 callers
Method
can_parse_semi
(&self)
crates/parser/src/state.rs:147
↓ 7 callers
Method
charAt
* Returns the character at the specified index. * @param pos The zero-based index of the desired character.
crates/libs/src/declared_file/lib.es5.d.ts:416
↓ 7 callers
Method
check_declaration_initializer
( &mut self, decl: &impl VarLike<'cx>, check_mode: CheckMode, contextual_ty: O
crates/checker/src/check/mod.rs:6774
↓ 7 callers
Method
count
* The **`console.count()`** static method logs the number of times that this particular call to count() has been called. * * [MDN Reference]
crates/libs/src/declared_file/lib.webworker.d.ts:14667
↓ 7 callers
Method
create_ident_by_atom
(&mut self, name: Atom, span: Span)
crates/parser/src/state.rs:284
↓ 7 callers
Method
create_transient_symbol_with_ty
( &mut self, source: SymbolID, ty: &'cx crate::ty::Ty<'cx>, )
crates/checker/src/check/transient_symbol.rs:48
↓ 7 callers
Method
dir_exists
(&mut self, p: &std::path::Path, atoms: &mut bolt_ts_atom::AtomIntern)
helper/fs/src/real.rs:170
↓ 7 callers
Method
dotdotdot
(&self)
crates/optimize/src/ir/nodes.rs:1916
↓ 7 callers
Method
emit_prop_name
(&mut self, name: ir::PropName)
crates/optimize/src/emit/mod.rs:239
↓ 7 callers
Method
emit_type_parameters
(&mut self, n: Option<ast::TyParams<'cx>>)
crates/compiler/src/emit_declaration.rs:87
↓ 7 callers
Method
error
* The **`console.error()`** static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the
crates/libs/src/declared_file/lib.webworker.d.ts:14697
↓ 7 callers
Function
exports
()
tests/compiler/collisionExportsRequireAndFunctionInGlobalFile/index.ts:5
↓ 7 callers
Method
extract_tys_of_kind
(&mut self, ty: &'cx ty::Ty<'cx>, kind: TypeFlags)
crates/checker/src/check/mod.rs:7615
↓ 7 callers
Function
f
(arr: ArrayTail)
tests/compiler/removeMissingTyForWidened/index.ts:28
↓ 7 callers
Method
find_index_info
( &self, index_infos: &[&'cx ty::IndexInfo<'cx>], key_ty: &'cx ty::Ty<'cx>, )
crates/checker/src/check/index_info.rs:272
↓ 7 callers
Function
fn
(optionalEnum: MyEnum | undefined)
tests/compiler/enumMemberReduction/index.ts:23
↓ 7 callers
Method
get_awaited_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/check_stmt.rs:541
↓ 7 callers
Method
get_awaited_ty_no_alias
( &mut self, ty: &'cx ty::Ty<'cx>, )
crates/checker/src/check/check_stmt.rs:546
↓ 7 callers
Method
get_base_constructor_type_of_class
( &mut self, ty: &'cx ty::Ty<'cx>, )
crates/checker/src/check/get_declared_ty.rs:217
↓ 7 callers
Method
get_class_like_decl_of_symbol
(&self, symbol: SymbolID)
crates/checker/src/check/resolve_structured_member.rs:678
↓ 7 callers
Method
get_control_flow_container
(&self, node: ast::NodeID)
crates/binder/src/node_query/mod.rs:974
↓ 7 callers
Method
get_declared_ty_of_ty_param
(&mut self, symbol: SymbolID)
crates/checker/src/check/get_declared_ty.rs:76
↓ 7 callers
Method
get_discriminant_prop_access
( &mut self, refer: ast::NodeID, expr: ast::NodeID, computed_ty: &'cx ty::Ty<'
crates/checker/src/check/discriminant.rs:59
↓ 7 callers
Method
get_flow_ty_of_reference
( &mut self, refer: ast::NodeID, declared_ty: &'cx ty::Ty<'cx>, init_ty: Optio
crates/checker/src/check/flow.rs:65
↓ 7 callers
Method
get_index_ty_of_ty
( &mut self, ty: &'cx ty::Ty<'cx>, key_ty: &'cx ty::Ty<'cx>, )
crates/checker/src/check/get_ty.rs:2874
↓ 7 callers
Method
get_min_ty_arg_count
(&self, ty_params: Option<ty::Tys<'cx>>)
crates/checker/src/check/instantiate.rs:1322
↓ 7 callers
Method
get_mut
(&mut self, id: GraphID)
crates/optimize/src/ir/graph.rs:22
↓ 7 callers
Method
get_mut_inference_info
(&mut self, idx: usize)
crates/checker/src/check/infer.rs:1465
↓ 7 callers
Method
get_path
(&self, id: ModuleID)
helper/span/src/lib.rs:143
↓ 7 callers
Method
get_sigs_of_symbol
(&mut self, id: SymbolID)
crates/checker/src/check/get_sig.rs:138
↓ 7 callers
Method
get_widened_literal_ty
(&mut self, ty: &'cx ty::Ty<'cx>)
crates/checker/src/check/get_widened_ty.rs:133
↓ 7 callers
Method
has_inference_candidates
(&self)
crates/checker/src/check/infer.rs:64
↓ 7 callers
Method
id
(&self)
crates/checker/src/check/check_ty_refer_ty_or_import.rs:22
↓ 7 callers
Method
index
* The **`index()`** method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example
crates/libs/src/declared_file/lib.webworker.d.ts:6988
↓ 7 callers
Method
initializer
(&self)
crates/ast/src/node.rs:901
↓ 7 callers
Method
is_ambient
(&self)
crates/ast/src/stmt.rs:373
↓ 7 callers
Method
is_binding_ident
(self)
crates/ast/src/token.rs:595
↓ 7 callers
Method
is_external_or_commonjs_module
(&self)
crates/parser/src/lib.rs:146
↓ 7 callers
Method
is_lit_prop_name
(self)
crates/ast/src/token.rs:667
↓ 7 callers
Method
is_modifier_kind
(self)
crates/ast/src/token.rs:696
↓ 7 callers
Method
is_no_infer_ty
(&self)
crates/checker/src/ty/mod.rs:143
↓ 7 callers
Method
is_param
(&self)
crates/ast/src/trait/var_like.rs:33
← previous
next →
501–600 of 11,164, ranked by callers