MCPcopy Create free account

hub / github.com/Ottrlang/otterlang / functions

Functions1,790 in github.com/Ottrlang/otterlang

↓ 645 callersMethodclone
(&self)
crates/otterc_jit/src/engine.rs:434
↓ 639 callersMethodas_ref
(&self)
crates/otterc_ast/src/nodes.rs:46
↓ 320 callersMethodmap
(self, f: F)
crates/otterc_ast/src/nodes.rs:34
↓ 296 callersMethodregister
(&self, function: FfiFunction)
crates/otterc_symbol/src/registry.rs:124
↓ 191 callersMethodinsert
(&mut self, name: String, var: Variable<'ctx>)
crates/otterc_codegen/src/llvm/compiler/types.rs:83
↓ 185 callersMethodget
(&self, key: &str)
crates/otterc_cache/src/manager.rs:33
↓ 152 callersMethodlen
(&self)
crates/otterc_span/src/lib.rs:63
↓ 151 callersMethodjoin
(&self)
crates/otterc_runtime/src/task/task_impl.rs:234
↓ 115 callersMethodcollect
(&self)
crates/otterc_runtime/src/memory/gc.rs:57
↓ 87 callersMethodas_mut
(&mut self)
crates/otterc_ast/src/nodes.rs:52
↓ 83 callersMethodis_empty
(&self)
crates/otterc_span/src/lib.rs:56
↓ 77 callersMethodcontains
(&self, pos: usize)
crates/otterc_span/src/lib.rs:42
↓ 73 callersMethodget
Get a value from task-local storage.
crates/otterc_runtime/src/task/tls.rs:33
↓ 71 callersMethodwith_span
(mut self, span: Span)
crates/otterc_typecheck/src/types.rs:485
↓ 67 callersMethodspan
(&self)
crates/otterc_ast/src/nodes.rs:30
↓ 59 callersMethodadvance
(&mut self, count: usize)
crates/otterc_lexer/src/tokenizer.rs:139
↓ 59 callersMethodget_or_declare_ffi_function
(&mut self, name: &str)
crates/otterc_codegen/src/llvm/compiler/mod.rs:579
↓ 55 callersMethodclone
(&self)
crates/otterc_runtime/src/memory/rc.rs:56
↓ 43 callersMethodis_empty
(&self)
crates/otterc_typecheck/src/checker.rs:49
↓ 41 callersMethodeval_expr
( &mut self, expr: &Expr, ctx: &mut FunctionContext<'ctx>, )
crates/otterc_codegen/src/llvm/compiler/expr.rs:415
↓ 41 callersMethodload
Load a module from a path string
crates/otterc_module/src/loader.rs:66
↓ 40 callersMethodlen
Get the current queue length.
crates/otterc_runtime/src/task/channel.rs:156
↓ 36 callersMethodemit_token
(&mut self, kind: TokenKind, start: usize, len: usize)
crates/otterc_lexer/src/tokenizer.rs:193
↓ 34 callersFunctionidentifier_parser
()
crates/otterc_parser/src/grammar.rs:77
↓ 33 callersMethodis_compatible_with
Check if this type is compatible with another type
crates/otterc_typecheck/src/types.rs:157
↓ 32 callersMethodget
(&self, name: &str)
crates/otterc_codegen/src/llvm/compiler/types.rs:87
↓ 31 callersMethodmax
(&self)
crates/otterc_utils/src/bench.rs:72
↓ 31 callersMethodremove
Remove a value from task-local storage.
crates/otterc_runtime/src/task/tls.rs:59
↓ 25 callersMethodwith_hint
(mut self, hint: String)
crates/otterc_typecheck/src/types.rs:470
↓ 23 callersMethodget
(&self, name: &str)
src/lsp/mod.rs:259
↓ 20 callersMethodmin
(&self)
crates/otterc_utils/src/bench.rs:68
↓ 20 callersFunctionparse
(tokens: &[Token])
crates/otterc_parser/src/grammar.rs:57
↓ 19 callersMethodcurrent_char
(&self)
crates/otterc_lexer/src/tokenizer.rs:131
↓ 19 callersMethodstore
( &mut self, metadata: &super::metadata::CacheMetadata, )
crates/otterc_cache/src/manager.rs:69
↓ 18 callersMethodget
(&self, name: &str)
crates/otterc_jit/src/cache/function_cache.rs:59
↓ 18 callersMethodparse
Parse a target triple string (e.g., "x86_64-unknown-linux-gnu")
crates/otterc_config/src/target.rs:40
↓ 18 callersMethodtake
(&mut self)
crates/otterc_runtime/src/stdlib/task.rs:38
↓ 17 callersMethodclone
(&self)
crates/otterc_runtime/src/task/channel.rs:205
↓ 17 callersMethodelapsed
(&self)
crates/otterc_utils/src/timer.rs:15
↓ 17 callersMethodstart
(&self)
crates/otterc_span/src/lib.rs:70
↓ 16 callersFunctiontokenize
(source: &str)
crates/otterc_lexer/src/tokenizer.rs:207
↓ 15 callersMethodas_ptr
Get a raw pointer to the object (for FFI)
crates/otterc_runtime/src/memory/rc.rs:45
↓ 15 callersMethodcmp
(&self, other: &Self)
crates/otterc_runtime/src/task/timer.rs:34
↓ 15 callersMethodinsert_variable
(&mut self, name: String, ty: TypeInfo)
crates/otterc_typecheck/src/types.rs:556
↓ 15 callersMethodis_wasm
Check if this is a WebAssembly target
crates/otterc_config/src/target.rs:116
↓ 15 callersMethodpeek_char
(&self, ahead: usize)
crates/otterc_lexer/src/tokenizer.rs:135
↓ 14 callersFunctionclone
(data: *const ())
crates/otterc_runtime/src/task/timer.rs:122
↓ 14 callersFunctiondrop
(data: *const ())
crates/otterc_runtime/src/stdlib/time.rs:117
↓ 14 callersFunctionget_gc
Get the global GC manager
crates/otterc_runtime/src/memory/gc.rs:588
↓ 13 callersMethodinfer_expr_type
Infer the type of an expression
crates/otterc_typecheck/src/checker.rs:1722
↓ 13 callersFunctionnext_handle_id
()
crates/otterc_runtime/src/stdlib/builtins.rs:19
↓ 12 callersFunctionextract_crate_spec
(_dep: &DependencyConfig)
crates/otterc_ffi/src/rustdoc_extractor.rs:129
↓ 12 callersMethodis_windows
Check if this is a Windows target
crates/otterc_config/src/target.rs:126
↓ 12 callersMethodload_file
Load a module from a file path
crates/otterc_module/src/loader.rs:81
↓ 12 callersMethodresolve
Resolve this module path to an actual file path
crates/otterc_module/src/resolver.rs:45
↓ 11 callersMethodrecord_phase
(&mut self, name: impl Into<String>, f: F)
crates/otterc_utils/src/profiler.rs:14
↓ 11 callersMethodupdate
Update configuration
crates/otterc_runtime/src/config.rs:289
↓ 10 callersMethoddefine_type_alias
(&mut self, name: String, ty: TypeInfo, is_public: bool)
crates/otterc_typecheck/src/types.rs:592
↓ 10 callersMethodis_empty
Check if the channel is empty.
crates/otterc_runtime/src/task/channel.rs:161
↓ 10 callersFunctionspan_to_range
(span: Span, text: &str)
src/lsp/mod.rs:1459
↓ 9 callersMethodcreate_entry_block_alloca
Creates a new stack allocation instruction in the entry block of the function.
crates/otterc_codegen/src/llvm/compiler/mod.rs:831
↓ 9 callersMethodcurrent_newline_len
(&self)
crates/otterc_lexer/src/tokenizer.rs:178
↓ 9 callersMethodexpr_type
(&self, expr: &Expr)
crates/otterc_codegen/src/llvm/compiler/mod.rs:278
↓ 9 callersMethodinline_block
( &self, block: &mut Node<Block>, ctx: &InlineContext<'_>, stack: &mut Vec<Str
crates/otterc_jit/src/optimization/inliner.rs:119
↓ 9 callersMethodinto_inner
(self)
crates/otterc_ast/src/nodes.rs:22
↓ 9 callersFunctionotter_dup_cstr
crates/otterc_codegen/src/llvm/runtimes/wasm.c:49
↓ 9 callersFunctionspan
()
crates/otterc_typecheck/src/workspace.rs:166
↓ 9 callersFunctiontype_parser
()
crates/otterc_parser/src/grammar.rs:110
↓ 9 callersMethodtypeinfo_to_otter_type
(&self, ty: &TypeInfo)
crates/otterc_codegen/src/llvm/compiler/stmt.rs:583
↓ 9 callersMethodwith_help
(mut self, help: String)
crates/otterc_typecheck/src/types.rs:475
↓ 9 callersMethodwith_suggestion
(mut self, suggestion: impl Into<String>)
crates/otterc_utils/src/errors.rs:46
↓ 8 callersMethodall
(&self)
crates/otterc_symbol/src/registry.rs:189
↓ 8 callersMethodbuild_enum_type
(&self, name: &str, args: Vec<TypeInfo>)
crates/otterc_typecheck/src/types.rs:656
↓ 8 callersMethodcall_ffi_returning_value
( &mut self, name: &str, args: Vec<BasicValueEnum<'ctx>>, label: &str, )
crates/otterc_codegen/src/llvm/compiler/expr.rs:2885
↓ 8 callersMethodcheck_block
Type check a block
crates/otterc_typecheck/src/checker.rs:1480
↓ 8 callersMethodcollect_metadata_in_block
( &self, block: &Block, spans: &mut Vec<Span>, expr_ids: &mut Vec<usize>,
crates/otterc_typecheck/src/checker.rs:325
↓ 8 callersMethodcreate_span
(&self, start: usize, len: usize)
crates/otterc_lexer/src/tokenizer.rs:189
↓ 8 callersMethodemit_error
(&mut self, error: LexerError)
crates/otterc_lexer/src/tokenizer.rs:198
↓ 8 callersMethodfold_constants_in_block
(&self, block: &mut Block)
crates/otterc_jit/src/optimization/reoptimizer.rs:107
↓ 8 callersFunctionget_profiler
Get the global memory profiler
crates/otterc_runtime/src/memory/profiler.rs:243
↓ 8 callersFunctionlist_value
(handle: HandleId, index: i64)
crates/otterc_runtime/src/stdlib/builtins.rs:183
↓ 8 callersFunctionparse_rust_type
(ty_value: &serde_json::Value, generics: &[String])
crates/otterc_ffi/src/rustdoc_extractor.rs:1065
↓ 8 callersMethodrecord_block_spans
(&mut self, block: &Block)
crates/otterc_codegen/src/llvm/compiler/mod.rs:66
↓ 8 callersMethodregister_waker
Register a waker for when data becomes available. This is used internally by select operations.
crates/otterc_runtime/src/task/channel.rs:177
↓ 8 callersMethodrewrite_expr
(&mut self, expr: &Node<Expr>)
crates/otterc_jit/src/optimization/inliner.rs:870
↓ 8 callersMethodsend
Send a value to the channel, waking any waiting receivers.
crates/otterc_runtime/src/task/channel.rs:50
↓ 8 callersMethodstruct_info
(&self, id: u32)
crates/otterc_codegen/src/llvm/compiler/mod.rs:309
↓ 8 callersMethodtype_from_annotation
(&self, ty: &Node<Type>)
crates/otterc_typecheck/src/types.rs:732
↓ 7 callersMethodadd_function
(&mut self, name: String)
crates/otterc_module/src/loader.rs:32
↓ 7 callersMethodcoerce_type
( &self, value: inkwell::values::BasicValueEnum<'ctx>, from_ty: OtterType, to_
crates/otterc_codegen/src/llvm/compiler/expr.rs:1592
↓ 7 callersMethodcollect_captured_names_in_block
( &self, block: &Block, ctx: &FunctionContext<'ctx>, captures: &mut BTreeSet<S
crates/otterc_codegen/src/llvm/compiler/expr.rs:316
↓ 7 callersMethodcontains
Check if a value exists in task-local storage.
crates/otterc_runtime/src/task/tls.rs:74
↓ 7 callersFunctiondecode_value_handle
(encoded: u64)
crates/otterc_runtime/src/stdlib/builtins.rs:122
↓ 7 callersFunctiondrop
(_data: *const ())
crates/otterc_runtime/src/task/timer.rs:137
↓ 7 callersMethodensure_string_value
(&mut self, value: EvaluatedValue<'ctx>)
crates/otterc_codegen/src/llvm/compiler/expr.rs:2838
↓ 7 callersMethodfind_definition
(&self, name: &str)
src/lsp/mod.rs:244
↓ 7 callersMethodfind_identifier_type_in_block
(&self, block: &Block, var: &str)
crates/otterc_codegen/src/llvm/compiler/expr.rs:2784
↓ 7 callersMethodfind_identifier_type_in_expr
(&self, expr: &Expr, var: &str)
crates/otterc_codegen/src/llvm/compiler/expr.rs:2677
↓ 7 callersFunctionmap_rust_type_to_spec
(ty: &RustTypeRef)
crates/otterc_ffi/src/rust_stubgen.rs:929
↓ 7 callersMethodmerge
(&self, other: &Self)
crates/otterc_span/src/lib.rs:24
next →1–100 of 1,790, ranked by callers