MCPcopy Create free account

hub / github.com/adam-mcdaniel/sage / functions

Functions1,185 in github.com/adam-mcdaniel/sage

Methodflatten
Flatten a core program so that all of its functions are defined sequentially at the beginning.
src/vm/core.rs:34
Methodfloat
Construct a new pattern which matches a constant float.
src/lir/expr/pattern.rs:45
Methodfmt
(&self, f: &mut fmt::Formatter)
src/cli.rs:160
Methodfmt
(&self, f: &mut Formatter)
src/lir/env.rs:1330
Methodfmt
(&self, f: &mut Formatter)
src/lir/error.rs:165
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/lir/types/mod.rs:111
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/expression.rs:782
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/declaration.rs:727
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/pattern.rs:1037
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/const_expr.rs:1025
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/poly.rs:290
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/procedure/ffi.rs:76
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/mono.rs:271
Methodfmt
(&self, f: &mut fmt::Formatter)
src/lir/expr/procedure/builtin.rs:137
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/assign.rs:103
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/logic.rs:183
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/comparison.rs:268
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/io.rs:79
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/memory.rs:61
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/tagged_union.rs:89
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/mod.rs:417
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/negate.rs:87
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/arithmetic/addition.rs:342
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/xor.rs:70
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/not.rs:69
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/nor.rs:70
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/or.rs:70
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/nand.rs:70
Methodfmt
(&self, f: &mut Formatter)
src/lir/expr/ops/bitwise/and.rs:70
Methodfmt
(&self, f: &mut Formatter)
src/asm/mod.rs:186
Methodfmt
(&self, f: &mut fmt::Formatter)
src/asm/location.rs:122
Methodfmt
(&self, f: &mut fmt::Formatter)
src/asm/std.rs:114
Methodfmt
(&self, f: &mut fmt::Formatter)
src/asm/globals.rs:131
Methodfmt
(&self, f: &mut fmt::Formatter)
src/asm/core.rs:144
Methodfmt
(&self, f: &mut Formatter)
src/side_effects/ffi.rs:34
Methodfmt
(&self, f: &mut Formatter)
src/side_effects/io.rs:398
Methodfmt
(&self, f: &mut Formatter)
src/vm/mod.rs:80
Methodfmt
(&self, f: &mut fmt::Formatter)
src/vm/std.rs:247
Methodfmt
(&self, f: &mut fmt::Formatter)
src/vm/core.rs:151
Methodfmt
(&self, f: &mut fmt::Formatter)
examples/web/src/lib.rs:102
Methodfrom
(value: SourceCodeLocation)
src/lir/annotate.rs:212
Methodfrom
(e: crate::asm::Error)
src/lir/error.rs:159
Methodfrom
(b: bool)
src/lir/types/mod.rs:78
Methodfrom
(c: ConstExpr)
src/lir/expr/expression.rs:118
Methodfrom
((name, ty): (String, Type))
src/lir/expr/declaration.rs:792
Methodfrom
(value: PolyProcedure)
src/lir/expr/const_expr.rs:1274
Methodfrom
(e: crate::vm::Error)
src/asm/mod.rs:180
Methodfrom
(core: CoreProgram)
src/vm/std.rs:397
Methodfrom_mono
(mono: Procedure, ty_params: Vec<(String, Option<Type>)>)
src/lir/expr/procedure/poly.rs:84
Methodget
(&mut self, src: &Input)
src/targets/sage_os.rs:127
Methodget
(&mut self, src: Input)
src/vm/mod.rs:197
Methodget_code
Given the source code, get the string associated with this location.
src/parse.rs:52
Methodget_functions
Get the code for each function.
src/vm/std.rs:131
Methodget_functions
Get the code for each function.
src/vm/core.rs:44
Methodget_global
Get the location, and size of a global variable.
src/asm/globals.rs:110
Methodget_global_location
Get the location of a global variable.
src/asm/globals.rs:115
Methodget_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
Methodget_main
Get the code outside of any functions.
src/vm/std.rs:126
Methodget_main
Get the code outside of any functions.
src/vm/core.rs:39
Methodget_main_and_functions
Get the code outside of any functions, and the code for each function.
src/vm/core.rs:49
Methodget_method_call_mutability
(&self, env: &Env)
src/lir/expr/expression.rs:428
Methodget_op
(&self, start: usize)
src/asm/core.rs:264
Methodget_size_of_globals
Get the size that should be allocated to the global variables.
src/asm/mod.rs:130
Methodget_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/poly.rs:205
Methodget_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/ffi.rs:46
Methodget_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/mono.rs:192
Methodget_type_checked
(&self, _env: &Env, _i: usize)
src/lir/expr/procedure/builtin.rs:34
Methodgt
Is this expression greater than another?
src/lir/expr/expression.rs:562
MethodhandleAliases
(ret,query,filterCrates,currentCrate)
docs/static.files/search-92e6798f.js:1
MethodhandleArgs
(row,pos,results)
docs/static.files/search-92e6798f.js:1
MethodhandleNameSearch
docs/static.files/search-92e6798f.js:1
FunctionhandleShortcut
(ev)
docs/static.files/main-5f194d8c.js:1
Methodhard_with
(&self, older_decls: impl Into<Declaration>)
src/lir/expr/const_expr.rs:149
Methodhash
(&self, state: &mut H)
src/lir/types/mod.rs:66
Methodhash
(&self, state: &mut H)
src/lir/expr/expression.rs:992
Methodhash
(&self, state: &mut H)
src/lir/expr/declaration.rs:961
Methodhash
(&self, state: &mut H)
src/lir/expr/const_expr.rs:1139
Methodhash
(&self, state: &mut H)
src/lir/expr/procedure/poly.rs:318
Methodhash
(&self, state: &mut H)
src/lir/expr/procedure/mono.rs:289
Methodhash
(&self, state: &mut H)
src/lir/expr/procedure/builtin.rs:69
Methodhashint1
docs/static.files/search-92e6798f.js:1
Methodhashint2
docs/static.files/search-92e6798f.js:1
FunctionhelpBlurHandler
(event)
docs/static.files/main-5f194d8c.js:1
Methodif_then
Create an if-then-else statement with this expression as the condition.
src/lir/expr/expression.rs:745
FunctioninitResize
(e)
docs/static.files/main-5f194d8c.js:11
FunctioninitSync
(module)
docs/sage/web/web.js:375
MethodinnerRunQuery
()
docs/static.files/search-92e6798f.js:1
Methodint
Construct a new pattern which matches a constant integer.
src/lir/expr/pattern.rs:41
Methodis_compiler_generated
Is this compiler-generated?
src/lir/annotate.rs:91
Methodis_dead_code
Is this dead code?
src/lir/annotate.rs:79
Methodis_defined
(&self, label: &str)
src/asm/core.rs:256
Methodis_monomorph_of
Is this type a monomorph of a given template type?
src/lir/types/mod.rs:551
Methodis_poly
Is this a polymorphic function?
src/lir/types/mod.rs:391
Methodis_self_param_reference
Is first argument of function a reference?
src/lir/types/mod.rs:818
Methodis_temporary
Is this a temporary?
src/lir/annotate.rs:103
MethoditemTypeFromName
(typename)
docs/static.files/search-92e6798f.js:1
Methodle
Is this expression less than or equal to another?
src/lir/expr/expression.rs:557
Methodlet_bind
Create a let-bound type.
src/lir/types/mod.rs:1078
Methodlet_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
Methodlet_consts
Create several `const` bindings at onces.
src/lir/expr/expression.rs:706
← previousnext →801–900 of 1,185, ranked by callers