MCPcopy Create free account

hub / github.com/dannyvankooten/nederlang / functions

Functions315 in github.com/dannyvankooten/nederlang

↓ 244 callersFunctione
(e,t)
docs/playground/assets/ace.js:1
↓ 146 callersMethodpush
(&mut self, obj: Object)
src/vm.rs:121
↓ 121 callersFunctiono
(n)
docs/playground/assets/ace.js:1
↓ 41 callersMethodemit_opcode
(&mut self, op: OpCode)
src/compiler.rs:198
↓ 37 callersMethodpop
(&mut self)
src/vm.rs:108
↓ 28 callersFunctionc
()
docs/playground/assets/ace.js:1
↓ 27 callersMethodadvance
(&mut self)
src/parser.rs:60
↓ 26 callersFunctioneval
Evaluates the given program string without retaining any state in between calls This may return a heap-allocated object that needs its memory managed
src/lib.rs:16
↓ 26 callersMethodtag
(self)
src/object.rs:74
↓ 24 callersFunctionh
(e)
docs/playground/assets/ace.js:1
↓ 23 callersFunctioni
(e,t)
docs/playground/assets/ace.js:1
↓ 23 callersFunctionm
(e,t)
docs/playground/assets/ace.js:1
↓ 22 callersMethodemit_u16
(&mut self, v: u16)
src/compiler.rs:209
↓ 21 callersFunctionu
()
docs/playground/assets/ace.js:1
↓ 17 callersFunctiont
(e,n,r)
docs/playground/assets/ace.js:1
↓ 14 callersFunctions
(e,r)
docs/playground/assets/ace.js:1
↓ 13 callersMethodas_ptr
(self)
src/object.rs:226
↓ 13 callersMethodfree
Frees the memory address this pointer points to
src/object.rs:252
↓ 12 callersFunctionn
(e,t,n)
docs/playground/assets/ace.js:1
↓ 12 callersMethodparse_expr
(&mut self, precedence: Precedence)
src/parser.rs:92
↓ 12 callersFunctionr
(e,t)
docs/playground/assets/ace.js:1
↓ 11 callersFunctionO
()
docs/playground/assets/ace.js:1
↓ 10 callersMethoddestroy
Sweeps all objects This is automatically called once the Garbage Collector is dropped
src/gc.rs:61
↓ 10 callersMethodskip
(&mut self, t: Token)
src/parser.rs:66
↓ 9 callersMethodas_f64_unchecked
(self)
src/object.rs:159
↓ 9 callersMethodas_int
(self)
src/object.rs:125
↓ 9 callersFunctionf
()
docs/playground/assets/ace.js:1
↓ 9 callersFunctionl
(e,t,n)
docs/playground/assets/ace.js:1
↓ 8 callersFunctiona
(e,t)
docs/playground/assets/ace.js:1
↓ 8 callersMethodas_str_unchecked
(&self)
src/object.rs:183
↓ 8 callersFunctionassert_bytecode_eq
(program: &str, expected: &str)
src/compiler.rs:797
↓ 8 callersMethodcompile_ast
Compiles the given AST into executable Bytecode
src/compiler.rs:175
↓ 8 callersFunctionp
(e)
docs/playground/assets/ace.js:1
↓ 8 callersFunctionparse
Parses the program string into an AST representation
src/parser.rs:481
↓ 8 callersMethodpeek
(&self)
src/lexer.rs:125
↓ 8 callersMethodread_u16
(&mut self)
src/vm.rs:80
↓ 7 callersMethodas_str
(&self)
src/object.rs:166
↓ 7 callersFunctiong
(e,t)
docs/playground/assets/ace.js:1
↓ 7 callersMethodget
(self)
src/object.rs:233
↓ 7 callersFunctiony
(t)
docs/playground/assets/ace.js:1
↓ 6 callersMethodas_bool
(self)
src/object.rs:118
↓ 6 callersMethodas_vec_unchecked
(&self)
src/object.rs:201
↓ 6 callersMethodnext
(&mut self)
src/vm.rs:96
↓ 6 callersMethodrun
Runs a full mark & sweep cycle Only objects in the given roots are kept alive
src/gc.rs:67
↓ 6 callersMethodtrace
(&mut self, o: Object)
src/gc.rs:32
↓ 6 callersFunctionw
()
docs/playground/assets/ace.js:1
↓ 5 callersMethodadd_constant
(&mut self, obj: Object)
src/compiler.rs:668
↓ 5 callersMethodchange_jump_operand_at
(&mut self, idx: usize, v: u16)
src/compiler.rs:215
↓ 5 callersMethodcompile_block_statement
(&mut self, stmts: &[Stmt])
src/compiler.rs:237
↓ 5 callersMethodlast_instruction_is
(&self, op: OpCode)
src/compiler.rs:225
↓ 5 callersMethodoffset
(&self)
src/lexer.rs:146
↓ 5 callersMethodparse_block_statement
Parse a block (surrounded by curly braces) Can be an unnamed block, function body, if consequence, etc.
src/parser.rs:467
↓ 4 callersFunction_
(e)
docs/playground/assets/ace.js:1
↓ 4 callersFunctionb
()
docs/playground/assets/ace.js:1
↓ 4 callersMethodbump
(&mut self)
src/lexer.rs:138
↓ 4 callersMethodcurrent_context
Returns a mutable reference to the current context
src/symbols.rs:87
↓ 4 callersFunctiongetUint8Memory0
()
docs/playground/pkg/playground.js:16
↓ 4 callersMethodremove_last_instruction
(&mut self)
src/compiler.rs:230
↓ 4 callersMethodskip_optional
(&mut self, t: Token)
src/parser.rs:79
↓ 4 callersMethodskip_while
(&mut self, mut predicate: impl FnMut(char, bool) -> bool)
src/lexer.rs:158
↓ 3 callersFunctionF
(e,i)
docs/playground/assets/ace.js:1
↓ 3 callersFunctionI
(e)
docs/playground/assets/ace.js:1
↓ 3 callersFunctionL
()
docs/playground/assets/ace.js:1
↓ 3 callersFunctionM
(e)
docs/playground/assets/ace.js:1
↓ 3 callersFunctionR
(e)
docs/playground/assets/ace.js:1
↓ 3 callersFunctionallocate
(layout: Layout)
src/object.rs:546
↓ 3 callersMethodas_vec
(&self)
src/object.rs:190
↓ 3 callersFunctionassert_string_eq
(program: &str, expected_str: &str)
tests/vm_test.rs:478
↓ 3 callersMethodcompile_expression
(&mut self, expr: &Expr)
src/compiler.rs:370
↓ 3 callersFunctiond
(e,t,n)
docs/playground/assets/ace.js:1
↓ 3 callersMethoddefine
Defines a new symbol in the current context its inner-most scope.
src/symbols.rs:49
↓ 3 callersMethodemit_u8
(&mut self, v: u8)
src/compiler.rs:204
↓ 3 callersFunctionk
()
docs/playground/assets/ace.js:1
↓ 3 callersMethodoperands
(&self)
src/compiler.rs:72
↓ 3 callersMethodprecedence
(&self)
src/parser.rs:26
↓ 3 callersMethodread_str
(&self, from: usize, to: usize)
src/lexer.rs:152
↓ 3 callersMethodread_u8
(&mut self)
src/vm.rs:72
↓ 3 callersMethodresolve
(&self, name: &str)
src/symbols.rs:62
↓ 3 callersFunctionv
()
docs/playground/assets/ace.js:1
↓ 2 callersFunctionH
(e,r)
docs/playground/assets/ace.js:1
↓ 2 callersFunctionK
()
docs/playground/assets/ace.js:1
↓ 2 callersFunctionT
(e,n)
docs/playground/assets/ace.js:1
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
docs/playground/pkg/playground.js:217
↓ 2 callersFunction__wbg_get_imports
()
docs/playground/pkg/playground.js:203
↓ 2 callersFunction__wbg_init_memory
(imports, maybe_memory)
docs/playground/pkg/playground.js:213
↓ 2 callersMethodcompile_statement
(&mut self, stmt: &Stmt)
src/compiler.rs:253
↓ 2 callersFunctiongetInt32Memory0
()
docs/playground/pkg/playground.js:30
↓ 2 callersFunctiongetStringFromWasm0
(ptr, len)
docs/playground/pkg/playground.js:23
↓ 2 callersMethodis_heap_allocated
(self)
src/object.rs:247
↓ 2 callersFunctionj
(e,t,n)
docs/playground/assets/ace.js:1
↓ 2 callersMethodjump
(&mut self, ip: u16)
src/vm.rs:89
↓ 2 callersMethodnext
(&mut self)
src/lexer.rs:191
↓ 2 callersMethodparse_bool_expression
(&mut self, value: bool)
src/parser.rs:289
↓ 2 callersMethodparse_operator
Parses an operator token
src/parser.rs:86
↓ 2 callersMethodparse_statement
(&mut self)
src/parser.rs:147
↓ 2 callersFunctionpassStringToWasm0
(arg, malloc, realloc)
docs/playground/pkg/playground.js:54
↓ 2 callersMethodpopframe
(&mut self)
src/vm.rs:128
↓ 2 callersFunctionq
(e)
docs/playground/assets/ace.js:1
↓ 2 callersMethodsweep
Sweep all unmarked objects
src/gc.rs:87
↓ 2 callersMethodtotal_len
(&self)
src/symbols.rs:44
next →1–100 of 315, ranked by callers