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
↓ 2 callers
Method
resolve_infer_var
Resolve an inference variable to a generic term, given the variance of the location in which it appears
components/dada-ir-sym/src/check/resolve.rs:78
↓ 2 callers
Function
resolve_name_against_crate
( db: &'db dyn crate::Db, krate: Krate, id: SpannedIdentifier<'db>, )
components/dada-ir-sym/src/check/scope.rs:759
↓ 2 callers
Method
resolve_name_against_definitions
( self, db: &'db dyn crate::Db, id: Identifier<'db>, )
components/dada-ir-sym/src/check/scope.rs:703
↓ 2 callers
Method
resolve_perm_var
(&mut self, infer: InferVarIndex)
components/dada-ir-sym/src/check/resolve.rs:148
↓ 2 callers
Method
resolve_relative_generic_args
Attempts to resolve generic argments like `foo[u32]`.
components/dada-ir-sym/src/check/scope.rs:302
↓ 2 callers
Function
resolve_spec_id
Joins non-empty segments into a dot-separated spec ID. Given a file prefix, the current heading segments, and an optional local name, produces the fu
components/dada-spec-common/src/lib.rs:52
↓ 2 callers
Function
respond_json_or_500
(result: anyhow::Result<T>)
components/dada-debug/src/server.rs:71
↓ 2 callers
Function
root_events
(events: &[Arc<DebugEvent>])
components/dada-debug/src/root.rs:47
↓ 2 callers
Method
scope_from_symbols
( self, db: &'db dyn crate::Db, symbols: &'sym SignatureSymbols<'db>, )
components/dada-ir-sym/src/ir/functions.rs:108
↓ 2 callers
Function
self_arg_requires_default_perm
Returns true if a self arg requires a default permission. See [`PopulateDefaultSymbols`] trait for examples.
components/dada-ir-sym/src/ir/populate.rs:260
↓ 2 callers
Method
serialize_seq
(self, len: Option<usize>)
components/dada-util/src/fixed_depth_json.rs:179
↓ 2 callers
Method
serialize_struct
( self, _name: &'static str, len: usize, )
components/dada-util/src/fixed_depth_json.rs:241
↓ 2 callers
Method
set_perm
(self, red_perm: RedPerm<'db>, or_else: &dyn OrElse<'db>)
components/dada-ir-sym/src/check/env.rs:673
↓ 2 callers
Method
set_to_wait_state
( &self, from_check: &Runtime<'db>, future: LocalBoxFuture<'db, ()>,
components/dada-ir-sym/src/check/runtime.rs:521
↓ 2 callers
Method
set_variable_sym_ty
Sets the symbolic type for a program variable. Used during environment construction but typically you should use [`Self::push_program_variable_with_ty
components/dada-ir-sym/src/check/env.rs:214
↓ 2 callers
Method
show_message
( &mut self, message_type: lsp_types::MessageType, message: String, )
components/dada-lsp-server/src/lsp/dispatch.rs:260
↓ 2 callers
Function
simplify
Remove each candidate `c1 \in candidates` where there exists another candidates `c2 \in candidates` and `c1 <: c2`
components/dada-ir-sym/src/check/red/lattice.rs:287
↓ 2 callers
Function
source
( axum::extract::Path(path): axum::extract::Path<String>, axum::extract::Query(line_col): axum::extrac
components/dada-debug/src/server.rs:122
↓ 2 callers
Method
source_path
(&self, db: &dyn crate::Db)
components/dada-lang/src/main_lib/test/expected.rs:563
↓ 2 callers
Method
span
(&self, db: &'db dyn crate::Db)
components/dada-ir-ast/src/ast/expr.rs:23
↓ 2 callers
Method
spawn_future
(&self, future: impl Future<Output = ()> + 'db)
components/dada-ir-sym/src/check/runtime.rs:187
↓ 2 callers
Method
spawn_if_not_never
( &mut self, tys: &[SymTy<'db>], op: impl AsyncFnOnce(&mut Env<'db>) + 'db, )
components/dada-ir-sym/src/check/env.rs:463
↓ 2 callers
Method
spawn_require_equal_types
( &self, live_after: LivePlaces, expected_ty: SymTy<'db>, found_ty: SymTy<'db>
components/dada-ir-sym/src/check/env.rs:360
↓ 2 callers
Function
string_class
(db: &'db dyn crate::Db)
components/dada-ir-sym/src/well_known.rs:43
↓ 2 callers
Method
style
Aggregate style (struct, etc)
components/dada-ir-sym/src/ir/classes.rs:41
↓ 2 callers
Method
symbols
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/functions.rs:120
↓ 2 callers
Function
te
components/dada-debug/assets/highlight.min.js:174
↓ 2 callers
Method
test_report_path
(&self)
components/dada-lang/src/main_lib/test.rs:522
↓ 2 callers
Function
to_json_value_max_depth
Create a JSON value for `value` but only up to a limited depth. Values past that depth are represented as a "..." string.
components/dada-util/src/fixed_depth_json.rs:21
↓ 2 callers
Method
to_red_linkvecs
( &self, env: &mut Env<'db>, live_after: LivePlaces, direction: Direction,
components/dada-ir-sym/src/check/to_red.rs:315
↓ 2 callers
Function
to_span
(span: AbsoluteSpan)
components/dada-ir-ast/src/diagnostic/render.rs:80
↓ 2 callers
Function
visit_exprs
Walk all expressions containing the given `span` and invoke `op`. Stops if `op` returns `ControlFlow::Break`.
components/dada-probe/src/lib.rs:112
↓ 2 callers
Method
waker
(self: Arc<Self>)
components/dada-ir-sym/src/check/runtime.rs:541
↓ 2 callers
Function
walk_ast_expr
( db: &'db dyn crate::Db, expr: &AstExpr<'db>, target: AbsoluteSpan, best: &mut Option<AstExpr
components/dada-probe/src/lib.rs:261
↓ 2 callers
Method
wasm_repr_of_aggr_fields
The WASM representations for the fields of some aggregate type (could be a struct or a class).
components/dada-codegen/src/cx/wasm_repr.rs:170
↓ 2 callers
Method
wasm_repr_of_type
Returns the [`WasmRepr`][] for a Dada type.
components/dada-codegen/src/cx/generate_expr.rs:64
↓ 2 callers
Method
write_file
(&self, path: &Path, contents: &str)
components/dada-lang/src/main_lib/test/expected.rs:500
↓ 2 callers
Function
x
(e,t)
components/dada-debug/assets/highlight.min.js:251
↓ 2 callers
Function
y
(i,o)
components/dada-debug/assets/highlight.min.js:223
↓ 1 callers
Function
$
(e,t,n=C)
components/dada-debug/assets/highlight.min.js:101
↓ 1 callers
Function
U
(e,t)
components/dada-debug/assets/highlight.min.js:105
↓ 1 callers
Function
V
(e)
components/dada-debug/assets/highlight.min.js:124
↓ 1 callers
Method
__addSublanguage
(e,t)
components/dada-debug/assets/highlight.min.js:40
↓ 1 callers
Function
_colon
()
components/dada-debug/assets/jsontree.js:181
↓ 1 callers
Function
_hide
(elem, siblings)
components/dada-debug/assets/jsontree.js:217
↓ 1 callers
Function
_jsArr
(array)
components/dada-debug/assets/jsontree.js:138
↓ 1 callers
Function
_jsBool
(value)
components/dada-debug/assets/jsontree.js:166
↓ 1 callers
Function
_jsNull
()
components/dada-debug/assets/jsontree.js:170
↓ 1 callers
Function
_jsNum
(value)
components/dada-debug/assets/jsontree.js:162
↓ 1 callers
Function
_jsObj
(object)
components/dada-debug/assets/jsontree.js:78
↓ 1 callers
Function
_jsStr
(value)
components/dada-debug/assets/jsontree.js:157
↓ 1 callers
Function
_nextUntil
(elem, id)
components/dada-debug/assets/jsontree.js:204
↓ 1 callers
Function
_property
(name, value)
components/dada-debug/assets/jsontree.js:174
↓ 1 callers
Method
_walk
(e,t)
components/dada-debug/assets/highlight.min.js:34
↓ 1 callers
Method
absolute_span_of_contents
Compute the absolute span of this anchor's contents.
components/dada-ir-ast/src/span.rs:33
↓ 1 callers
Method
addRule
(e,t)
components/dada-debug/assets/highlight.min.js:129
↓ 1 callers
Method
add_crate
Add a crate named `crate_name` sourced at `source` into our list. We can never have two crates with the same name. If a crate `k` named `crate_name`
components/dada-compiler/src/lib.rs:225
↓ 1 callers
Method
add_crate_containing_source_file
Given a .dada file, finds the enclosing crate and adds it into the list of crates. Given some path `a/b/c.dada`, we decide that `c` is a submodule of
components/dada-compiler/src/lib.rs:117
↓ 1 callers
Method
add_crate_with_root_path
Add a crate that is rooted in the given `dada` file. The crate is named after the file name.
components/dada-compiler/src/lib.rs:140
↓ 1 callers
Method
add_guidance_section
(&self, result: &mut String)
components/dada-lang/src/main_lib/test.rs:733
↓ 1 callers
Method
aggr_field_tys
The types of each field of some aggregate type given the values `ty_args` for its generic arguments.
components/dada-codegen/src/cx/wasm_repr.rs:182
↓ 1 callers
Function
analyze_failure
(failed_test: &FailedTest)
components/dada-lang/src/main_lib/test.rs:486
↓ 1 callers
Function
application_is_provably_lent
( env: &mut Env<'db>, lhs: SymGenericTerm<'db>, rhs: SymGenericTerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_lent.rs:65
↓ 1 callers
Function
application_is_provably_owned
( env: &mut Env<'db>, lhs: SymGenericTerm<'db>, rhs: SymGenericTerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_owned.rs:60
↓ 1 callers
Function
application_is_provably_shared
( env: &mut Env<'db>, lhs: SymGenericTerm<'db>, rhs: SymGenericTerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_shared.rs:54
↓ 1 callers
Function
application_is_provably_unique
( env: &mut Env<'db>, lhs: SymGenericTerm<'db>, rhs: SymGenericTerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_unique.rs:60
↓ 1 callers
Method
apply_from
(self, db: &'db dyn crate::Db, perm: SymPerm<'db>)
components/dada-ir-sym/src/ir/types.rs:570
↓ 1 callers
Method
as_binder
(&self)
components/dada-ir-sym/src/ir/binder.rs:173
↓ 1 callers
Method
assert_kind
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/types.rs:129
↓ 1 callers
Method
bind
( _db: &'db dyn crate::Db, symbols_to_bind: &mut dyn Iterator<Item = Vec<SymVariable<'db>>>,
components/dada-ir-sym/src/ir/binder.rs:161
↓ 1 callers
Function
bind_variable
( sym_variable: SymVariable<'db>, bound_vars: &mut Vec<SymVariable<'db>>, op: impl FnOnce(&mut Vec
components/dada-ir-sym/src/check/subst_impls.rs:250
↓ 1 callers
Method
binds_symbol
(&self, _db: &'db dyn crate::Db, sym: SymVariable<'db>)
components/dada-ir-sym/src/check/scope.rs:691
↓ 1 callers
Method
bless_path
(&self, path: &Path)
components/dada-lang/src/main_lib/test/expected.rs:643
↓ 1 callers
Method
block_on_inference_var
Block the current task on changes to the given inference variable. # Panics If called when [`Self::check_complete`][] returns true.
components/dada-ir-sym/src/check/runtime.rs:387
↓ 1 callers
Method
block_type
[Block control-flow instructions][cfi] like `if` and friends come equipped with an associated "block type". This is a function type indicating the *in
components/dada-codegen/src/cx/generate_expr.rs:524
↓ 1 callers
Method
bound_vars
Return a vector with all variables that are "bound" in the environment. These correspond to in-scope function parameters, generic types, etc.
components/dada-ir-sym/src/check/env.rs:586
↓ 1 callers
Function
build_nonterminal_map
Scans all chapters for headings matching `` ## `Nonterminal` definition `` and builds a map from nonterminal name to relative URL for cross-chapter li
components/dada-mdbook-preprocessor/src/main.rs:169
↓ 1 callers
Method
can_be_ty
True if this could syntactically be a permission.
components/dada-parser/src/types.rs:131
↓ 1 callers
Function
captured_panic
()
components/dada-lang/src/main_lib/test/panic_hook.rs:45
↓ 1 callers
Function
cargo_path
(env_var: &str)
components/xtask/src/build.rs:55
↓ 1 callers
Function
cargo_path
(env_var: &str)
components/xtask/src/rfc.rs:165
↓ 1 callers
Function
cargo_path
(env_var: &str)
components/xtask/src/deploy.rs:134
↓ 1 callers
Method
check
(&self, db: &'db dyn crate::Db)
components/dada-check/src/lib.rs:36
↓ 1 callers
Function
check_class_call
( env: &mut Env<'db>, live_after: LivePlaces, class_span: Span<'db>, expr_span: Span<'db>,
components/dada-ir-sym/src/check/exprs.rs:836
↓ 1 callers
Method
check_complete
Returns `true` if we have fully constructed the object IR for a given function. Once this returns true, no more bounds will be added to inference vari
components/dada-ir-sym/src/check/runtime.rs:223
↓ 1 callers
Function
check_expr
( expr: &AstExpr<'db>, env: &mut Env<'db>, live_after: LivePlaces, )
components/dada-ir-sym/src/check/exprs.rs:91
↓ 1 callers
Function
check_field
Check the type of a field. The returned type has two binders, the outer binder is the class, the inner binder is the `self` place.
components/dada-ir-sym/src/check/fields.rs:16
↓ 1 callers
Function
check_for_duplicates
( db: &'db dyn crate::Db, map: &mut Map<Identifier<'db>, S>, id: Identifier<'db>, value: S, )
components/dada-check/src/lib.rs:115
↓ 1 callers
Function
check_function_body
( db: &'db dyn crate::Db, function: SymFunction<'db>, )
components/dada-ir-sym/src/check/functions.rs:25
↓ 1 callers
Function
check_function_body_ast_block
( db: &'db dyn crate::Db, function: SymFunction<'db>, body: AstBlock<'db>, )
components/dada-ir-sym/src/check/functions.rs:133
↓ 1 callers
Function
check_function_body_class_constructor
Check the automatic construct that results when user writes parentheses, like `class Foo(...)`.
components/dada-ir-sym/src/check/functions.rs:62
↓ 1 callers
Function
check_function_signature
( db: &'db dyn crate::Db, function: SymFunction<'db>, )
components/dada-ir-sym/src/check/signature.rs:21
↓ 1 callers
Function
check_main_function
( db: &'db dyn crate::Db, function: SymFunction<'db>, mfunc: AstMainFunction<'db>, )
components/dada-ir-sym/src/check/functions.rs:41
↓ 1 callers
Function
check_method_call
( env: &mut Env<'db>, live_after: LivePlaces, id_span: Span<'db>, expr_span: Span<'db>, fu
components/dada-ir-sym/src/check/exprs.rs:997
↓ 1 callers
Method
check_use_items
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/check/modules.rs:12
↓ 1 callers
Method
class_scope
Returns the base scope used to resolve the class members. Typically this is created by invoke [`Scope::new`][].
components/dada-ir-sym/src/ir/classes.rs:130
↓ 1 callers
Method
closeAllNodes
()
components/dada-debug/assets/highlight.min.js:32
↓ 1 callers
Method
closeNode
()
components/dada-debug/assets/highlight.min.js:31
↓ 1 callers
Function
codegen
( db: &'db dyn crate::Db, function: SymFunction<'db>, generics: Vec<SymGenericTerm<'db>>, )
components/dada-codegen/src/lib.rs:31
↓ 1 callers
Method
codegen
(&self)
components/dada-lang/src/main_lib/test/expected.rs:361
← previous
next →
401–500 of 1,179, ranked by callers