MCPcopy Create free account

hub / github.com/cedricschwyter/spacey / functions

Functions82 in github.com/cedricschwyter/spacey

↓ 41 callersMethodthrow
(self)
src/vm.rs:350
↓ 32 callersMethodthrow
(self)
src/parser.rs:43
↓ 19 callersMethodnext
(&mut self)
src/ws.rs:254
↓ 12 callersMethodrun
Executes all instructions - runs the program.
src/vm.rs:472
↓ 6 callersMethodreset
Resets the internal interpreter state/the VM without re-parsing the source file
src/vm.rs:486
↓ 5 callersFunctiontest_parse
( parser: &mut Box<dyn Parser>, results: Vec<WsInstruction>, )
src/ws.rs:675
↓ 2 callersMethodinto
(self)
src/vm.rs:371
↓ 2 callersMethodnumber
(&mut self, sign: i32)
src/ws.rs:577
↓ 1 callersMethodadd
(&mut self)
src/vm.rs:602
↓ 1 callersFunctionargs
()
src/main.rs:13
↓ 1 callersMethodarithmetic
(&mut self)
src/ws.rs:365
↓ 1 callersMethodcall
(&mut self)
src/vm.rs:708
↓ 1 callersMethodcmd
(&mut self, imp: WsImpKind)
src/ws.rs:567
↓ 1 callersMethodcopy_nth_stack
(&mut self)
src/vm.rs:525
↓ 1 callersMethoddiscard_stack
(&mut self)
src/vm.rs:565
↓ 1 callersMethodduplicate_stack
(&mut self)
src/vm.rs:514
↓ 1 callersMethodexec
(&mut self)
src/vm.rs:966
↓ 1 callersMethodexit
(&mut self)
src/vm.rs:778
↓ 1 callersMethodflow
(&mut self)
src/ws.rs:440
↓ 1 callersMethodheap
(&mut self)
src/ws.rs:424
↓ 1 callersMethodimp
(&mut self)
src/ws.rs:267
↓ 1 callersMethodinstruction
(&mut self)
src/ws.rs:183
↓ 1 callersMethodinteger_division
(&mut self)
src/vm.rs:638
↓ 1 callersMethodio
(&mut self)
src/ws.rs:516
↓ 1 callersMethodjump
(&mut self)
src/vm.rs:719
↓ 1 callersMethodjump_negative
(&mut self)
src/vm.rs:749
↓ 1 callersMethodjump_zero
(&mut self)
src/vm.rs:729
↓ 1 callersMethodlabel
(&mut self)
src/ws.rs:609
↓ 1 callersMethodmark
(&mut self)
src/vm.rs:704
↓ 1 callersMethodmodulo
(&mut self)
src/vm.rs:650
↓ 1 callersMethodmultiply
(&mut self)
src/vm.rs:626
↓ 1 callersMethodnext_instruction
Returns the next instruction to be executed in a `Some` variant. None if the program has reached its end.
src/vm.rs:460
↓ 1 callersMethodout_char
(&mut self)
src/vm.rs:784
↓ 1 callersMethodout_int
(&mut self)
src/vm.rs:827
↓ 1 callersMethodparam
(&mut self, kind: WsParamKind)
src/ws.rs:638
↓ 1 callersMethodparam_kind
(&self)
src/ws.rs:55
↓ 1 callersMethodpush_stack
(&mut self)
src/vm.rs:504
↓ 1 callersMethodr#return
(&mut self)
src/vm.rs:768
↓ 1 callersMethodread_char
(&mut self)
src/vm.rs:857
↓ 1 callersMethodread_int
(&mut self)
src/vm.rs:917
↓ 1 callersMethodretrieve_heap
(&mut self)
src/vm.rs:684
↓ 1 callersMethodslide_n_stack
(&mut self)
src/vm.rs:573
↓ 1 callersMethodstack
(&mut self)
src/ws.rs:305
↓ 1 callersMethodstore_heap
(&mut self)
src/vm.rs:662
↓ 1 callersMethodsubtract
(&mut self)
src/vm.rs:614
↓ 1 callersMethodswap_stack
(&mut self)
src/vm.rs:547
↓ 1 callersMethodtranslate
(&self)
src/ws.rs:93
Methodas_any
(&self)
src/ws.rs:89
Functioncount_benchmark
(c: &mut Criterion)
benches/vm.rs:74
Methoddebug_heap
Returns a default debug interpreter configuration with the default heap size - `source` the source as a String - `source_type` the type of the source
src/vm.rs:143
Methoddebug_no_heap
Returns a default debug interpreter configuration with no heap - `source` the source as a String - `source_type` the type of the source
src/vm.rs:159
Methoddefault_heap
Returns a default interpreter configuration with the default heap size - `source` the source as a String - `source_type` the type of the source
src/vm.rs:79
Methoddefault_heap_suppressed
Returns a default interpreter configuration with the default heap size, suppressing output - `source` the source as a String - `source_type` the type
src/vm.rs:111
Methoddefault_no_heap
Returns a default interpreter configuration with no heap - `source` the source as a String - `source_type` the type of the source
src/vm.rs:95
Methoddefault_no_heap_suppressed
Returns a default interpreter configuration with no heap, suppressing output - `source` the source as a String - `source_type` the type of the source
src/vm.rs:127
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/parser.rs:69
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/vm.rs:344
Methodfrom_str
(s: &str)
src/parser.rs:22
Methodgenerate_debug_heap_dump
(&self)
src/vm.rs:494
Functionhello_world_benchmark
(c: &mut Criterion)
benches/vm.rs:30
Functionhello_world_of_spaces_benchmark
(c: &mut Criterion)
benches/vm.rs:44
Functioninterpret_arithmetic
()
src/vm.rs:1031
Functioninterpret_flow
()
src/vm.rs:1062
Functioninterpret_heap
()
src/vm.rs:1047
Functioninterpret_io
()
src/vm.rs:1076
Functioninterpret_stack
()
src/vm.rs:1015
Methodinto
(self)
src/parser.rs:82
Functionmain
()
src/main.rs:77
Methodnew
(file_name: &str)
src/ws.rs:223
Methodnew
( source: &str, source_type: SourceType, heap_size: usize, raw: bool,
src/vm.rs:55
Methodnext
(&mut self)
src/parser.rs:110
Functionparse_arithmetic
()
src/ws.rs:758
Functionparse_benchmark
(c: &mut Criterion)
benches/parser.rs:4
Functionparse_flow
()
src/ws.rs:839
Functionparse_heap
()
src/ws.rs:809
Functionparse_io
()
src/ws.rs:897
Functionparse_stack
()
src/ws.rs:700
Functionprimes_benchmark
(c: &mut Criterion)
benches/vm.rs:88
Methodraw
Returns a default debug interpreter configuration to only compute the intermediate representation of the source - `source` the source as a String - `
src/vm.rs:176
Functionreset_vm_benchmark
(c: &mut Criterion)
benches/vm.rs:17
Functionsieve_benchmark
(c: &mut Criterion)
benches/vm.rs:60
Functionsingle_instruction_with_param_benchmark
(c: &mut Criterion)
benches/vm.rs:4