Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adam-mcdaniel/sage
/ functions
Functions
1,185 in github.com/adam-mcdaniel/sage
⨍
Functions
1,185
◇
Types & classes
113
Method
flatten
Flatten a core program so that all of its functions are defined sequentially at the beginning.
src/vm/core.rs:34
Method
float
Construct a new pattern which matches a constant float.
src/lir/expr/pattern.rs:45
Method
fmt
(&self, f: &mut fmt::Formatter)
src/cli.rs:160
Method
fmt
(&self, f: &mut Formatter)
src/lir/env.rs:1330
Method
fmt
(&self, f: &mut Formatter)
src/lir/error.rs:165
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/lir/types/mod.rs:111
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/expression.rs:782
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/declaration.rs:727
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/pattern.rs:1037
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/const_expr.rs:1025
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/poly.rs:290
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/procedure/ffi.rs:76
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/mono.rs:271
Method
fmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/builtin.rs:137
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/assign.rs:103
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/logic.rs:183
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/comparison.rs:268
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/io.rs:79
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/memory.rs:61
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/tagged_union.rs:89
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/mod.rs:417
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/negate.rs:87
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/addition.rs:342
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/xor.rs:70
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/not.rs:69
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/nor.rs:70
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/or.rs:70
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/nand.rs:70
Method
fmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/and.rs:70
Method
fmt
(&self, f: &mut Formatter)
src/asm/mod.rs:186
Method
fmt
(&self, f: &mut fmt::Formatter)
src/asm/location.rs:122
Method
fmt
(&self, f: &mut fmt::Formatter)
src/asm/std.rs:114
Method
fmt
(&self, f: &mut fmt::Formatter)
src/asm/globals.rs:131
Method
fmt
(&self, f: &mut fmt::Formatter)
src/asm/core.rs:144
Method
fmt
(&self, f: &mut Formatter)
src/side_effects/ffi.rs:34
Method
fmt
(&self, f: &mut Formatter)
src/side_effects/io.rs:398
Method
fmt
(&self, f: &mut Formatter)
src/vm/mod.rs:80
Method
fmt
(&self, f: &mut fmt::Formatter)
src/vm/std.rs:247
Method
fmt
(&self, f: &mut fmt::Formatter)
src/vm/core.rs:151
Method
fmt
(&self, f: &mut fmt::Formatter)
examples/web/src/lib.rs:102
Method
from
(value: SourceCodeLocation)
src/lir/annotate.rs:212
Method
from
(e: crate::asm::Error)
src/lir/error.rs:159
Method
from
(b: bool)
src/lir/types/mod.rs:78
Method
from
(c: ConstExpr)
src/lir/expr/expression.rs:118
Method
from
((name, ty): (String, Type))
src/lir/expr/declaration.rs:792
Method
from
(value: PolyProcedure)
src/lir/expr/const_expr.rs:1274
Method
from
(e: crate::vm::Error)
src/asm/mod.rs:180
Method
from
(core: CoreProgram)
src/vm/std.rs:397
Method
from_mono
(mono: Procedure, ty_params: Vec<(String, Option<Type>)>)
src/lir/expr/procedure/poly.rs:84
Method
get
(&mut self, src: &Input)
src/targets/sage_os.rs:127
Method
get
(&mut self, src: Input)
src/vm/mod.rs:197
Method
get_code
Given the source code, get the string associated with this location.
src/parse.rs:52
Method
get_functions
Get the code for each function.
src/vm/std.rs:131
Method
get_functions
Get the code for each function.
src/vm/core.rs:44
Method
get_global
Get the location, and size of a global variable.
src/asm/globals.rs:110
Method
get_global_location
Get the location of a global variable.
src/asm/globals.rs:115
Method
get_global_size
Get the size of a global variable. This is the number of cells that the global variable occupies.
src/asm/globals.rs:125
Method
get_main
Get the code outside of any functions.
src/vm/std.rs:126
Method
get_main
Get the code outside of any functions.
src/vm/core.rs:39
Method
get_main_and_functions
Get the code outside of any functions, and the code for each function.
src/vm/core.rs:49
Method
get_method_call_mutability
(&self, env: &Env)
src/lir/expr/expression.rs:428
Method
get_op
(&self, start: usize)
src/asm/core.rs:264
Method
get_size_of_globals
Get the size that should be allocated to the global variables.
src/asm/mod.rs:130
Method
get_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/poly.rs:205
Method
get_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/ffi.rs:46
Method
get_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/mono.rs:192
Method
get_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/builtin.rs:34
Method
gt
Is this expression greater than another?
src/lir/expr/expression.rs:562
Method
handleAliases
(ret,query,filterCrates,currentCrate)
docs/static.files/search-92e6798f.js:1
Method
handleArgs
(row,pos,results)
docs/static.files/search-92e6798f.js:1
Method
handleNameSearch
docs/static.files/search-92e6798f.js:1
Function
handleShortcut
(ev)
docs/static.files/main-5f194d8c.js:1
Method
hard_with
(&self, older_decls: impl Into<Declaration>)
src/lir/expr/const_expr.rs:149
Method
hash
(&self, state: &mut H)
src/lir/types/mod.rs:66
Method
hash
(&self, state: &mut H)
src/lir/expr/expression.rs:992
Method
hash
(&self, state: &mut H)
src/lir/expr/declaration.rs:961
Method
hash
(&self, state: &mut H)
src/lir/expr/const_expr.rs:1139
Method
hash
(&self, state: &mut H)
src/lir/expr/procedure/poly.rs:318
Method
hash
(&self, state: &mut H)
src/lir/expr/procedure/mono.rs:289
Method
hash
(&self, state: &mut H)
src/lir/expr/procedure/builtin.rs:69
Method
hashint1
docs/static.files/search-92e6798f.js:1
Method
hashint2
docs/static.files/search-92e6798f.js:1
Function
helpBlurHandler
(event)
docs/static.files/main-5f194d8c.js:1
Method
if_then
Create an if-then-else statement with this expression as the condition.
src/lir/expr/expression.rs:745
Function
initResize
(e)
docs/static.files/main-5f194d8c.js:11
Function
initSync
(module)
docs/sage/web/web.js:375
Method
innerRunQuery
()
docs/static.files/search-92e6798f.js:1
Method
int
Construct a new pattern which matches a constant integer.
src/lir/expr/pattern.rs:41
Method
is_compiler_generated
Is this compiler-generated?
src/lir/annotate.rs:91
Method
is_dead_code
Is this dead code?
src/lir/annotate.rs:79
Method
is_defined
(&self, label: &str)
src/asm/core.rs:256
Method
is_monomorph_of
Is this type a monomorph of a given template type?
src/lir/types/mod.rs:551
Method
is_poly
Is this a polymorphic function?
src/lir/types/mod.rs:391
Method
is_self_param_reference
Is first argument of function a reference?
src/lir/types/mod.rs:818
Method
is_temporary
Is this a temporary?
src/lir/annotate.rs:103
Method
itemTypeFromName
(typename)
docs/static.files/search-92e6798f.js:1
Method
le
Is this expression less than or equal to another?
src/lir/expr/expression.rs:557
Method
let_bind
Create a let-bound type.
src/lir/types/mod.rs:1078
Method
let_const
Create a `let` binding for a constant expression. This will create a new scope with the constant `constname` defined. `ret` will be evaluated under t
src/lir/expr/expression.rs:701
Method
let_consts
Create several `const` bindings at onces.
src/lir/expr/expression.rs:706
← previous
next →
801–900 of 1,185, ranked by callers