MCPcopy Create free account

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

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

↓ 4 callersFunctionisReturnArrow
(parserState)
docs/static.files/search-92e6798f.js:1
↓ 4 callersFunctionloadScript
(url,errorCallback)
docs/static.files/main-5f194d8c.js:1
↓ 4 callersMethodload_vector
(&mut self, n: usize)
src/vm/mod.rs:107
↓ 4 callersFunctionmake_error
This formats an error properly given the line, the `unexpected` token as a string, the line number, and the column number of the unexpected token.
src/parse.rs:169
↓ 4 callersMethodname
(&self)
src/lir/expr/ops/mod.rs:139
↓ 4 callersMethodnext
()
docs/static.files/search-92e6798f.js:1
↓ 4 callersFunctionparse
( input: impl ToString, filename: Option<&str>, include_builtins: bool, include_std: bool, )
src/frontend/mod.rs:13
↓ 4 callersFunctionpassStringToWasm0
(arg, malloc, realloc)
docs/sage/web/web.js:57
↓ 4 callersMethodpop_matching
Pops off the last instruction added with `push_matching`, and matches it with its `End` statement.
src/asm/mod.rs:154
↓ 4 callersMethodpostop
The code after each instruction.
src/targets/mod.rs:86
↓ 4 callersFunctionprevIs
(parserState,lookingFor)
docs/static.files/search-92e6798f.js:1
↓ 4 callersMethodpush_matching
Add a new instruction to be matched with `End`. For example, if the user declares an `If` statement, this will keep track of the `If` and help find it
src/asm/mod.rs:148
↓ 4 callersMethodreg_mut_scalar
(&mut self)
src/vm/interpreter/std.rs:76
↓ 4 callersMethodreg_mut_scalar
(&mut self)
examples/web/src/interpreter.rs:63
↓ 4 callersFunctionrun_frontend_file
(filename: &str, input: &str)
benches/frontend.rs:85
↓ 4 callersFunctionrun_with_gcc
Get output from a program compiled with GCC
benches/frontend.rs:64
↓ 4 callersFunctionsetTooltipHoverTimeout
(element,show)
docs/static.files/main-5f194d8c.js:1
↓ 4 callersMethodset_vector
(&mut self, vector: Vec<i64>)
src/vm/mod.rs:99
↓ 4 callersMethodsimplify_until_union
Simplify a type until it's a union.
src/lir/types/mod.rs:904
↓ 4 callersFunctionstart_source_code_tracking
(remaining_input: &str)
src/frontend/parse.rs:1256
↓ 4 callersMethodtransform_method_call
(&self, env: &Env)
src/lir/expr/expression.rs:217
↓ 3 callersMethodacos
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1071
↓ 3 callersFunctionaddTab
(array,query,display)
docs/static.files/search-92e6798f.js:1
↓ 3 callersMethodasin
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1068
↓ 3 callersMethodatan
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1074
↓ 3 callersMethodbegin_else
(&mut self)
src/vm/mod.rs:173
↓ 3 callersMethodbegin_if
(&mut self)
src/vm/mod.rs:169
↓ 3 callersFunctionbuildUrl
(search,filterCrates)
docs/static.files/search-92e6798f.js:1
↓ 3 callersMethodbuild_op
( &mut self, op: &vm::CoreOp, matching_ops: &mut Vec<vm::CoreOp>, matching_fun
src/targets/mod.rs:122
↓ 3 callersFunctionchangeSidebarSize
(size)
docs/static.files/main-5f194d8c.js:11
↓ 3 callersMethodclone_box
Clone this binary operation into a box.
src/lir/expr/ops/logic.rs:70
↓ 3 callersFunctionconsumeIdent
(parserState)
docs/static.files/search-92e6798f.js:1
↓ 3 callersMethodcos
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1061
↓ 3 callersFunctioncreateScrapeButton
(parent,className,content)
docs/static.files/scrape-examples-d508a8a9.js:1
↓ 3 callersMethoddec
Decrement the value of this location.
src/asm/location.rs:353
↓ 3 callersMethoddeclare_global
Declare a new global variable in the environment with a given size. A global variable is some fixed size, static data allocated by the assembler, and
src/asm/mod.rs:119
↓ 3 callersMethoddefine_args
Define the arguments for the current scope (if this is a procedure).
src/lir/env.rs:1159
↓ 3 callersMethoddefine_proc
Define a procedure with a given name under this environment.
src/lir/env.rs:1079
↓ 3 callersMethoddefine_static_var
Define a static variable with a given name under this environment.
src/lir/env.rs:974
↓ 3 callersFunctionend_source_code_tracking
(remaining_input: &str)
src/frontend/parse.rs:1261
↓ 3 callersMethodflatten
Flatten a multi-declaration into a single-dimensional vector of declarations.
src/lir/expr/declaration.rs:178
↓ 3 callersFunctionformat_error
This is used to take an LALRPOP error and convert it into a nicely formatted error message
src/parse.rs:239
↓ 3 callersFunctiongetNakedUrl
()
docs/static.files/main-5f194d8c.js:1
↓ 3 callersMethodget_all_associated_consts
(&self, ty: &Type)
src/lir/env.rs:525
↓ 3 callersMethodget_assignop
(&self, op: &str)
src/lir/env.rs:195
↓ 3 callersMethodget_binop
(&self, op: &str)
src/lir/env.rs:187
↓ 3 callersMethodget_branch_result_type
Get the type of a branch with a given expression matched to this pattern.
src/lir/expr/pattern.rs:66
↓ 3 callersMethodget_char
(&mut self)
src/vm/interpreter/mod.rs:108
↓ 3 callersMethodget_int
(&mut self)
examples/web/src/device.rs:121
↓ 3 callersMethodget_ternop
(&self, op: &str)
src/lir/env.rs:191
↓ 3 callersMethodget_type_checked
(&self, env: &Env, i: usize)
src/lir/expr/const_expr.rs:603
↓ 3 callersMethodget_unop
(&self, op: &str)
src/lir/env.rs:183
↓ 3 callersMethodhas_location
Does this annotation have a location?
src/lir/annotate.rs:46
↓ 3 callersFunctionisSeparatorCharacter
(c)
docs/static.files/search-92e6798f.js:1
↓ 3 callersMethodis_atomic
Is this type an irreducible, atomic type?
src/lir/types/mod.rs:791
↓ 3 callersMethodjmp_to_end
Jump to the matching "End" for this "Else", "While", or "Function" instruction.
src/vm/interpreter/std.rs:192
↓ 3 callersMethodjmp_to_end
Jump to the matching "End" for this "Else", "While", or "Function" instruction.
src/vm/interpreter/core.rs:179
↓ 3 callersMethodjmp_to_end
Jump to the matching "End" for this "Else", "While", or "Function" instruction.
examples/web/src/interpreter.rs:179
↓ 3 callersFunctionloadSearch
()
docs/static.files/main-5f194d8c.js:1
↓ 3 callersMethodmatches
Does this pattern match the given expression? This function returns an expression which evaluates to true if the expression matches the pattern.
src/lir/expr/pattern.rs:724
↓ 3 callersMethodnew_scope
Create a copy of the current environment but without any variables or arguments defined.
src/lir/env.rs:200
↓ 3 callersMethodop
(&mut self, op: &CoreOp)
src/targets/c.rs:33
↓ 3 callersMethodoutput_vals
(&self)
src/vm/interpreter/mod.rs:189
↓ 3 callersFunctionparse_const
( input: &'a str, )
src/frontend/parse.rs:3650
↓ 3 callersFunctionparse_lir
Parse LIR code as an LIR expression.
src/parse.rs:136
↓ 3 callersMethodprev
Take the pointer value of this location, and make it point `count` number of cells to the left of its original position.
src/asm/location.rs:311
↓ 3 callersFunctionprintTab
(nb)
docs/static.files/search-92e6798f.js:1
↓ 3 callersFunctionrestore_source_code_setup
()
src/frontend/parse.rs:1196
↓ 3 callersMethodreturn_type_from_types
(&self, lhs: &Type, rhs: &Type, env: &Env)
src/lir/expr/ops/arithmetic/addition.rs:12
↓ 3 callersMethodsave_type_checked_const
(&self, const_expr: ConstExpr)
src/lir/env.rs:240
↓ 3 callersFunctionscrollToLoc
(elt,loc,isHidden)
docs/static.files/scrape-examples-d508a8a9.js:1
↓ 3 callersMethodset_float_vector
(&mut self, vector: Vec<f64>)
src/vm/mod.rs:95
↓ 3 callersFunctionsetup_source_code_locations
(program: &str, filename: Option<String>)
src/frontend/parse.rs:1222
↓ 3 callersFunctionshowTooltip
(e)
docs/static.files/main-5f194d8c.js:1
↓ 3 callersMethodsimplify_until_simple
(&self, env: &Env, checked: bool)
src/lir/types/mod.rs:960
↓ 3 callersMethodsin
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1058
↓ 3 callersMethodsub_float
This cell -= source cell.
src/asm/location.rs:955
↓ 3 callersMethodsubstitute
(&mut self, name: &str, substitution: &Type)
src/lir/expr/const_expr.rs:925
↓ 3 callersFunctionswitchDisplayedElement
(elemToDisplay)
docs/static.files/main-5f194d8c.js:1
↓ 3 callersMethodtan
(&self, result: &mut dyn VirtualMachineProgram)
src/asm/location.rs:1064
↓ 3 callersMethodtype_param_names
(&self)
src/lir/expr/procedure/poly.rs:109
↓ 3 callersFunctionunassert_parse_const
(input: &str)
src/frontend/parse.rs:4405
↓ 3 callersMethodvec_copy_to
( &self, dst: &Self, size: usize, result: &mut dyn VirtualMachineProgram,
src/asm/location.rs:533
↓ 3 callersMethodwhole_int
Take the value at this location. If it is a whole number (>= 0), then the value of this location is now 1. Otherwise, the value is 0.
src/asm/location.rs:321
↓ 3 callersMethodwith
Return this expression, but with a given declaration in scope.
src/lir/expr/const_expr.rs:154
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
docs/sage/web/web.js:364
↓ 2 callersFunction__wbg_get_imports
()
docs/sage/web/web.js:218
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
docs/sage/web/web.js:360
↓ 2 callersFunctionaddWhereLineFn
()
docs/static.files/search-92e6798f.js:5
↓ 2 callersMethodadd_binding
( &mut self, ffi: FFIBinding, f: fn(&mut VecDeque<i64>, Option<&mut Vec<i64>>), )
src/vm/interpreter/mod.rs:291
↓ 2 callersMethodadd_binding
( &mut self, ffi: FFIBinding, f: fn(&mut VecDeque<i64>, Option<&mut Vec<i64>>), )
examples/web/src/device.rs:86
↓ 2 callersMethodadd_global
Add a global variable to the list of globals.
src/asm/globals.rs:88
↓ 2 callersMethodadd_local_variable_declaration
Add a single variable declaration to this environment. These are declarations for variables that are defined at runtime. Types, constants, and procedu
src/lir/env.rs:914
↓ 2 callersMethodand
Perform boolean and on the value of this cell and a source cell.
src/asm/location.rs:794
↓ 2 callersMethodannotate_with_source
(self, code: &str)
src/cli.rs:141
↓ 2 callersMethodas_type
Cast an expression as another type.
src/lir/expr/expression.rs:506
↓ 2 callersFunctionbuildHelpMenu
()
docs/static.files/main-5f194d8c.js:1
↓ 2 callersMethodbuild_std_op
( &mut self, std_op: &vm::StandardOp, matching_ops: &mut Vec<vm::CoreOp>, matc
src/targets/mod.rs:195
↓ 2 callersFunctionchangeSetting
(settingName,value)
docs/static.files/settings-0f613d39.js:1
↓ 2 callersFunctioncollapseAllDocs
()
docs/static.files/main-5f194d8c.js:1
← previousnext →201–300 of 1,185, ranked by callers