Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bea4dev/catla
/ functions
Functions
1,060 in github.com/bea4dev/catla
⨍
Functions
1,060
◇
Types & classes
358
↓ 970 callers
Method
clone
(&self)
catla_old_unused/src/transpiler/semantics/types/type_info.rs:962
↓ 721 callers
Method
clone
(&self)
src/catla_std/src/object.rs:215
↓ 235 callers
Method
get_kind
(&self)
catla_old_unused/catla_parser/src/parser.rs:1075
↓ 215 callers
Method
as_str
(&self)
catla_old_unused/catla_parser/src/parser.rs:423
↓ 208 callers
Method
map
(self, f: F)
src/catla_parser/src/ast.rs:112
↓ 149 callers
Method
get
(&self, id: GlobalUserTypeID)
src/catla_type/src/types.rs:408
↓ 135 callers
Method
insert
(&mut self, key: EntityID, value: T)
catla_old_unused/src/transpiler/component.rs:60
↓ 132 callers
Method
get
(&self, entity_id: EntityID)
catla_old_unused/src/transpiler/semantics/types/type_info.rs:1412
↓ 132 callers
Method
next
(&mut self)
src/catla_parser/src/lexer.rs:355
↓ 126 callers
Method
current
(&mut self)
src/catla_parser/src/lexer.rs:312
↓ 120 callers
Method
insert
(&mut self, entity_id: EntityID, implements_info: ImplementsInfo)
catla_old_unused/src/transpiler/semantics/types/type_info.rs:1408
↓ 117 callers
Method
next
(&mut self)
catla_old_unused/catla_parser/src/lexer.rs:289
↓ 110 callers
Method
map
(self, function: F)
catla_old_unused/src/transpiler/semantics/types/type_info.rs:978
↓ 101 callers
Method
add_str
(&mut self, str: &'allocator str)
catla_old_unused/src/transpiler/codegen.rs:61
↓ 88 callers
Method
elapsed
(&self, lexer: &Lexer)
src/catla_parser/src/lexer.rs:433
↓ 83 callers
Method
push_line
(&self, code: &str)
src/catla_codegen/src/lib.rs:142
↓ 73 callers
Method
clone
(&self)
catla_old_unused/catla_transpile_std/src/holder.rs:52
↓ 68 callers
Method
moduled
(self, module_path: ModulePath, span: Range<usize>)
src/catla_util/src/module_path.rs:42
↓ 65 callers
Method
prev
(&mut self)
catla_old_unused/catla_parser/src/parser.rs:864
↓ 63 callers
Method
current
(&self)
catla_old_unused/catla_parser/src/parser.rs:849
↓ 62 callers
Method
collect
( &self, override_keyword_span: Range<usize>, interface_span: Range<usize>, ty
catla_old_unused/src/transpiler/semantics/types/type_info.rs:3030
↓ 61 callers
Method
cast_anchor
(&self)
src/catla_parser/src/lexer.rs:324
↓ 61 callers
Method
get_massage
(&self, localized_text: &LocalizedText, ty: ErrorMessageType)
catla_old_unused/src/transpiler/error.rs:28
↓ 59 callers
Function
skip
( cursor: &mut TokenCursor<'input, 'allocator>, skip_kinds: &[TokenKind], )
catla_old_unused/catla_parser/src/parser.rs:943
↓ 57 callers
Function
recover_until
( lexer: &mut Lexer, until: &[TokenKind], kind: ParseErrorKind, )
src/catla_parser/src/error.rs:71
↓ 55 callers
Method
elapsed
( &self, cursor: &TokenCursor<'input, 'allocator>, )
catla_old_unused/catla_parser/src/parser.rs:888
↓ 53 callers
Method
get_span
(&self)
catla_old_unused/catla_parser/src/parser.rs:369
↓ 49 callers
Method
get
(&self, modules: impl IntoIterator<Item = &String>)
src/catla_compiler/src/resource.rs:25
↓ 48 callers
Method
set_entity_type
(&mut self, entity_id: EntityID, ty: WithDefineInfo<Type>)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:230
↓ 42 callers
Method
add_line
(&mut self, str: String<'allocator>)
catla_old_unused/src/transpiler/codegen.rs:53
↓ 42 callers
Function
unexpected_token_error
( allocator: &'allocator Bump, token: Option<&Token<'input>>, )
catla_old_unused/catla_parser/src/parser.rs:1029
↓ 40 callers
Method
with_span
(self, span: Range<usize>)
src/catla_parser/src/ast.rs:122
↓ 39 callers
Method
get_lifetime_tree
(&mut self, lifetime_tree_ref: LifetimeTreeRef)
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:203
↓ 37 callers
Method
get
(&self)
catla_old_unused/src/transpiler/future.rs:28
↓ 35 callers
Method
collect
(self)
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:72
↓ 32 callers
Method
get_entity_type
(&self, entity_id: EntityID)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:1917
↓ 29 callers
Method
create_entity_lifetime_tree
(&mut self, entity_id: EntityID)
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:156
↓ 29 callers
Method
lock
( &self, )
catla_old_unused/src/transpiler/semantics/types/type_info.rs:928
↓ 29 callers
Method
resolve_entity_type
(&self, entity_id: EntityID)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:1085
↓ 29 callers
Method
resolve_lifetime_ref
(&self, mut lifetime_tree_ref: LifetimeTreeRef)
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:188
↓ 29 callers
Method
to_display_string
( &self, user_type_set: &GlobalUserTypeSet, type_environment: Option<&TypeEnvironment>
src/catla_type/src/types.rs:109
↓ 28 callers
Method
get_massage_optional
(&self, localized_text: &LocalizedText, ty: ErrorMessageType)
catla_old_unused/src/transpiler/error.rs:32
↓ 28 callers
Method
replace_generics
( &self, replace_before: &[Arc<GenericType>], replace_after: &[Type], )
src/catla_type/src/types.rs:265
↓ 27 callers
Method
create_type_variable_id_with_type
(&mut self, ty: Moduled<Type>)
src/catla_type/src/type_infer.rs:121
↓ 27 callers
Method
freeze_and_get
(&self)
catla_old_unused/src/transpiler/semantics/types/type_info.rs:934
↓ 27 callers
Method
update_with
(&mut self, other: Self)
catla_old_unused/src/transpiler/optimizer/variable_users/variable_user_collector.rs:60
↓ 25 callers
Method
deref
(&self)
src/catla_std/src/object.rs:237
↓ 25 callers
Method
peek_prev
(&self)
catla_old_unused/catla_parser/src/parser.rs:872
↓ 25 callers
Method
skip_line_feed
(&mut self)
src/catla_parser/src/lexer.rs:330
↓ 24 callers
Function
collect_parse_error_with_parse_result
( ast: &ParseResult<T>, error_collector: fn( ast: &T, errors: &mut Vec<TranspileError>
catla_old_unused/src/transpiler/parse_error.rs:1065
↓ 24 callers
Function
get_type
( ast: &TypeInfo, this_type: &Option<Type>, generics: &HashMap<EntityID, Arc<GenericType>>, im
src/catla_type/src/module_element_collector.rs:751
↓ 24 callers
Method
scope
(&self)
src/catla_codegen/src/lib.rs:120
↓ 24 callers
Method
unify_type
( &mut self, first_type: &Type, first_span: &Range<usize>, first_module_name:
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:583
↓ 23 callers
Method
get_type_display_string
(&self, ty: &Type)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:1160
↓ 23 callers
Method
merge
( &mut self, lifetime_ref_left: LifetimeTreeRef, lifetime_ref_right: LifetimeTreeRef,
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:212
↓ 22 callers
Method
add_lazy_type_error_report
(&mut self, report: T)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:1412
↓ 21 callers
Method
create_lifetime_tree
(&mut self)
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:168
↓ 20 callers
Method
set_entity_id_equals
(&mut self, first_entity_id: EntityID, second_entity_id: EntityID)
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:264
↓ 19 callers
Method
ast
(&'this self)
src/catla_parser/src/lib.rs:43
↓ 19 callers
Method
get
(&self, name: &str)
src/catla_import/src/resource.rs:27
↓ 19 callers
Function
get_type
( ast: &TypeInfo, user_type_map: &FxHashMap<String, Type>, import_element_map: &FxHashMap<EntityID
catla_old_unused/src/transpiler/semantics/types/user_type_element_collector.rs:1876
↓ 18 callers
Method
add_line_str
(&mut self, str: &'allocator str)
catla_old_unused/src/transpiler/codegen.rs:57
↓ 18 callers
Function
collect_error_tokens
( error_tokens: &Vec<Token, &Bump>, expected: Expected, error_code: usize, errors: &mut Vec<Tr
catla_old_unused/src/transpiler/parse_error.rs:1143
↓ 18 callers
Function
infer_type_expression
( ast: Expression<'input, 'allocator>, user_type_map: &FxHashMap<String, Type>, import_element_map
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:3079
↓ 18 callers
Method
merge
(&mut self, other: Self)
src/catla_optimization/src/lifetime.rs:479
↓ 18 callers
Method
resolve_generic_type
( &self, generic_id: LocalGenericID, )
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:1124
↓ 17 callers
Function
collect_parse_error_only_parse_result_error
( result: &ParseResult<T>, expected: Expected, error_code: usize, errors: &mut Vec<TranspileEr
catla_old_unused/src/transpiler/parse_error.rs:1125
↓ 17 callers
Function
recover_until_token_found
( cursor: &mut TokenCursor<'input, 'allocator>, until: &[TokenKind], )
catla_old_unused/catla_parser/src/parser.rs:1020
↓ 16 callers
Function
collect_expression
( expression: &Expression, name_resolved_map: &HashMap<EntityID, ResolvedInfo>, lifetime_results:
src/catla_print_debug/src/optimization.rs:193
↓ 16 callers
Function
collect_stack_alloc_from_expression
( expression: &Expression, lifetime_analyze_results: Option<&LifetimeAnalyzeResults>, out_entities
src/catla_codegen/src/codegen.rs:2425
↓ 16 callers
Function
collect_type_infer_result_for_expression
( ast: &Expression, holder: &CatlaAST, entity_type_map: &HashMap<EntityID, Spanned<Type>>, use
src/catla_print_debug/src/type_infer.rs:214
↓ 16 callers
Function
parse_expression
( cursor: &mut TokenCursor<'input, 'allocator>, )
catla_old_unused/catla_parser/src/parser/expression.rs:7
↓ 16 callers
Function
parse_expression
( lexer: &mut Lexer<'input>, errors: &mut std::vec::Vec<ParseError>, allocator: &'allocator Bump,
src/catla_parser/src/parser/expression.rs:25
↓ 16 callers
Function
resolve_name_for_expression
( ast: &Expression<'input, '_>, environment: NameEnvironmentID, components: &mut NameEnvironmentSe
src/catla_name_resolver/src/resolve.rs:843
↓ 15 callers
Function
analyze_expression
( expression: &Expression, state: &mut FunctionState, context: &mut AnalyzerContext, escape_co
src/catla_optimization/src/lifetime.rs:1316
↓ 15 callers
Function
collect_function_call_expression
( ast: Expression, type_inference_result: &TypeInferenceResultContainer, function_calls: &mut Vec<
catla_old_unused/src/transpiler/optimizer/function_recursive/function_call_collector.rs:171
↓ 15 callers
Function
collect_import_module_expression
( ast: Expression, import_element_map: &mut FxHashMap<EntityID, Spanned<String>>, name_resolved_ma
catla_old_unused/src/transpiler/semantics/types/import_module_collector.rs:302
↓ 15 callers
Function
collect_module_element_type_for_expression
( ast: &Expression, generics: &mut HashMap<EntityID, Arc<GenericType>>, module_element_entity_type
src/catla_type/src/module_element_collector.rs:1261
↓ 15 callers
Function
collect_module_element_types_expression
( ast: Expression, user_type_map: &FxHashMap<String, Type>, import_element_map: &FxHashMap<EntityI
catla_old_unused/src/transpiler/semantics/types/user_type_element_collector.rs:1060
↓ 15 callers
Function
collect_recursive_result_expression
( ast: Expression, results: &mut Vec<FunctionRecursiveResult>, context: &TranspileModuleContext, )
catla_old_unused/src/transpiler/optimizer/function_recursive/debug.rs:130
↓ 15 callers
Function
collect_user_type_expression
( ast: Expression, user_type_map: &mut FxHashMap<String, Type>, context: &TranspileModuleContext,
catla_old_unused/src/transpiler/semantics/types/type_define_collector.rs:161
↓ 15 callers
Function
collect_user_type_for_expression
( ast: &Expression, module_entity_type_map: &mut HashMap<EntityID, GlobalUserTypeID>, module_name_
src/catla_type/src/user_type_collector.rs:157
↓ 15 callers
Function
collect_variable_info_expression
( ast: Expression, variable_move_info: &VariableUserInfo, info: &mut Vec<VariableInfo>, )
catla_old_unused/src/transpiler/optimizer/variable_users/debug.rs:161
↓ 15 callers
Function
name_resolve_expression
( ast: Expression<'input, 'allocator>, environment_id: EntityID, name_environments: &mut Component
catla_old_unused/src/transpiler/name_resolver.rs:782
↓ 14 callers
Function
collect_import_element_for_expression
( ast: &Expression, import_elements: &mut HashMap<EntityID, Vec<ImportElement>>, package_resource_
src/catla_import/src/element.rs:519
↓ 14 callers
Function
collect_import_for_expression
( ast: &Expression, modules: &mut Vec<String>, package_resource_set: &PackageResourceSet, )
src/catla_import/src/import.rs:257
↓ 14 callers
Method
get_or_create_child
( &mut self, parent: LifetimeTreeRef, child_name: &str, )
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer.rs:281
↓ 14 callers
Function
validate_syntax_expression
( ast: Expression, context: &TranspileModuleContext, errors: &mut Vec<TranspileError>, warning
catla_old_unused/src/transpiler/semantics/syntax_validation.rs:248
↓ 13 callers
Method
add_advice
(&mut self, module_name: Arc<String>, advice: Advice)
catla_old_unused/src/transpiler/advice.rs:18
↓ 13 callers
Function
add_lifetime_tree_to_scope
( lifetime_tree_ref: LifetimeTreeRef, ty: &Type, lifetime_scope: &mut LifetimeScope, stack_lif
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer/lifetime_collector.rs:30
↓ 13 callers
Function
apply_escape
( flow: &ExprFlow, state: &mut FunctionState, object_results: &mut HashMap<EntityID, LifetimeAnaly
src/catla_optimization/src/lifetime.rs:2001
↓ 13 callers
Function
collect_expression
( ast: Expression, name_resolved_map: &FxHashMap<EntityID, FoundDefineInfo>, allocator: &'allocato
catla_old_unused/src/transpiler/optimizer/variable_users/variable_user_collector.rs:212
↓ 13 callers
Function
create_temp_var
( code_builder: &mut CodeBuilder<'allocator>, span: Range<usize>, entity_id: EntityID, )
catla_old_unused/src/transpiler/codegen/program.rs:33
↓ 13 callers
Method
get_module_context
(&self, module_name: &str)
catla_old_unused/src/transpiler/context.rs:67
↓ 13 callers
Method
new_local_generic_id
( &mut self, type_span: Range<usize>, module_name: Arc<String>, )
catla_old_unused/src/transpiler/semantics/types/type_inference.rs:112
↓ 13 callers
Function
read_until_token_found
( cursor: &mut TokenCursor<'input, 'allocator>, until: &[TokenKind], )
catla_old_unused/catla_parser/src/parser.rs:1002
↓ 13 callers
Function
resolve_name_for_type_info
( ast: &TypeInfo<'input, '_>, environment: NameEnvironmentID, components: &mut NameEnvironmentSet<
src/catla_name_resolver/src/resolve.rs:669
↓ 13 callers
Method
test_unify_type
( &mut self, left: Moduled<Type>, right: Moduled<Type>, user_type_set: &Global
src/catla_type/src/type_infer.rs:638
↓ 12 callers
Function
collect_lifetime_expression
( ast: Expression<'_, 'allocator>, force_be_expression: bool, as_assign_left: bool, expr_bound
catla_old_unused/src/transpiler/optimizer/lifetime_analyzer/lifetime_collector.rs:493
↓ 12 callers
Method
resolve_type_alias
(&self, user_type_set: &GlobalUserTypeSet)
src/catla_type/src/types.rs:209
next →
1–100 of 1,060, ranked by callers