Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KeenS/webml
/ functions
Functions
684 in github.com/KeenS/webml
⨍
Functions
684
◇
Types & classes
114
↓ 3 callers
Function
walk_dir
(name: impl AsRef<Path>, mut callback: impl for<'a> FnMut(PathBuf))
tests/tests/compile.rs:40
↓ 3 callers
Method
with_bound
(&mut self, bound: bool, f: F)
src/hir/force_closure.rs:26
↓ 2 callers
Method
analyze_free_expr
( &'b mut self, frees: &mut Vec<(HTy, Symbol)>, bound: &Symbol, expr: &'c Expr
src/hir/unnest_func.rs:272
↓ 2 callers
Method
analyze_free_val
( &'b mut self, frees: &mut Vec<(HTy, Symbol)>, bound: &Symbol, val: &'c Val,
src/hir/unnest_func.rs:263
↓ 2 callers
Method
at
(&self, node_id: NodeId)
src/unification_pool.rs:43
↓ 2 callers
Method
bound
(&self)
src/hir/force_closure.rs:22
↓ 2 callers
Method
comment
(&self)
src/parser.rs:1093
↓ 2 callers
Function
compile_string
(input: String, config: &Config)
src/lib.rs:23
↓ 2 callers
Method
conv_constructor_name
(&mut self, name: &Symbol)
src/hir/ast2hir.rs:411
↓ 2 callers
Method
conv_pat
(&mut self, pat: ast::TypedCorePattern)
src/hir/ast2hir.rs:326
↓ 2 callers
Method
conv_statement
(&mut self, decl: ast::TypedCoreDeclaration)
src/hir/ast2hir.rs:90
↓ 2 callers
Method
conv_top_val
(&mut self, mut val: Val)
src/hir/unnest_func.rs:101
↓ 2 callers
Function
fun_type
(f: &lir::Function)
src/backend/wasm.rs:38
↓ 2 callers
Method
get_argtype_of_constructor
(&self, name: &Symbol)
src/ast/mod.rs:599
↓ 2 callers
Method
get_table
(&self)
src/parser.rs:83
↓ 2 callers
Method
infer_pat
(&mut self, span: Span, pat: &CorePattern<NodeId>)
src/ast/typing.rs:564
↓ 2 callers
Method
infer_statement
(&mut self, decl: &CoreDeclaration<NodeId>)
src/ast/typing.rs:337
↓ 2 callers
Method
init
(&mut self)
src/ast/typing.rs:146
↓ 2 callers
Method
is_char
(&self)
src/ast/mod.rs:565
↓ 2 callers
Method
is_constant
(&self)
src/ast/mod.rs:561
↓ 2 callers
Method
is_constructor
(&self, name: &Symbol)
src/ast/var2constructor.rs:39
↓ 2 callers
Method
is_enum_like
(&self, name: &Symbol)
src/hir/constructor2enum.rs:67
↓ 2 callers
Method
is_in_scope
(&mut self, symbol: &Symbol)
src/hir/unnest_func.rs:69
↓ 2 callers
Method
is_irrefutable
(&self)
src/hir/mod.rs:259
↓ 2 callers
Method
is_normal
(&self)
src/hir/mod.rs:187
↓ 2 callers
Method
is_tuple
(&self)
src/ast/mod.rs:569
↓ 2 callers
Function
lty_to_valuetype
(t: &lir::LTy)
src/backend/wasm.rs:34
↓ 2 callers
Method
map_ty
(self, f: &mut dyn FnMut(Ty) -> Ty2)
src/ast/mod.rs:386
↓ 2 callers
Function
map_window3
( iter: I, mut f: impl FnMut(I::Item, I::Item, I::Item) -> (I::Item, Option<(I::Item, I::Item)
src/parser.rs:1464
↓ 2 callers
Function
new_page
()
webml-rt/src/lib.rs:22
↓ 2 callers
Method
new_variable
(&mut self, symbol: &mut Symbol)
src/ast/rename.rs:61
↓ 2 callers
Method
next_ebbs
(&self)
src/mir/cfg.rs:43
↓ 2 callers
Method
op_symbol_alphanumeric
( &self, )
src/parser.rs:1005
↓ 2 callers
Method
op_symbol_eq
(&self)
src/parser.rs:997
↓ 2 callers
Function
parse
(mixed: Vec<Input<T>>)
src/parser.rs:1338
↓ 2 callers
Method
reduction
(&mut self, mut start: NodeId)
src/unification_pool.rs:69
↓ 2 callers
Method
rename
(&mut self, symbol: &mut Symbol)
src/ast/rename.rs:113
↓ 2 callers
Method
resolve_defers
( &mut self, name: &'a lir::Label, defers: &mut HashMap<&'a lir::Label, Vec<&'a lir::L
src/backend/wasm.rs:1023
↓ 2 callers
Function
rewrite_ty
(enum_likes: &HashSet<Symbol>, ty: HTy)
src/hir/constructor2enum.rs:12
↓ 2 callers
Method
run_wasm
(&mut self, module_data: &[u8])
webml-interp/src/lib.rs:65
↓ 2 callers
Method
symbol_eq
(&self)
src/parser.rs:989
↓ 2 callers
Method
symbol_table
(&self)
src/ast/var2constructor.rs:35
↓ 2 callers
Function
take_binds
(expr: Expr)
src/hir/flat_let.rs:8
↓ 2 callers
Method
to
(&mut self, bound: bool)
src/hir/force_closure.rs:17
↓ 2 callers
Method
top
(&self)
src/parser.rs:118
↓ 2 callers
Method
trans_type_info
(&self, info: &hir::TypeInfo)
src/mir/hir2mir.rs:64
↓ 2 callers
Method
traverse_ast
(&mut self, ast: &mut Core<Ty>)
src/ast/util.rs:4
↓ 2 callers
Method
traverse_builtin_call
(&mut self, _ty: &mut HTy, _fun: &mut BIF, args: &mut Vec<Expr>)
src/hir/util.rs:74
↓ 2 callers
Method
traverse_closure
( &mut self, _envs: &mut Vec<(HTy, Symbol)>, _param_ty: &mut HTy, _body_ty: &m
src/hir/util.rs:65
↓ 2 callers
Method
traverse_constructor
( &mut self, _ty: &mut HTy, arg: &mut Option<Box<Expr>>, _name: &mut u32,
src/hir/util.rs:119
↓ 2 callers
Method
traverse_extern_call
( &mut self, _ty: &mut HTy, _module: &mut String, _fun: &mut String, a
src/hir/util.rs:80
↓ 2 callers
Method
traverse_hir
(&mut self, hir: &mut HIR)
src/hir/util.rs:4
↓ 2 callers
Method
traverse_lit
(&mut self, _ty: &mut HTy, _value: &mut Literal)
src/hir/util.rs:132
↓ 2 callers
Method
traverse_proj
(&mut self, _ty: &mut HTy, _index: &mut u32, tuple: &mut Box<Expr>)
src/hir/util.rs:115
↓ 2 callers
Method
traverse_tuple
(&mut self, _tys: &mut Vec<HTy>, tuple: &mut Vec<Expr>)
src/hir/util.rs:109
↓ 2 callers
Method
traverse_val
(&mut self, val: &mut Val)
src/hir/util.rs:10
↓ 2 callers
Function
try_unify
( string_ty: Symbol, )
src/ast/typing.rs:68
↓ 2 callers
Method
tuple
(&mut self, var: Symbol, tys: Vec<EbbTy>, tuple: Vec<Symbol>)
src/mir/builder.rs:386
↓ 2 callers
Method
ty_char
(&mut self)
src/ast/typing.rs:170
↓ 2 callers
Method
ty_real
(&mut self)
src/ast/typing.rs:183
↓ 2 callers
Method
typename1
(&self)
src/parser.rs:934
↓ 2 callers
Method
union
( &mut self, var: Symbol, tys: Vec<EbbTy>, index: u32, variant: Symbol
src/mir/builder.rs:401
↓ 2 callers
Method
value_of
(&self, mut id: NodeId)
src/unification_pool.rs:60
↓ 2 callers
Function
with_compile_result
(path: impl AsRef<Path>, callback: impl FnOnce(Result<Vec<u8>, Error>))
tests/tests/compile.rs:13
↓ 2 callers
Method
with_scope
(&self, f: impl FnOnce() -> R)
src/parser.rs:57
↓ 1 callers
Function
add_ffi_module
(linker: &mut Linker)
webml-test/src/lib.rs:9
↓ 1 callers
Function
add_ffi_module
(linker: &mut Linker<()>)
webml-interp/src/lib.rs:4
↓ 1 callers
Method
add_int
(&mut self, var: Symbol, ty: EbbTy, l: Symbol, r: Symbol)
src/mir/builder.rs:49
↓ 1 callers
Function
add_new_page
()
webml-rt/src/lib.rs:37
↓ 1 callers
Method
add_real
(&mut self, var: Symbol, ty: EbbTy, l: Symbol, r: Symbol)
src/mir/builder.rs:60
↓ 1 callers
Function
add_rt_module
(linker: &mut Linker)
webml-test/src/lib.rs:18
↓ 1 callers
Function
add_rt_module
(store: &mut Store<()>, linker: &mut Linker<()>)
webml-interp/src/lib.rs:11
↓ 1 callers
Method
adjust_block
(&mut self, v: Vec<Control<'a>>)
src/backend/wasm.rs:991
↓ 1 callers
Method
adjust_loop
(&mut self, v: Vec<Control<'a>>)
src/backend/wasm.rs:958
↓ 1 callers
Method
adjust_loop_block
(&mut self, v: Vec<Control<'a>>)
src/backend/wasm.rs:953
↓ 1 callers
Method
alias
(&mut self, al: Symbol, mut orig: Symbol)
src/mir/unalias.rs:93
↓ 1 callers
Method
alloc_loop_block_break
allocate block and loop scopes for jump -> break transformation. Forward jump will be block + break, and backword jump will be loop + break in followi
src/backend/wasm.rs:839
↓ 1 callers
Method
app1
(self, ty: HTy, e: Expr)
src/hir/mod.rs:179
↓ 1 callers
Method
arg_type
(&self, name: &Symbol)
src/ast/var2constructor.rs:45
↓ 1 callers
Method
arrange_fun
(&mut self, mut fun: Function)
src/mir/block_arrange.rs:15
↓ 1 callers
Method
arrange_mir
(&mut self, mir: MIR)
src/mir/block_arrange.rs:11
↓ 1 callers
Method
branch
( mut self, cond: Symbol, clauses: Vec<(u32, Symbol, bool)>, default: Option<(
src/mir/builder.rs:427
↓ 1 callers
Method
canonical_value
(&self, name: &Symbol)
src/mir/mod.rs:183
↓ 1 callers
Method
closure
( &mut self, var: Symbol, param_ty: EbbTy, ret_ty: EbbTy, fun: Symbol,
src/mir/builder.rs:345
↓ 1 callers
Method
constructor_def
(&self)
src/parser.rs:271
↓ 1 callers
Method
constructor_to_id
(&self, name: &Symbol)
src/ast/mod.rs:610
↓ 1 callers
Method
constructors
(&self)
src/ast/mod.rs:433
↓ 1 callers
Method
conv_ast
(&mut self, ast: ast::TypedCore)
src/hir/ast2hir.rs:82
↓ 1 callers
Method
conv_bif
(&mut self, bif: ast::BIF)
src/hir/ast2hir.rs:375
↓ 1 callers
Method
conv_ebb
(&mut self, mut ebb: EBB)
src/mir/unalias.rs:28
↓ 1 callers
Method
conv_expr
(&mut self, expr: Expr, bind_name: Option<Symbol>, is_top: bool)
src/hir/unnest_func.rs:111
↓ 1 callers
Method
conv_expr
(&mut self, expr: ast::TypedCoreExpr)
src/hir/ast2hir.rs:247
↓ 1 callers
Method
conv_fun
(&mut self, mut fun: Function)
src/mir/unalias.rs:17
↓ 1 callers
Method
conv_hir
(&mut self, mut hir: HIR)
src/hir/unnest_func.rs:80
↓ 1 callers
Method
conv_mir
(&mut self, mir: MIR)
src/mir/unalias.rs:13
↓ 1 callers
Function
conv_symbol_table
(symbol_table: ast::SymbolTable)
src/hir/ast2hir.rs:27
↓ 1 callers
Function
conv_type_info
(type_info: ast::TypeInfo)
src/hir/ast2hir.rs:37
↓ 1 callers
Method
decl_datatype
(&self)
src/parser.rs:154
↓ 1 callers
Method
decl_expr
(&self)
src/parser.rs:351
↓ 1 callers
Method
decl_fun
(&self)
src/parser.rs:224
← previous
next →
101–200 of 684, ranked by callers