MCPcopy Create free account

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

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

Methodlet_proc
Create a `proc` binding for a procedure. This will create a new scope with the procedure `proc` defined. `ret` will be evaluated under this new scope
src/lir/expr/expression.rs:716
Methodlet_procs
Create several `proc` bindings at onces.
src/lir/expr/expression.rs:721
Methodlet_type
Create a `let` binding for an type. This will create a new scope with the type `typename` defined. `typename` will be declared with the type `t`, and
src/lir/expr/expression.rs:687
Methodlet_types
Create several `type` bindings at onces.
src/lir/expr/expression.rs:691
Methodlet_var
Create a `let` binding for an expression. This will create a new scope with the variable `var` defined. `var` will be declared with the type `t`, and
src/lir/expr/expression.rs:661
Methodlet_vars
Create a `let` binding for an expression, and define multiple variables.
src/lir/expr/expression.rs:673
Functionmain
()
build.rs:3
Functionmain
()
src/cli.rs:509
Functionmain_js
()
docs/sage/web/web.js:170
Functionmain_js
()
examples/web/src/lib.rs:29
Methodmany
Create a collection of declarations
src/lir/expr/declaration.rs:69
Methodmatch_pattern
Generate an expression which evaluates a `match` expression, which matches a given `expr` against a set of patterns and branches.
src/lir/expr/pattern.rs:496
Methodmatch_pattern_helper
A helper function for generating a `match` expression. This function simply generates code which matches a given `expr` against a set of patterns and
src/lir/expr/pattern.rs:524
Methodmodule
Create a module with a given name and a list of declarations, and whether or not it is checked.
src/lir/expr/declaration.rs:74
Methodmonomorphize
Take some type arguments and produce a monomorphized version of the procedure. This monomorphized version can then be compiled directly. Additionally,
src/lir/expr/procedure/poly.rs:116
Methodmul
(self, other: impl Into<Self>)
src/lir/expr/expression.rs:615
Methodname
(&self)
src/lir/expr/ops/mod.rs:31
Methodname
(&self)
src/lir/expr/ops/mod.rs:222
Methodname
(&self)
src/lir/expr/ops/mod.rs:326
Methodname
(&self)
src/targets/sage_os.rs:116
Methodname
(&self)
src/targets/sage_lisp.rs:48
Methodneg
(self)
src/lir/expr/expression.rs:633
Methodnew
Construct a new polymorphic procedure with type parameters, a list of arguments + their types, a return type, and the body of the procedure.
src/lir/expr/procedure/poly.rs:53
Methodnew
Create a new FFI procedure.
src/lir/expr/procedure/ffi.rs:31
Methodnew
Construct a new procedure with a given list of arguments and their types, a return type, and the body of the procedure.
src/lir/expr/procedure/mono.rs:63
Methodnew
Create a new assignment operation.
src/lir/expr/ops/assign.rs:16
Methodnew
Create a new program of core assembly instructions.
src/asm/std.rs:41
Methodnew
Create a new empty `Globals` lookup.
src/asm/globals.rs:43
Methodnew
Create a new program of core assembly instructions.
src/asm/core.rs:63
Methodnew
Create a new FFI binding.
src/side_effects/ffi.rs:24
Methodnew
Create a new input source.
src/side_effects/io.rs:317
Methodnew
(env: sage_lisp::Env)
src/targets/sage_lisp.rs:18
Methodnew
Create a new testing device with some given sample input.
src/vm/interpreter/mod.rs:67
Methodnew
(device: T)
src/vm/interpreter/std.rs:58
Methodnew
(device: T)
src/vm/interpreter/core.rs:47
Methodnew
Create a new testing device with some given sample input.
examples/web/src/device.rs:21
Methodnew
(device: T)
examples/web/src/interpreter.rs:45
MethodnewParsedQuery
(userQuery)
docs/static.files/search-92e6798f.js:1
Methodnew_raw
(input: Vec<i64>)
src/vm/interpreter/mod.rs:80
Methodnot
(self)
src/lir/expr/expression.rs:517
FunctiononSearchSubmit
(e)
docs/static.files/search-92e6798f.js:6
Methodop
(&mut self, op: CoreOp)
src/asm/core.rs:187
Methodop
(&mut self, op: &CoreOp)
src/targets/sage_os.rs:44
Methodop
(&mut self, _op: &CoreOp)
src/targets/sage_lisp.rs:32
Methodop
(&mut self, op: CoreOp)
src/vm/core.rs:14
MethodparseInput
(query,parserState)
docs/static.files/search-92e6798f.js:1
Functionparse_alt_pattern
( input: &'a str, )
src/frontend/parse.rs:1734
Functionparse_assign_stmt
( input: &'a str, )
src/frontend/parse.rs:2835
Functionparse_attribute
( input: &'a str, )
src/frontend/parse.rs:1488
Functionparse_char_literal
( input: &'a str, )
src/frontend/parse.rs:4029
Functionparse_const_array
( input: &'a str, )
src/frontend/parse.rs:4183
Functionparse_const_bool
( input: &'a str, )
src/frontend/parse.rs:4082
Functionparse_const_group
( input: &'a str, )
src/frontend/parse.rs:3729
Functionparse_const_member
( input: &'a str, )
src/frontend/parse.rs:3705
Functionparse_const_monomorph
( input: &'a str, )
src/frontend/parse.rs:3662
Functionparse_const_none
( input: &'a str, )
src/frontend/parse.rs:4112
Functionparse_const_null
( input: &'a str, )
src/frontend/parse.rs:4097
Functionparse_const_sizeof_expr
( input: &'a str, )
src/frontend/parse.rs:4133
Functionparse_const_sizeof_type
( input: &'a str, )
src/frontend/parse.rs:4147
Functionparse_const_stmt
( input: &'a str, )
src/frontend/parse.rs:2560
Functionparse_const_struct
( input: &'a str, )
src/frontend/parse.rs:4223
Functionparse_const_tuple
( input: &'a str, )
src/frontend/parse.rs:4165
Functionparse_const_variant
( input: &'a str, )
src/frontend/parse.rs:3685
Functionparse_decl
( input: &'a str, )
src/frontend/parse.rs:2092
Functionparse_decorator
( input: &'a str, )
src/frontend/parse.rs:1473
Functionparse_enum_stmt
( input: &'a str, )
src/frontend/parse.rs:2764
Functionparse_escaped_char
Parse an escaped character: \n, \t, \r, \u{00AC}, etc.
src/frontend/parse.rs:3880
Functionparse_escaped_whitespace
Parse a backslash, followed by any amount of whitespace. This is used later to discard any escaped whitespace.
src/frontend/parse.rs:3921
Functionparse_expr_array
( input: &'a str, )
src/frontend/parse.rs:3572
Functionparse_expr_atom
( input: &'a str, )
src/frontend/parse.rs:3522
Functionparse_expr_call
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3444
Functionparse_expr_cast
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3432
Functionparse_expr_group
( input: &'a str, )
src/frontend/parse.rs:3542
Functionparse_expr_index
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3418
Functionparse_expr_member
( expr: &Expr, input: &'a str, )
src/frontend/parse.rs:3498
Functionparse_expr_struct
( input: &'a str, )
src/frontend/parse.rs:3590
Functionparse_expr_tuple
( input: &'a str, )
src/frontend/parse.rs:3554
Functionparse_expr_variant
( input: &'a str, )
src/frontend/parse.rs:3402
Functionparse_extern_stmt
( input: &'a str, )
src/frontend/parse.rs:2526
Functionparse_float_literal
( input: &'a str, )
src/frontend/parse.rs:3808
Functionparse_for_stmt
( input: &'a str, )
src/frontend/parse.rs:2234
Functionparse_fragment_char
(input: &'a str)
src/frontend/parse.rs:3983
Functionparse_fragment_str
Combine parse_literal, parse_escaped_whitespace, and parse_escaped_char into a StringFragment.
src/frontend/parse.rs:3969
Functionparse_fun_stmt
( input: &'a str, )
src/frontend/parse.rs:2273
Functionparse_helper
( input: &'a str, )
src/frontend/parse.rs:1416
Functionparse_if_let_stmt
( input: &'a str, )
src/frontend/parse.rs:2192
Functionparse_if_stmt
( input: &'a str, )
src/frontend/parse.rs:2158
Functionparse_impl_const
( input: &'a str, )
src/frontend/parse.rs:1587
Functionparse_impl_fun
( input: &'a str, )
src/frontend/parse.rs:1548
Functionparse_impl_item
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:1533
Functionparse_impl_method
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:1604
Functionparse_impl_stmt
( input: &'a str, )
src/frontend/parse.rs:1506
Functionparse_import_stmt
( input: &'a str, )
src/frontend/parse.rs:1948
Functionparse_int_literal
( input: &'a str, )
src/frontend/parse.rs:3771
Functionparse_literal_intermediate
Parse a non-empty block of text that doesn't include \ or "
src/frontend/parse.rs:3928
Functionparse_literal_intermediate_char
Parse a non-empty block of text that doesn't include \ or "
src/frontend/parse.rs:3943
Functionparse_long_stmt
( input: &'a str, )
src/frontend/parse.rs:1920
Functionparse_match_stmt
( input: &'a str, )
src/frontend/parse.rs:1718
Functionparse_method_params
( input: &'a str, ty: &Type, )
src/frontend/parse.rs:2425
Functionparse_module_file_stmt
( input: &'a str, )
src/frontend/parse.rs:2049
← previousnext →901–1,000 of 1,185, ranked by callers