Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dada-lang/dada
/ functions
Functions
1,179 in github.com/dada-lang/dada
⨍
Functions
1,179
◇
Types & classes
371
↓ 1 callers
Method
codegen_fn
(&mut self, FnKey(function, generics): FnKey<'db>)
components/dada-codegen/src/cx/generate_fn.rs:73
↓ 1 callers
Function
codegen_main_fn
(db: &'db dyn Db, source_file: SourceFile)
components/dada-codegen/src/lib.rs:11
↓ 1 callers
Method
comment
(&mut self, index: usize)
components/dada-parser/src/tokenizer.rs:355
↓ 1 callers
Function
compact_ast_format
Format an AstExpr as a compact single-line string. # Example outputs - `Literal(String, "hello\nworld")` - `ParenthesisOp(Id(print), [Literal(String,
components/dada-probe/src/lib.rs:348
↓ 1 callers
Method
compare
(self, compiler: &mut Compiler)
components/dada-lang/src/main_lib/test/expected.rs:377
↓ 1 callers
Method
compare_auxiliary
( &self, compiler: &mut Compiler, ext: &str, enabled: bool, generate_f
components/dada-lang/src/main_lib/test/expected.rs:453
↓ 1 callers
Method
compare_diagnostics
(self, mut actual_diagnostics: Vec<&Diagnostic>)
components/dada-lang/src/main_lib/test/expected.rs:506
↓ 1 callers
Method
compile
()
components/dada-debug/assets/highlight.min.js:131
↓ 1 callers
Method
compiler_location
(&self)
components/dada-ir-sym/src/check/report.rs:89
↓ 1 callers
Function
concat_linkvecvecs
( env: &mut Env<'db>, lhs: &[Vec<RedLink<'db>>], rhs: &[Vec<RedLink<'db>>], )
components/dada-ir-sym/src/check/to_red.rs:449
↓ 1 callers
Method
configuration
( &mut self, db: &dyn crate::Db, line_index: usize, mut line: &str, )
components/dada-lang/src/main_lib/test/expected.rs:314
↓ 1 callers
Method
confirm_member
( &mut self, owner: ExprResult<'db>, owner_perm: SymPerm<'db>, member: SearchR
components/dada-ir-sym/src/check/member_lookup.rs:54
↓ 1 callers
Function
convert_to_porcelain_test
(detailed_result: &DetailedTestResult)
components/dada-lang/src/main_lib/test.rs:449
↓ 1 callers
Function
copy_dir_recursive
(src: &PathBuf, dst: &PathBuf)
components/xtask/src/deploy.rs:144
↓ 1 callers
Method
copy_template_files
( &self, rfcs_dir: &Path, rfc_dir: &Path, rfc_number: u32, name: &str,
components/xtask/src/rfc.rs:77
↓ 1 callers
Method
create_new_rfc
(&self, name: &str)
components/xtask/src/rfc.rs:26
↓ 1 callers
Function
create_rfc_chapter
( src_dir: &Path, dir_name: &str, dir_path: &Path, all_rfcs_chapter: &Chapter, rfc_index:
components/dada-mdbook-preprocessor/src/main.rs:833
↓ 1 callers
Function
d
(e,n)
components/dada-debug/assets/highlightjs-line-numbers.min.js:1
↓ 1 callers
Function
dedent_multiline
Apply multiline string dedenting to raw source content. Given raw content that starts with a newline (multiline string detected by caller), this func
components/dada-parser/src/tokenizer.rs:753
↓ 1 callers
Method
deferred
( db: &'db dyn crate::Db, anchor: impl Into<Anchor<'db>>, deferred_parse: &'db Deferre
components/dada-parser/src/lib.rs:94
↓ 1 callers
Function
delete_test_report
(path: &Path)
components/dada-lang/src/main_lib/test.rs:879
↓ 1 callers
Method
did_change
(&self)
components/dada-ir-sym/src/check/inference.rs:255
↓ 1 callers
Method
diff_lines
(&self, expected: &str, actual: &str)
components/dada-lang/src/main_lib/test/expected.rs:577
↓ 1 callers
Method
direct_super_scope
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/check/scope_tree.rs:85
↓ 1 callers
Method
dump
(&self, span: Span<'db>)
components/dada-ir-sym/src/check/debug.rs:183
↓ 1 callers
Method
duplicate_root_handle
Duplicate this log handle. We assert that it is the root handle. This is because there is no *good* reason to duplicate any other handle; when new tas
components/dada-ir-sym/src/check/debug.rs:93
↓ 1 callers
Method
eat
(self, _db: &'db dyn crate::Db, parser: &mut Parser<'_, 'db>)
components/dada-parser/src/lib.rs:659
↓ 1 callers
Method
effects
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/functions.rs:46
↓ 1 callers
Method
emplace_local
Returns the representation of a "local" storing a value of type `repr`. A "local" place is one that uses WASM local variables as much as possible.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:182
↓ 1 callers
Method
emplace_memory
The representation for a Dada place found in WASM memory that stores values with representation `repr`.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:198
↓ 1 callers
Method
endScope
()
components/dada-debug/assets/highlight.min.js:39
↓ 1 callers
Function
ensure_mdbook_installed
Ensures mdbook is installed at the expected version. 💡 Netlify (and other CI-like environments) don't have mdbook pre-installed, unlike GitHub Action
components/xtask/src/deploy.rs:100
↓ 1 callers
Function
enter_task
Enter a task during type-checking and other async bits of the code. # Parameters `id`, the task ID. `log_state`, the log state of the task when it w
components/dada-util/src/log.rs:96
↓ 1 callers
Function
escape_string_into
(s: &str, buf: &mut String)
components/dada-probe/src/lib.rs:541
↓ 1 callers
Method
execute
( db: &'db dyn crate::Db, span: Span<'db>, message: &'static str, values: &[&d
components/dada-ir-sym/src/check/runtime.rs:101
↓ 1 callers
Method
execute_binary_op
Push the correct instructions to execute `binary_op` on operands of type `lhs_ty` and `rhs_ty`
components/dada-codegen/src/cx/generate_expr.rs:226
↓ 1 callers
Method
execute_binary_op_on_primitives
Push the correct instructions to execute `binary_op` on operands of type `prim_kind`
components/dada-codegen/src/cx/generate_expr.rs:247
↓ 1 callers
Method
exists
(&self, url: &Url)
components/dada-compiler/src/realfs.rs:39
↓ 1 callers
Function
expand_tail
( env: &mut Env<'db>, live_after: LivePlaces, direction: Direction, mut unexpanded_linkvecs: V
components/dada-ir-sym/src/check/to_red.rs:201
↓ 1 callers
Method
expected_generic_parameters
(&self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/check/scope.rs:458
↓ 1 callers
Method
export
(&self)
components/dada-ir-sym/src/check/debug.rs:256
↓ 1 callers
Method
export_child_nested_events
( &self, task_events: &mut &[usize], events_by_task: &[Vec<usize>], )
components/dada-ir-sym/src/check/debug.rs:411
↓ 1 callers
Method
export_infers
(&self)
components/dada-ir-sym/src/check/debug.rs:372
↓ 1 callers
Method
export_nested_event_for_task
( &self, task: TaskIndex, events_by_task: &[Vec<usize>], )
components/dada-ir-sym/src/check/debug.rs:394
↓ 1 callers
Method
export_task
(&self, task: &Task<'db>, task_index: usize)
components/dada-ir-sym/src/check/debug.rs:356
↓ 1 callers
Function
extract_annotations
(expectations: &expected::TestExpectations)
components/dada-lang/src/main_lib/test.rs:424
↓ 1 callers
Function
extract_rfc_info
(dir_path: &Path, dir_name: &str)
components/dada-mdbook-preprocessor/src/main.rs:933
↓ 1 callers
Function
extract_section
(content: &str, heading: &str)
components/dada-mdbook-preprocessor/src/main.rs:1017
↓ 1 callers
Function
extract_span
( url: &Url, start: AbsoluteOffset, end: AbsoluteOffset, )
components/dada-debug/src/root.rs:86
↓ 1 callers
Method
extract_spec_ids_from_file
Extracts spec IDs from MyST directive syntax, resolving relative IDs using the file path and heading context. 💡 Uses the same resolution logic as the
components/dada-lang/src/main_lib/test/spec_validation.rs:61
↓ 1 callers
Method
fallback
Returns the fallback bound for a permission (`my`)
components/dada-ir-sym/src/check/red.rs:34
↓ 1 callers
Function
field_err_ty
( db: &'db dyn crate::Db, field: SymField<'db>, reported: Reported, )
components/dada-ir-sym/src/check/fields.rs:59
↓ 1 callers
Method
field_place
Representation for the place storing a given field found in an owner of type `owner_ty` that is stored in `owner_place`.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:134
↓ 1 callers
Function
field_ty
( env: &mut Env<'db>, owner_place: SymPlace<'db>, owner_perm: SymPerm<'db>, owner_red_ty: RedT
components/dada-ir-sym/src/check/places.rs:38
↓ 1 callers
Function
file_path_to_prefix
Converts a file path (relative to the spec book's `src/` directory) into the dot-separated prefix for spec paragraph IDs. # Examples - `syntax/string
components/dada-spec-common/src/lib.rs:13
↓ 1 callers
Method
final_module_name
True if final component ends in `.dada`
components/dada-compiler/src/vfs.rs:70
↓ 1 callers
Method
finalize
()
components/dada-debug/assets/highlight.min.js:42
↓ 1 callers
Function
find_func
Find the fn or method containing `span`
components/dada-probe/src/lib.rs:100
↓ 1 callers
Function
find_item
Find the module item containing `span`
components/dada-probe/src/lib.rs:92
↓ 1 callers
Method
find_next_rfc_number
(&self, rfcs_dir: &PathBuf)
components/xtask/src/rfc.rs:56
↓ 1 callers
Function
find_smallest_containing_ast_expr
Find the smallest AstExpr containing the target span by walking the parsed AST. 💡 This walks the parser AST directly rather than the type-checked Sym
components/dada-probe/src/lib.rs:202
↓ 1 callers
Function
find_smallest_containing_expr
Helper function to find the smallest expression that contains the given span
components/dada-probe/src/lib.rs:32
↓ 1 callers
Method
finish
(self)
components/dada-ir-sym/src/check/runtime.rs:636
↓ 1 callers
Method
fixme
(&self)
components/dada-lang/src/main_lib/test/expected.rs:365
↓ 1 callers
Method
fork
(&mut self)
components/dada-lsp-server/src/main.rs:70
↓ 1 callers
Method
fork
Forks this parser into a split parser at the same point with a fresh set of diagnostics. Used for speculation.
components/dada-parser/src/lib.rs:222
↓ 1 callers
Function
format_ast_path
(db: &dyn crate::Db, path: &dada_ir_ast::ast::AstPath<'_>, buf: &mut String)
components/dada-probe/src/lib.rs:524
↓ 1 callers
Method
format_results
( &self, results: Vec<DetailedTestResult>, _total_duration_ms: u64, )
components/dada-lang/src/main_lib/test.rs:164
↓ 1 callers
Function
format_status
( status: &str, tracking_issue: &Option<String>, implemented_version: &Option<String>, )
components/dada-mdbook-preprocessor/src/main.rs:1040
↓ 1 callers
Method
fresh_local_index
Create a fresh local index storing a value of type `v`.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:219
↓ 1 callers
Method
function_named
Returns the function named `name` in this module, if any.
components/dada-ir-sym/src/ir/module.rs:73
↓ 1 callers
Function
generate_all_rfcs_html
(rfcs_by_status: &HashMap<String, Vec<RfcInfo>>)
components/dada-mdbook-preprocessor/src/main.rs:1094
↓ 1 callers
Method
generate_from_fn
Generates all code reachable from the given fn instantiated with the given arguments.
components/dada-codegen/src/cx.rs:34
↓ 1 callers
Function
generate_rfc_table_html
(rfcs: &[RfcInfo])
components/dada-mdbook-preprocessor/src/main.rs:1158
↓ 1 callers
Method
generic_kinds
Kinds of generic parameters
components/dada-ir-sym/src/ir/classes.rs:75
↓ 1 callers
Method
generic_span
Span where the `index`th generics are is (possibly the name span, if there are no generics) # Panics If `index` is not a valid generic index
components/dada-ir-sym/src/ir/classes.rs:106
↓ 1 callers
Method
generics_span
Span where generics are declared (possibly the name span, if there are no generics)
components/dada-ir-sym/src/ir/classes.rs:93
↓ 1 callers
Function
getServerOptions
(context: vscode.ExtensionContext, serverPath: string)
components/vscode/src/utils/serverUtils.ts:69
↓ 1 callers
Function
getServerPath
(context: vscode.ExtensionContext)
components/vscode/src/utils/serverUtils.ts:8
↓ 1 callers
Method
give
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/exprs.rs:272
↓ 1 callers
Function
glb_perms
The **greatest lower bound** (GLB) of two permissions `(perm1, perm2)`, if it exists. The GLB `perm3` is a permission such that `perm3 <: perm1` and `
components/dada-ir-sym/src/check/red/lattice.rs:70
↓ 1 callers
Function
handle_preprocessing
(pre: &dyn Preprocessor)
components/dada-mdbook-preprocessor/src/main.rs:48
↓ 1 callers
Function
handle_supports
(pre: &dyn Preprocessor, sub_args: &ArgMatches)
components/dada-mdbook-preprocessor/src/main.rs:35
↓ 1 callers
Method
has_name
True if this class member has the given name.
components/dada-ir-sym/src/ir/classes.rs:297
↓ 1 callers
Function
heading_to_segment
Converts a heading text into a spec ID segment. Lowercases, replaces spaces/underscores with hyphens, strips non-alphanumeric characters (except hyph
components/dada-spec-common/src/lib.rs:38
↓ 1 callers
Method
identifier
(&mut self, start: usize, ch: char)
components/dada-parser/src/tokenizer.rs:366
↓ 1 callers
Method
identity
(&self)
components/dada-ir-sym/src/check/subst_impls.rs:21
↓ 1 callers
Function
if_chain
( db: &'db dyn crate::Db, parser: &mut Parser<'_, 'db>, _if_span: dada_ir_ast::span::Span<'db>, )
components/dada-parser/src/expr.rs:301
↓ 1 callers
Method
increment_universe
Modify this environment to put it in a new universe.
components/dada-ir-sym/src/check/env.rs:207
↓ 1 callers
Method
indent_with_compiler_location
( &mut self, compiler_location: &'static Location<'static>, message: &'static str,
components/dada-ir-sym/src/check/env.rs:559
↓ 1 callers
Function
indirect
(op: impl AsyncFnOnce() -> T)
components/dada-util/src/lib.rs:35
↓ 1 callers
Method
inherent_member_str
Returns the member with the given name, if it exists.
components/dada-ir-sym/src/ir/classes.rs:211
↓ 1 callers
Method
initialize
(&mut self, db: &dyn crate::Db)
components/dada-lang/src/main_lib/test/expected.rs:141
↓ 1 callers
Method
insert_sub_infer_var_pair
( &mut self, lower: InferVarIndex, upper: InferVarIndex, )
components/dada-ir-sym/src/check/env.rs:598
↓ 1 callers
Method
integer
(&mut self, start: usize, ch: char)
components/dada-parser/src/tokenizer.rs:399
↓ 1 callers
Method
into_function
(self)
components/dada-codegen/src/cx/generate_expr.rs:55
↓ 1 callers
Method
into_generic_term
( self, db: &'db dyn crate::Db, scope: &Scope<'_, 'db>, )
components/dada-ir-sym/src/ir/variables.rs:30
↓ 1 callers
Method
into_scope
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/classes.rs:252
↓ 1 callers
Method
into_scope
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/functions.rs:55
↓ 1 callers
Method
into_temporary
Create a temporary to store the result of this expression. Returns a reference to the temporary as a place expression.
components/dada-ir-sym/src/check/temporaries.rs:43
← previous
next →
501–600 of 1,179, ranked by callers