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
↓ 3 callers
Function
chain_sub_chain
( env: &Env<'db>, lower_chain: RedChain<'db>, upper_chain: RedChain<'db>, )
components/dada-ir-sym/src/check/red/sub.rs:7
↓ 3 callers
Method
checked_body
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/lib.rs:37
↓ 3 callers
Method
closeNode
(e)
components/dada-debug/assets/highlight.min.js:25
↓ 3 callers
Method
considerAll
()
components/dada-debug/assets/highlight.min.js:142
↓ 3 callers
Method
contains
Check if the set contains `item`.
components/dada-util/src/vecset.rs:61
↓ 3 callers
Method
delimited
(&mut self, start: usize, delim: Delimiter, close: char)
components/dada-parser/src/tokenizer.rs:654
↓ 3 callers
Method
eat_delimited
Eats the next token if it is a delimited token with the given delimiter; returns a `&str` slice of the token's contents.
components/dada-parser/src/lib.rs:422
↓ 3 callers
Method
emit_string_literal
Emit a string literal token with the given span and processed content. `quote_len` is the number of quote characters in the delimiter (1 for `"`, 3 f
components/dada-parser/src/tokenizer.rs:474
↓ 3 callers
Method
execute
( &self, lsp: &mut L, editor: &mut dyn Editor<L>,
components/dada-lsp-server/src/lsp/dispatch.rs:66
↓ 3 callers
Function
exists_bounding_term
( env: &mut Env<'db>, perm: SymPerm<'db>, infer: InferVarIndex, direction: Option<Direction>,
components/dada-ir-sym/src/check/predicates/var_infer.rs:170
↓ 3 callers
Function
extract_inline_sub_paragraphs
Extracts inline `` {spec}`name [tags...]` `` markers from the content lines of a spec directive block. The backtick content is parsed the same way as
components/dada-spec-common/src/lib.rs:201
↓ 3 callers
Function
f
(e,n)
components/dada-debug/assets/highlightjs-line-numbers.min.js:1
↓ 3 callers
Method
fields
Returns iterator over all fields in this class.
components/dada-ir-sym/src/ir/classes.rs:220
↓ 3 callers
Function
findNextWithClass
(element, clazz)
components/dada-debug/assets/jsontree.js:38
↓ 3 callers
Method
for_each_bound
Invoke `op` for each new lower (or upper, depending on direction) bound on `?X`.
components/dada-ir-sym/src/check/env/combinator.rs:303
↓ 3 callers
Function
format_ast_expr
(db: &'db dyn crate::Db, expr: &AstExpr<'db>, buf: &mut String)
components/dada-probe/src/lib.rs:354
↓ 3 callers
Function
generalize
Generalize* returns a new red-ty created by replacing any generic arguments in `red_ty` with fresh inference variables.
components/dada-ir-sym/src/check/subtype/terms.rs:355
↓ 3 callers
Function
glb_live
(Live(l1): Live, Live(l2): Live)
components/dada-ir-sym/src/check/red/lattice.rs:280
↓ 3 callers
Method
ignoreMatch
()
components/dada-debug/assets/highlight.min.js:14
↓ 3 callers
Function
insert_into_canonical_map
( db: &'db dyn crate::Db, canonical_map: &mut Map<Identifier<'db>, Span<'db>>, map: &Map<Identifie
components/dada-ir-sym/src/ir/module.rs:207
↓ 3 callers
Method
internal_module_item
Resolve an identifier like `x` that we mapped to some item in a module.
components/dada-ir-sym/src/check/scope.rs:679
↓ 3 callers
Method
into_bound_value
Given a value of type `T` that was resolved against this scope, creates a bound version like `Binder<T>` or `Binder<Binder<T>>` where all variables de
components/dada-ir-sym/src/check/scope.rs:172
↓ 3 callers
Method
into_diagnostics
Complete parsing and convert the parser into the resulting diagnostics (errors). Reports an error if there are any unconsumed tokens.
components/dada-parser/src/lib.rs:206
↓ 3 callers
Method
into_expr_with_enclosed_temporaries
Convert this result into an expression, with `let ... in` statements inserted for temporaries.
components/dada-ir-sym/src/check/exprs.rs:1364
↓ 3 callers
Method
into_perm
(self, db: &'db dyn crate::Db)
components/dada-parser/src/types.rs:110
↓ 3 callers
Method
into_place_expr
( self, env: &mut Env<'db>, temporaries: &mut Vec<Temporary<'db>>, )
components/dada-ir-sym/src/check/exprs.rs:1406
↓ 3 callers
Method
iter_super_scopes
Iterator that starts from self and traverses up to all super scope items.
components/dada-ir-sym/src/check/scope_tree.rs:36
↓ 3 callers
Method
line_col
(self, db: &dyn crate::Db, offset: AbsoluteOffset)
components/dada-ir-ast/src/inputs.rs:152
↓ 3 callers
Method
load_source_file
Load the contents of `source_url` and then open it with those contents.
components/dada-compiler/src/lib.rs:68
↓ 3 callers
Method
lookup_member
( &mut self, owner: ExprResult<'db>, id: SpannedIdentifier<'db>, )
components/dada-ir-sym/src/check/member_lookup.rs:32
↓ 3 callers
Method
map_because
( self, f: impl 'db + Clone + Fn(Because<'db>) -> Because<'db>, )
components/dada-ir-sym/src/check/report.rs:135
↓ 3 callers
Method
matches
(&self, actual_span: &AbsoluteSpan)
components/dada-lang/src/main_lib/test/expected.rs:625
↓ 3 callers
Method
maybe_apply
If this could be a permission and it is followed by a type, parse it as an application.
components/dada-parser/src/types.rs:83
↓ 3 callers
Function
n
(e)
components/dada-debug/assets/highlight.min.js:14
↓ 3 callers
Function
parse_path_perm
( db: &'db dyn crate::Db, span: Span<'db>, parser: &mut Parser<'_, 'db>, op: impl Fn(Option<Sp
components/dada-parser/src/types.rs:243
↓ 3 callers
Method
peek_ty
(self)
components/dada-ir-sym/src/check/env.rs:637
↓ 3 callers
Method
perm_infer
If `infer` is a type variable, returns the permission variable associated with `infer`. If `infer` is a permission variable, just returns `infer`.
components/dada-ir-sym/src/check/env.rs:530
↓ 3 callers
Function
perm_is_provably_lent
( env: &mut Env<'db>, perm: SymPerm<'db>, )
components/dada-ir-sym/src/check/predicates/is_provably_lent.rs:78
↓ 3 callers
Method
pop_and_store
Given that a value of type `value_ty` is on the wasm stack, pop it and store it into `to_place`.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:115
↓ 3 callers
Function
prepare_env
( db: &'db dyn crate::Db, runtime: &Runtime<'db>, function: SymFunction<'db>, )
components/dada-ir-sym/src/check/signature.rs:81
↓ 3 callers
Method
push_from
Push the value found in `place` onto the WASM stack.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:66
↓ 3 callers
Method
push_from_memory
Push a value of type `val_type` found in the given memory slot.
components/dada-codegen/src/cx/generate_expr/wasm_place_repr.rs:248
↓ 3 callers
Method
red_ty_bound
(&self, direction: Direction)
components/dada-ir-sym/src/check/inference.rs:104
↓ 3 callers
Function
render
(name: &str, data: &impl Serialize)
components/dada-debug/src/hbs.rs:23
↓ 3 callers
Method
render
(&self)
components/dada-lang/src/main_lib/test/panic_hook.rs:69
↓ 3 callers
Method
render_opts
(&self)
components/dada-lang/src/lib.rs:32
↓ 3 callers
Function
report_non_expr
( db: &'db dyn crate::Db, owner_span: Span<'db>, name_resolution: &NameResolution<'db>, )
components/dada-ir-sym/src/check/exprs.rs:1480
↓ 3 callers
Function
require_perm_is_shared
( env: &mut Env<'db>, perm: SymPerm<'db>, or_else: &dyn OrElse<'db>, )
components/dada-ir-sym/src/check/predicates/require_shared.rs:139
↓ 3 callers
Method
resolve_name
Resolve identifier `id` (found at `span`) in the scope. Reports errors if nothing is found and returns `Err(Reported)`.
components/dada-ir-sym/src/check/scope.rs:122
↓ 3 callers
Method
root
( db: &'db dyn crate::Db, compiler_location: &'static Location<'static>, root: RootTas
components/dada-ir-sym/src/check/debug.rs:27
↓ 3 callers
Method
runtime
Access the lower-level type checking runtime
components/dada-ir-sym/src/check/env.rs:114
↓ 3 callers
Method
scope
Returns the scope for this function; this has the function generics and parameters in scope.
components/dada-ir-sym/src/ir/functions.rs:139
↓ 3 callers
Method
self_ty
Returns the type of this class, referencing the generics that appear in `scope`.
components/dada-ir-sym/src/ir/classes.rs:140
↓ 3 callers
Method
source_file
(&self, db: &dyn crate::Db)
components/dada-ir-ast/src/span.rs:43
↓ 3 callers
Method
span
(&self)
components/dada-lang/src/main_lib/test/expected.rs:619
↓ 3 callers
Method
span
(&self, db: &'db dyn dada_ir_ast::Db)
components/dada-ir-sym/src/ir/classes.rs:268
↓ 3 callers
Method
span
(&self, db: &'db dyn dada_ir_ast::Db)
components/dada-ir-sym/src/ir/functions.rs:85
↓ 3 callers
Method
spawn
( &mut self, task: Box<dyn FnOnce(&<L as Lsp>::Fork, &mut dyn Editor<L>) -> Fallible<()> + Sen
components/dada-lsp-server/src/lsp/dispatch.rs:279
↓ 3 callers
Function
subst_var
( db: &'db dyn crate::Db, bound_vars: &mut Vec<SymVariable<'db>>, subst_fns: &mut SubstitutionFns<
components/dada-ir-sym/src/ir/subst.rs:505
↓ 3 callers
Method
term_bounds
Returns an iterator over the bounds on an inference variable that appears under `perm`, yielding terms: If this is a permission inference variable, t
components/dada-ir-sym/src/check/env/combinator.rs:266
↓ 3 callers
Method
test
(&mut self, mut options: TestOptions)
components/dada-lang/src/main_lib/test.rs:270
↓ 3 callers
Function
test_report_path
(path: &Path)
components/dada-lang/src/main_lib/test.rs:887
↓ 3 callers
Function
to_level
(level: crate::diagnostic::Level)
components/dada-ir-ast/src/diagnostic/render.rs:21
↓ 3 callers
Method
to_red_perm
( &self, env: &mut Env<'db>, live_after: LivePlaces, direction: Direction,
components/dada-ir-sym/src/check/to_red.rs:130
↓ 3 callers
Method
to_sym_perm
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/check/red.rs:54
↓ 3 callers
Method
to_url
(&self, _vfs: &dyn VirtualFileSystem)
components/dada-compiler/src/vfs.rs:143
↓ 3 callers
Function
tokenize
( db: &'db dyn crate::Db, anchor: Anchor<'db>, input_offset: Offset, input: &'input str, )
components/dada-parser/src/tokenizer.rs:235
↓ 3 callers
Function
transform_inline_sub_paragraphs
Replaces inline `` {spec}`name [tags...]` `` markers in content lines with HTML anchor spans and tag badges. Each marker becomes: `<span id="parent_i
components/dada-spec-common/src/lib.rs:230
↓ 3 callers
Method
value
()
components/dada-debug/assets/highlight.min.js:25
↓ 3 callers
Function
variable_decl_requires_default_perm
Returns true if a variable declaration requires a default permission. See [`PopulateDefaultSymbols`] trait for examples.
components/dada-ir-sym/src/ir/populate.rs:299
↓ 3 callers
Method
variable_ty
Returns the type of the given variable. # Panics If the variable is not present.
components/dada-ir-sym/src/check/env.rs:261
↓ 2 callers
Function
F
(e,t,{key:n})
components/dada-debug/assets/highlight.min.js:109
↓ 2 callers
Function
X
(e,...t)
components/dada-debug/assets/highlight.min.js:107
↓ 2 callers
Function
_canCollapse
(data)
components/dada-debug/assets/jsontree.js:104
↓ 2 callers
Function
_close
(sym, id)
components/dada-debug/assets/jsontree.js:200
↓ 2 callers
Function
_collapseElem
()
components/dada-debug/assets/jsontree.js:99
↓ 2 callers
Function
_collection
(opening, data, closing)
components/dada-debug/assets/jsontree.js:124
↓ 2 callers
Function
_comma
()
components/dada-debug/assets/jsontree.js:185
↓ 2 callers
Function
_escape
(text)
components/dada-debug/assets/jsontree.js:52
↓ 2 callers
Function
_id
()
components/dada-debug/assets/jsontree.js:48
↓ 2 callers
Function
_open
(sym, id)
components/dada-debug/assets/jsontree.js:196
↓ 2 callers
Method
aggregate
Return the innermost class in scope (if any).
components/dada-ir-sym/src/check/scope.rs:111
↓ 2 callers
Method
all_binders
Convert `self` into a vec-of-vecs containing the bound generic symbols in outermost-to-innermost order. e.g. if you have `class[type A] { fn foo[type
components/dada-ir-sym/src/check/scope.rs:209
↓ 2 callers
Method
as_u32
(&self)
components/dada-ir-ast/src/span.rs:258
↓ 2 callers
Method
assemble_tests
( &self, inputs: &[impl AsRef<Path>], verbose: &mut bool, )
components/dada-lang/src/main_lib/test.rs:311
↓ 2 callers
Function
assert_bound_variable
( _db: &'db dyn crate::Db, sym_variable: SymVariable<'db>, bound_vars: &mut Vec<SymVariable<'db>>,
components/dada-ir-sym/src/check/subst_impls.rs:261
↓ 2 callers
Method
assert_perm
(self, db: &'db dyn crate::Db)
components/dada-ir-sym/src/ir/types.rs:192
↓ 2 callers
Method
block_on
Block on the debug server thread (if it has been launched)
components/dada-debug/src/lib.rs:51
↓ 2 callers
Method
bounding_perm
Return the bounding perm on the permission inference variable `v` from the given `direction`.
components/dada-ir-sym/src/check/resolve.rs:167
↓ 2 callers
Method
bounding_ty
Return the bounding type on the type inference variable `v` from the given `direction`.
components/dada-ir-sym/src/check/resolve.rs:112
↓ 2 callers
Method
can_be_perm
True if this could syntactically be a permission.
components/dada-parser/src/types.rs:100
↓ 2 callers
Function
check_accept_header
(headers: &axum::http::header::HeaderMap)
components/dada-debug/src/events.rs:5
↓ 2 callers
Function
check_block_statements
( env: &mut Env<'db>, live_after: LivePlaces, block_span: Span<'db>, statements: &[AstStatemen
components/dada-ir-sym/src/check/statements.rs:16
↓ 2 callers
Function
check_call_common
( env: &mut Env<'db>, _live_after: LivePlaces, function: SymFunction<'db>, expr_span: Span<'db
components/dada-ir-sym/src/check/exprs.rs:1146
↓ 2 callers
Function
check_function_call
( env: &mut Env<'db>, live_after: LivePlaces, function_span: Span<'db>, expr_span: Span<'db>,
components/dada-ir-sym/src/check/exprs.rs:938
↓ 2 callers
Method
cmp
(&self, other: &Self)
components/dada-ir-ast/src/span.rs:352
↓ 2 callers
Method
codegen_main_fn
Codegen the main function of a source file.
components/dada-compiler/src/lib.rs:158
↓ 2 callers
Method
codegen_signature
( &self, function: SymFunction<'db>, generics: &[SymGenericTerm<'db>], )
components/dada-codegen/src/cx/generate_fn.rs:99
↓ 2 callers
Method
compile
( &mut self, compile_options: &CompileOptions, debug_tx: Option<Sender<DebugEvent>>,
components/dada-lang/src/main_lib/compile.rs:12
↓ 2 callers
Function
concat_linkvecs
( env: &mut Env<'db>, lhs: &[RedLink<'db>], mut rhs: &[RedLink<'db>], )
components/dada-ir-sym/src/check/to_red.rs:463
← previous
next →
201–300 of 1,179, ranked by callers