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
into_temporary_var
Create a temporary to store the result of this expression. Returns a reference to the temporary as a variable.
components/dada-ir-sym/src/check/temporaries.rs:56
↓ 1 callers
Method
is_class
True if this is a class
components/dada-ir-sym/src/ir/classes.rs:54
↓ 1 callers
Function
is_enabled
True if debug logging is enabled for this execution.
components/dada-util/src/log.rs:59
↓ 1 callers
Method
is_lent
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:162
↓ 1 callers
Method
is_move
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:171
↓ 1 callers
Method
is_owned
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:153
↓ 1 callers
Method
is_struct
True if this is a struct
components/dada-ir-sym/src/ir/classes.rs:49
↓ 1 callers
Function
is_tag
Determines whether a token in a `:::{spec}` directive line is a tag rather than a local name. Tags are: `rfcNNNN`, `!rfcNNNN`, `unimpl`.
components/dada-spec-common/src/lib.rs:73
↓ 1 callers
Function
kebab_to_pascal_case
Converts a kebab-case name to PascalCase. # Examples - `function` → `Function` - `use-declaration` → `UseDeclaration` - `class-member` → `ClassMember
components/dada-spec-common/src/lib.rs:258
↓ 1 callers
Method
last_id
(self, db: &'db dyn crate::Db)
components/dada-ir-ast/src/ast.rs:139
↓ 1 callers
Method
launch
Start the debug server, panicking if already launched. Returns a port where you should send debug events.
components/dada-debug/src/lib.rs:42
↓ 1 callers
Method
len
Get the number of elements in the set.
components/dada-util/src/vecset.rs:66
↓ 1 callers
Method
line_range
(self, db: &dyn crate::Db, line: ZeroLine)
components/dada-ir-ast/src/inputs.rs:147
↓ 1 callers
Function
links_sub_links
( env: &Env<'db>, lower_links: &[RedLink<'db>], upper_links: &[RedLink<'db>], )
components/dada-ir-sym/src/check/red/sub.rs:16
↓ 1 callers
Method
load_spec_ids
Loads all spec IDs from the spec mdbook source files
components/dada-lang/src/main_lib/test/spec_validation.rs:25
↓ 1 callers
Method
loop_on_inference_var
Returns a future that blocks the current task until `op` returns `Some`. `op` will be reinvoked each time the state of the inference variable may have
components/dada-ir-sym/src/check/runtime.rs:245
↓ 1 callers
Function
lub_perms
The **least upper bound** (LUB) of two permissions `(perm1, perm2)`. The LUB `perm3` is a permission such that `perm1 <: perm3` and `perm1 <: perm3` b
components/dada-ir-sym/src/check/red/lattice.rs:35
↓ 1 callers
Method
main
(&self)
components/xtask/src/main.rs:38
↓ 1 callers
Method
main
(&self)
components/xtask/src/rfc.rs:20
↓ 1 callers
Function
main_async
(port: u32, debug_rx: Receiver<DebugEvent>)
components/dada-debug/src/server.rs:21
↓ 1 callers
Function
make_app
()
components/dada-mdbook-preprocessor/src/main.rs:12
↓ 1 callers
Method
make_dada_file
Add `.dada` suffix to final component. # Panics Panics if final component already has `.dada`
components/dada-compiler/src/vfs.rs:101
↓ 1 callers
Method
make_directory
Remove `.dada` suffix from final component. # Panics Panics if final component does not end in `.dada`
components/dada-compiler/src/vfs.rs:84
↓ 1 callers
Function
make_relative_link
Computes a relative link from `current_path` to `target_url`. If the target is in the same file, returns just the `#anchor` part. Otherwise returns a
components/dada-mdbook-preprocessor/src/main.rs:422
↓ 1 callers
Method
mark_complete
Mark the inference process as complete and wake all tasks.
components/dada-ir-sym/src/check/runtime.rs:205
↓ 1 callers
Method
members
(self, db: &'db dyn crate::Db)
components/dada-parser/src/classes.rs:124
↓ 1 callers
Method
methods
Returns iterator over all methods in this class.
components/dada-ir-sym/src/ir/classes.rs:228
↓ 1 callers
Method
module_name
(self, db: &dyn crate::Db)
components/dada-ir-ast/src/inputs.rs:117
↓ 1 callers
Method
mutable
Returns a version of this type mutable from `place`.
components/dada-ir-sym/src/ir/types.rs:371
↓ 1 callers
Function
name_resolution_to_generic_term
( db: &'db dyn crate::Db, name_resolution: NameResolution<'db>, source: impl Spanned<'db>, )
components/dada-ir-sym/src/check/types.rs:252
↓ 1 callers
Function
name_resolution_to_sym_perm
( db: &'db dyn crate::Db, name_resolution: NameResolution<'db>, source: impl Spanned<'db>, )
components/dada-ir-sym/src/check/types.rs:303
↓ 1 callers
Method
name_span
Span for the function name.
components/dada-ir-sym/src/ir/functions.rs:104
↓ 1 callers
Method
next_event_index
(&self)
components/dada-ir-sym/src/check/debug.rs:230
↓ 1 callers
Method
next_stack_frame
Returns a [`WasmPointer`] to the current start of a callee's stack frame. This value is only valid until [`Self::insert_variable`] is next called.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:31
↓ 1 callers
Method
next_task_id
(&self)
components/dada-ir-sym/src/check/runtime.rs:181
↓ 1 callers
Method
next_task_index
(&self)
components/dada-ir-sym/src/check/debug.rs:226
↓ 1 callers
Method
no_such_member
( &mut self, id: SpannedIdentifier<'db>, owner_span: Span<'db>, owner_ty: SymT
components/dada-ir-sym/src/check/member_lookup.rs:114
↓ 1 callers
Method
no_such_member_result
( &mut self, id: SpannedIdentifier<'db>, owner_span: Span<'db>, owner_ty: SymT
components/dada-ir-sym/src/check/member_lookup.rs:105
↓ 1 callers
Function
non_infer_lower_bound
Convert `ty` to a [`RedTy`][]; if the result is an inference variable, then wait until that variable has a lower-bound. # Returns A [`RedTy`][] that
components/dada-ir-sym/src/check/member_lookup.rs:227
↓ 1 callers
Method
open
Generic way to "open" a binder, giving a function that computes the replacement value for each bound variable. You may preference [`Self::substitute`]
components/dada-ir-sym/src/ir/binder.rs:41
↓ 1 callers
Method
ops
(&mut self, start: usize, ch: char)
components/dada-parser/src/tokenizer.rs:704
↓ 1 callers
Function
output_ty
(env: &mut Env<'db>, function: &SymFunction<'db>)
components/dada-ir-sym/src/check/signature.rs:168
↓ 1 callers
Function
parse_front_matter
(content: &str)
components/dada-mdbook-preprocessor/src/main.rs:972
↓ 1 callers
Function
parse_serde_attrs
(attrs: &[Attribute])
components/dada-util-procmacro/src/salsa_serialize.rs:13
↓ 1 callers
Function
path_to_expr_result
(env: &mut Env<'db>, path: AstPath<'db>)
components/dada-ir-sym/src/check/types.rs:381
↓ 1 callers
Function
path_to_sym_place
(env: &mut Env<'db>, path: AstPath<'db>)
components/dada-ir-sym/src/check/types.rs:354
↓ 1 callers
Method
path_url
(&self, path: &Path)
components/dada-compiler/src/realfs.rs:46
↓ 1 callers
Method
peek_perm
(self)
components/dada-ir-sym/src/check/env.rs:665
↓ 1 callers
Method
perform_probes
(&self, compiler: &Compiler)
components/dada-lang/src/main_lib/test/expected.rs:421
↓ 1 callers
Function
perm_is_provably_unique
( env: &mut Env<'db>, perm: SymPerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_unique.rs:73
↓ 1 callers
Function
place_is_provably_owned
( env: &mut Env<'db>, place: SymPlace<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_owned.rs:103
↓ 1 callers
Function
place_is_provably_shared
( env: &mut Env<'db>, place: SymPlace<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_shared.rs:99
↓ 1 callers
Function
places_are_provably_shared
( env: &mut Env<'db>, places: &[SymPlace<'db>], )
components/dada-ir-sym/src/check/predicates/is_provably_shared.rs:89
↓ 1 callers
Function
pointer_struct
(db: &'db dyn crate::Db)
components/dada-ir-sym/src/well_known.rs:97
↓ 1 callers
Method
pop_and_drop
(&mut self, _of_type: SymTy<'db>)
components/dada-codegen/src/cx/generate_expr.rs:217
↓ 1 callers
Method
pop_and_return
(&mut self, _of_type: SymTy<'db>)
components/dada-codegen/src/cx/generate_expr.rs:221
↓ 1 callers
Method
pop_arguments
(&mut self, inputs: &[SymVariable<'db>], input_tys: &[SymTy<'db>])
components/dada-codegen/src/cx/generate_expr.rs:70
↓ 1 callers
Method
pop_task
Pop and return a task that is ready to execute (if any).
components/dada-ir-sym/src/check/runtime.rs:193
↓ 1 callers
Method
pop_to_local
Pop a value of type `val_type` and store it in `local`.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:242
↓ 1 callers
Function
populate_all_rfcs_section
(ctx: &PreprocessorContext, chapter: &mut Chapter)
components/dada-mdbook-preprocessor/src/main.rs:759
↓ 1 callers
Method
populate_default_symbols
( &self, db: &'db dyn crate::Db, scope: &Scope<'_, 'db>, symbols: &mut Signatu
components/dada-ir-sym/src/ir/populate.rs:244
↓ 1 callers
Function
populate_rfc_sections
(ctx: &PreprocessorContext, book: &mut Book)
components/dada-mdbook-preprocessor/src/main.rs:734
↓ 1 callers
Method
primitive_kind
Return the primitive kind that represents `ty` or `Err` if `ty` is not a primitive.
components/dada-codegen/src/cx/generate_expr.rs:465
↓ 1 callers
Function
probe_ast
Probe for the compact AST representation of the expression at a given span. # Example ```dada print("hello").await #? ^^^^^^^ Ast: Literal(String, "h
components/dada-probe/src/lib.rs:84
↓ 1 callers
Method
probe_ast
Return compact AST representation of the expression at the given `span`.
components/dada-compiler/src/lib.rs:178
↓ 1 callers
Method
probe_expression_type
Return type of the variable found at the given `span` or `None` if there is no variable there.
components/dada-compiler/src/lib.rs:173
↓ 1 callers
Function
probe_variable_type
Probe for the type of a variable found in a given file at a given span.
components/dada-probe/src/lib.rs:55
↓ 1 callers
Method
probe_variable_type
Return type of the variable found at the given `span` or `None` if there is no variable there.
components/dada-compiler/src/lib.rs:168
↓ 1 callers
Function
process_spec_directives
Processes MyST `{spec}` directives into HTML with anchors and styling. 💡 Spec paragraph IDs are resolved from context: - File path prefix derived fro
components/dada-mdbook-preprocessor/src/main.rs:216
↓ 1 callers
Method
process_template_content
(&self, content: &str, rfc_number: u32, name: &str)
components/xtask/src/rfc.rs:108
↓ 1 callers
Method
push_direct_ast_where_clauses
( self, db: &'db dyn crate::Db, out: &mut Vec<AstWhereClause<'db>>, )
components/dada-ir-sym/src/check/scope_tree.rs:112
↓ 1 callers
Method
push_if_not_contained
(&mut self, element: T)
components/dada-util/src/vecext.rs:8
↓ 1 callers
Method
push_leased_from
Push a shared copy the value found in `place` onto the WASM stack.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:105
↓ 1 callers
Method
push_literal
(&mut self, ty: SymTy<'db>, literal: SymLiteral)
components/dada-codegen/src/cx/generate_expr.rs:535
↓ 1 callers
Method
push_match_expr
(&mut self, match_ty: SymTy<'db>, arms: &[SymMatchArm<'db>])
components/dada-codegen/src/cx/generate_expr.rs:484
↓ 1 callers
Method
push_program_variable_with_ty
Extends the scope with a new program variable given its type.
components/dada-ir-sym/src/check/env.rs:241
↓ 1 callers
Method
push_shared_from
Push a shared copy the value found in `place` onto the WASM stack.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:86
↓ 1 callers
Method
push_task
(&mut self, task: Task<'db>)
components/dada-ir-sym/src/check/debug.rs:234
↓ 1 callers
Method
push_transitive_where_clauses
( self, db: &'db dyn crate::Db, out: &mut Vec<AstWhereClause<'db>>, )
components/dada-ir-sym/src/check/scope_tree.rs:74
↓ 1 callers
Function
q
(e)
components/dada-debug/assets/highlight.min.js:171
↓ 1 callers
Method
receive
Given a message, find the handler (if any) and invoke it.
components/dada-lsp-server/src/lsp/dispatch.rs:184
↓ 1 callers
Method
reconcile_diagnostics
( &mut self, db: &Compiler, editor: &mut dyn Editor<Server>, diagnostics: Vec<
components/dada-lsp-server/src/main.rs:230
↓ 1 callers
Function
reconcile_ty_bounds
A task that runs for each type inference variable. It awaits any upper/lower bounds and propagates a corresponding bound.
components/dada-ir-sym/src/check/subtype/terms.rs:387
↓ 1 callers
Function
record_events
(debug_rx: Receiver<DebugEvent>, state: Arc<State>)
components/dada-debug/src/server.rs:138
↓ 1 callers
Function
recording_panics
(op: impl FnOnce() -> R)
components/dada-lang/src/main_lib/test/panic_hook.rs:18
↓ 1 callers
Method
red_perm_bounds
Returns an iterator over the red perm bounds on a permission inference variable.
components/dada-ir-sym/src/check/env/combinator.rs:275
↓ 1 callers
Method
ref_path
(&self, db: &dyn crate::Db, ext: &str)
components/dada-lang/src/main_lib/test/expected.rs:567
↓ 1 callers
Function
relate_infer_bounds
A task that runs for each type inference variable. It awaits any upper/lower bounds and propagates a corresponding bound.
components/dada-ir-sym/src/check/subtype/relate_infer_bounds.rs:12
↓ 1 callers
Function
render
(db: &dyn crate::Db, opts: &RenderOptions, diagnostic: &Diagnostic)
components/dada-ir-ast/src/diagnostic/render.rs:7
↓ 1 callers
Function
render_ebnf_blocks
Converts markdown ` ```ebnf ``` ` code fences into HTML `<pre>` blocks with linked nonterminals. Within EBNF blocks: - PascalCase words that exist in
components/dada-mdbook-preprocessor/src/main.rs:313
↓ 1 callers
Function
render_ebnf_line
Renders a single EBNF line, replacing nonterminal references with links and backtick-quoted terminals with styled `<code>` spans.
components/dada-mdbook-preprocessor/src/main.rs:353
↓ 1 callers
Function
renderer
(opts: &RenderOptions)
components/dada-ir-ast/src/diagnostic/render.rs:13
↓ 1 callers
Method
report
(&self, db: &dyn crate::Db)
components/dada-lang/src/main_lib/test.rs:534
↓ 1 callers
Method
report
(self, db: &dyn crate::Db)
components/dada-ir-ast/src/diagnostic.rs:106
↓ 1 callers
Method
report
(&self, infer: InferVarIndex, _err: ResolverCycle)
components/dada-ir-sym/src/check/resolve.rs:175
↓ 1 callers
Function
report_no_new_method
( db: &'db dyn crate::Db, class_span: Span<'db>, class_sym: SymAggregate<'db>, resolution: Res
components/dada-ir-sym/src/check/exprs.rs:875
↓ 1 callers
Function
report_not_callable
(db: &'db dyn crate::Db, owner_span: Span<'db>)
components/dada-ir-sym/src/check/exprs.rs:1517
↓ 1 callers
Function
report_not_found
(db: &'db dyn crate::Db, module: SymModule<'db>, name: &str)
components/dada-ir-sym/src/well_known.rs:117
↓ 1 callers
Function
report_not_implemented
(db: &'db dyn crate::Db, span: Span<'db>, what: &str)
components/dada-ir-sym/src/check/exprs.rs:1469
↓ 1 callers
Method
report_type_annotations_needed
(&self, span: Span<'db>)
components/dada-ir-sym/src/check/runtime.rs:409
← previous
next →
601–700 of 1,179, ranked by callers