MCPcopy Create free account

hub / github.com/dada-lang/dada / functions

Functions1,179 in github.com/dada-lang/dada

↓ 1 callersMethodinto_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 callersMethodis_class
True if this is a class
components/dada-ir-sym/src/ir/classes.rs:54
↓ 1 callersFunctionis_enabled
True if debug logging is enabled for this execution.
components/dada-util/src/log.rs:59
↓ 1 callersMethodis_lent
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:162
↓ 1 callersMethodis_move
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:171
↓ 1 callersMethodis_owned
(&self, env: &Env<'db>)
components/dada-ir-sym/src/check/red.rs:153
↓ 1 callersMethodis_struct
True if this is a struct
components/dada-ir-sym/src/ir/classes.rs:49
↓ 1 callersFunctionis_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 callersFunctionkebab_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 callersMethodlast_id
(self, db: &'db dyn crate::Db)
components/dada-ir-ast/src/ast.rs:139
↓ 1 callersMethodlaunch
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 callersMethodlen
Get the number of elements in the set.
components/dada-util/src/vecset.rs:66
↓ 1 callersMethodline_range
(self, db: &dyn crate::Db, line: ZeroLine)
components/dada-ir-ast/src/inputs.rs:147
↓ 1 callersFunctionlinks_sub_links
( env: &Env<'db>, lower_links: &[RedLink<'db>], upper_links: &[RedLink<'db>], )
components/dada-ir-sym/src/check/red/sub.rs:16
↓ 1 callersMethodload_spec_ids
Loads all spec IDs from the spec mdbook source files
components/dada-lang/src/main_lib/test/spec_validation.rs:25
↓ 1 callersMethodloop_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 callersFunctionlub_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 callersMethodmain
(&self)
components/xtask/src/main.rs:38
↓ 1 callersMethodmain
(&self)
components/xtask/src/rfc.rs:20
↓ 1 callersFunctionmain_async
(port: u32, debug_rx: Receiver<DebugEvent>)
components/dada-debug/src/server.rs:21
↓ 1 callersFunctionmake_app
()
components/dada-mdbook-preprocessor/src/main.rs:12
↓ 1 callersMethodmake_dada_file
Add `.dada` suffix to final component. # Panics Panics if final component already has `.dada`
components/dada-compiler/src/vfs.rs:101
↓ 1 callersMethodmake_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 callersFunctionmake_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 callersMethodmark_complete
Mark the inference process as complete and wake all tasks.
components/dada-ir-sym/src/check/runtime.rs:205
↓ 1 callersMethodmembers
(self, db: &'db dyn crate::Db)
components/dada-parser/src/classes.rs:124
↓ 1 callersMethodmethods
Returns iterator over all methods in this class.
components/dada-ir-sym/src/ir/classes.rs:228
↓ 1 callersMethodmodule_name
(self, db: &dyn crate::Db)
components/dada-ir-ast/src/inputs.rs:117
↓ 1 callersMethodmutable
Returns a version of this type mutable from `place`.
components/dada-ir-sym/src/ir/types.rs:371
↓ 1 callersFunctionname_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 callersFunctionname_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 callersMethodname_span
Span for the function name.
components/dada-ir-sym/src/ir/functions.rs:104
↓ 1 callersMethodnext_event_index
(&self)
components/dada-ir-sym/src/check/debug.rs:230
↓ 1 callersMethodnext_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 callersMethodnext_task_id
(&self)
components/dada-ir-sym/src/check/runtime.rs:181
↓ 1 callersMethodnext_task_index
(&self)
components/dada-ir-sym/src/check/debug.rs:226
↓ 1 callersMethodno_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 callersMethodno_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 callersFunctionnon_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 callersMethodopen
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 callersMethodops
(&mut self, start: usize, ch: char)
components/dada-parser/src/tokenizer.rs:704
↓ 1 callersFunctionoutput_ty
(env: &mut Env<'db>, function: &SymFunction<'db>)
components/dada-ir-sym/src/check/signature.rs:168
↓ 1 callersFunctionparse_front_matter
(content: &str)
components/dada-mdbook-preprocessor/src/main.rs:972
↓ 1 callersFunctionparse_serde_attrs
(attrs: &[Attribute])
components/dada-util-procmacro/src/salsa_serialize.rs:13
↓ 1 callersFunctionpath_to_expr_result
(env: &mut Env<'db>, path: AstPath<'db>)
components/dada-ir-sym/src/check/types.rs:381
↓ 1 callersFunctionpath_to_sym_place
(env: &mut Env<'db>, path: AstPath<'db>)
components/dada-ir-sym/src/check/types.rs:354
↓ 1 callersMethodpath_url
(&self, path: &Path)
components/dada-compiler/src/realfs.rs:46
↓ 1 callersMethodpeek_perm
(self)
components/dada-ir-sym/src/check/env.rs:665
↓ 1 callersMethodperform_probes
(&self, compiler: &Compiler)
components/dada-lang/src/main_lib/test/expected.rs:421
↓ 1 callersFunctionperm_is_provably_unique
( env: &mut Env<'db>, perm: SymPerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_unique.rs:73
↓ 1 callersFunctionplace_is_provably_owned
( env: &mut Env<'db>, place: SymPlace<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_owned.rs:103
↓ 1 callersFunctionplace_is_provably_shared
( env: &mut Env<'db>, place: SymPlace<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_shared.rs:99
↓ 1 callersFunctionplaces_are_provably_shared
( env: &mut Env<'db>, places: &[SymPlace<'db>], )
components/dada-ir-sym/src/check/predicates/is_provably_shared.rs:89
↓ 1 callersFunctionpointer_struct
(db: &'db dyn crate::Db)
components/dada-ir-sym/src/well_known.rs:97
↓ 1 callersMethodpop_and_drop
(&mut self, _of_type: SymTy<'db>)
components/dada-codegen/src/cx/generate_expr.rs:217
↓ 1 callersMethodpop_and_return
(&mut self, _of_type: SymTy<'db>)
components/dada-codegen/src/cx/generate_expr.rs:221
↓ 1 callersMethodpop_arguments
(&mut self, inputs: &[SymVariable<'db>], input_tys: &[SymTy<'db>])
components/dada-codegen/src/cx/generate_expr.rs:70
↓ 1 callersMethodpop_task
Pop and return a task that is ready to execute (if any).
components/dada-ir-sym/src/check/runtime.rs:193
↓ 1 callersMethodpop_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 callersFunctionpopulate_all_rfcs_section
(ctx: &PreprocessorContext, chapter: &mut Chapter)
components/dada-mdbook-preprocessor/src/main.rs:759
↓ 1 callersMethodpopulate_default_symbols
( &self, db: &'db dyn crate::Db, scope: &Scope<'_, 'db>, symbols: &mut Signatu
components/dada-ir-sym/src/ir/populate.rs:244
↓ 1 callersFunctionpopulate_rfc_sections
(ctx: &PreprocessorContext, book: &mut Book)
components/dada-mdbook-preprocessor/src/main.rs:734
↓ 1 callersMethodprimitive_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 callersFunctionprobe_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 callersMethodprobe_ast
Return compact AST representation of the expression at the given `span`.
components/dada-compiler/src/lib.rs:178
↓ 1 callersMethodprobe_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 callersFunctionprobe_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 callersMethodprobe_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 callersFunctionprocess_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 callersMethodprocess_template_content
(&self, content: &str, rfc_number: u32, name: &str)
components/xtask/src/rfc.rs:108
↓ 1 callersMethodpush_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 callersMethodpush_if_not_contained
(&mut self, element: T)
components/dada-util/src/vecext.rs:8
↓ 1 callersMethodpush_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 callersMethodpush_literal
(&mut self, ty: SymTy<'db>, literal: SymLiteral)
components/dada-codegen/src/cx/generate_expr.rs:535
↓ 1 callersMethodpush_match_expr
(&mut self, match_ty: SymTy<'db>, arms: &[SymMatchArm<'db>])
components/dada-codegen/src/cx/generate_expr.rs:484
↓ 1 callersMethodpush_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 callersMethodpush_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 callersMethodpush_task
(&mut self, task: Task<'db>)
components/dada-ir-sym/src/check/debug.rs:234
↓ 1 callersMethodpush_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 callersFunctionq
(e)
components/dada-debug/assets/highlight.min.js:171
↓ 1 callersMethodreceive
Given a message, find the handler (if any) and invoke it.
components/dada-lsp-server/src/lsp/dispatch.rs:184
↓ 1 callersMethodreconcile_diagnostics
( &mut self, db: &Compiler, editor: &mut dyn Editor<Server>, diagnostics: Vec<
components/dada-lsp-server/src/main.rs:230
↓ 1 callersFunctionreconcile_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 callersFunctionrecord_events
(debug_rx: Receiver<DebugEvent>, state: Arc<State>)
components/dada-debug/src/server.rs:138
↓ 1 callersFunctionrecording_panics
(op: impl FnOnce() -> R)
components/dada-lang/src/main_lib/test/panic_hook.rs:18
↓ 1 callersMethodred_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 callersMethodref_path
(&self, db: &dyn crate::Db, ext: &str)
components/dada-lang/src/main_lib/test/expected.rs:567
↓ 1 callersFunctionrelate_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 callersFunctionrender
(db: &dyn crate::Db, opts: &RenderOptions, diagnostic: &Diagnostic)
components/dada-ir-ast/src/diagnostic/render.rs:7
↓ 1 callersFunctionrender_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 callersFunctionrender_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 callersFunctionrenderer
(opts: &RenderOptions)
components/dada-ir-ast/src/diagnostic/render.rs:13
↓ 1 callersMethodreport
(&self, db: &dyn crate::Db)
components/dada-lang/src/main_lib/test.rs:534
↓ 1 callersMethodreport
(self, db: &dyn crate::Db)
components/dada-ir-ast/src/diagnostic.rs:106
↓ 1 callersMethodreport
(&self, infer: InferVarIndex, _err: ResolverCycle)
components/dada-ir-sym/src/check/resolve.rs:175
↓ 1 callersFunctionreport_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 callersFunctionreport_not_callable
(db: &'db dyn crate::Db, owner_span: Span<'db>)
components/dada-ir-sym/src/check/exprs.rs:1517
↓ 1 callersFunctionreport_not_found
(db: &'db dyn crate::Db, module: SymModule<'db>, name: &str)
components/dada-ir-sym/src/well_known.rs:117
↓ 1 callersFunctionreport_not_implemented
(db: &'db dyn crate::Db, span: Span<'db>, what: &str)
components/dada-ir-sym/src/check/exprs.rs:1469
↓ 1 callersMethodreport_type_annotations_needed
(&self, span: Span<'db>)
components/dada-ir-sym/src/check/runtime.rs:409
← previousnext →601–700 of 1,179, ranked by callers