Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dannyvankooten/nederlang
/ functions
Functions
315 in github.com/dannyvankooten/nederlang
⨍
Functions
315
◇
Types & classes
31
↓ 2 callers
Method
untrace
Removes the given object (and everything it refers) from this garbage collector so it is no longer managed by it
src/gc.rs:38
↓ 1 callers
Function
B
(e)
docs/playground/assets/ace.js:1
↓ 1 callers
Function
C
()
docs/playground/assets/ace.js:1
↓ 1 callers
Function
E
(e)
docs/playground/assets/ace.js:1
↓ 1 callers
Function
G
(e,t,n)
docs/playground/assets/ace.js:1
↓ 1 callers
Function
N
(e,n)
docs/playground/assets/ace.js:1
↓ 1 callers
Function
W
(e)
docs/playground/assets/ace.js:1
↓ 1 callers
Function
X
()
docs/playground/assets/ace.js:1
↓ 1 callers
Method
__destroy_into_raw
()
docs/playground/pkg/playground.js:118
↓ 1 callers
Function
__wbg_load
(module, imports)
docs/playground/pkg/playground.js:172
↓ 1 callers
Method
__wrap
(ptr)
docs/playground/pkg/playground.js:110
↓ 1 callers
Method
as_f64
(self)
src/object.rs:148
↓ 1 callers
Method
as_function
(self)
src/object.rs:132
↓ 1 callers
Method
as_string_mut
(&mut self)
src/object.rs:172
↓ 1 callers
Method
as_vec_mut
(&mut self)
src/object.rs:208
↓ 1 callers
Method
as_vec_unchecked_mut
(&mut self)
src/object.rs:219
↓ 1 callers
Function
bytecode_to_human
(code: &[u8], positions: bool)
src/compiler.rs:742
↓ 1 callers
Function
call
(builtin: Builtin, args: &[Object], gc: &mut GC)
src/builtins.rs:31
↓ 1 callers
Function
call_bool
Casts the given object to a bool object
src/builtins.rs:100
↓ 1 callers
Function
call_float
Casts the given object to an object of type float
src/builtins.rs:168
↓ 1 callers
Function
call_int
Casts the given object to an object of type int
src/builtins.rs:126
↓ 1 callers
Function
call_length
(args: &[Object])
src/builtins.rs:209
↓ 1 callers
Function
call_print
Prints all the given arguments using a very simple format scheme Example: print("Hallo {}!", "wereld") => prints "Hallo wereld" to stdout
src/builtins.rs:46
↓ 1 callers
Function
call_string
Casts the given object to a string object
src/builtins.rs:75
↓ 1 callers
Function
call_type
Returns the given type of an object as a string object
src/builtins.rs:63
↓ 1 callers
Method
compile_const_var_infix_expression
( &mut self, varname: &str, const_value: isize, operator: &Operator, )
src/compiler.rs:328
↓ 1 callers
Method
compile_operator
(&mut self, operator: &Operator)
src/compiler.rs:306
↓ 1 callers
Method
enter_scope
Enter a new scope in the current context For example, at the start of a block statement.
src/symbols.rs:104
↓ 1 callers
Method
free_recursive
Frees the memory address this pointer points to Plus all addresses inside the array (if it is an array)
src/object.rs:265
↓ 1 callers
Method
get_local
(&self, rel_idx: u16)
src/vm.rs:59
↓ 1 callers
Function
index_get
(left: Object, index: Object, gc: &mut GC)
src/vm.rs:445
↓ 1 callers
Function
index_get_array
(obj: Object, mut index: isize)
src/vm.rs:467
↓ 1 callers
Function
index_get_string
(obj: Object, mut index: isize, gc: &mut GC)
src/vm.rs:482
↓ 1 callers
Function
index_set
(mut left: Object, index: Object, value: Object)
src/vm.rs:499
↓ 1 callers
Function
index_set_array
(array: &mut Vec<Object>, mut index: isize, value: Object)
src/vm.rs:520
↓ 1 callers
Function
index_set_string
(string: &mut String, mut index: isize, value: Object)
src/vm.rs:534
↓ 1 callers
Function
init_wasm
()
docs/playground/assets/worker.js:4
↓ 1 callers
Method
is_eof
(&self)
src/lexer.rs:132
↓ 1 callers
Function
is_whitespace
(c: char)
src/lexer.rs:315
↓ 1 callers
Method
leave_context
Destroys the current context and returns the maximum number of symbols it had at some point in time.
src/symbols.rs:98
↓ 1 callers
Method
leave_scope
Leave scope in the current context. For example, at the end of a block statement.
src/symbols.rs:110
↓ 1 callers
Method
mark
(&mut self, o: &Object)
src/gc.rs:101
↓ 1 callers
Method
max_size
The maximum number of symbols defined in this context. Not all of these symbols may still be in scope once this context is destroyed.
src/symbols.rs:38
↓ 1 callers
Method
maybe_trace
(&mut self, o: Object)
src/gc.rs:23
↓ 1 callers
Function
nederlang_eval
(code: &str)
docs/playground/src/lib.rs:17
↓ 1 callers
Method
new_context
Create a new context to define symbols in. This will always be a local context (as there is only one global context).
src/symbols.rs:93
↓ 1 callers
Method
parse_array_expr
(&mut self)
src/parser.rs:401
↓ 1 callers
Method
parse_assign_expr
(&mut self, left: Expr)
src/parser.rs:252
↓ 1 callers
Method
parse_call_expr
(&mut self, left: Expr)
src/parser.rs:359
↓ 1 callers
Method
parse_decl_statement
(&mut self)
src/parser.rs:435
↓ 1 callers
Method
parse_float_expression
(&mut self, strval: &str)
src/parser.rs:281
↓ 1 callers
Method
parse_function_expr
(&mut self)
src/parser.rs:318
↓ 1 callers
Method
parse_ident
(&mut self, name: &str)
src/parser.rs:353
↓ 1 callers
Method
parse_if_expr
Parses an if-else (or if-else-if) expression
src/parser.rs:227
↓ 1 callers
Method
parse_index_expr
(&mut self, left: Expr)
src/parser.rs:415
↓ 1 callers
Method
parse_infix_expr
Parses an infix expression, like [Token::Int(5), Token::Minus, Token::Int(5)]
src/parser.rs:189
↓ 1 callers
Method
parse_int_expression
(&mut self, strval: &str)
src/parser.rs:273
↓ 1 callers
Method
parse_op_assign_expression
Parses OpAssign expressions, like a += 5 This is just syntactic sugar, internally they are replaced by two seperate expression Perhaps this deserves i
src/parser.rs:171
↓ 1 callers
Method
parse_prefix_expr
Parses a prefix expression, like [Token::Minus, Token::Int(5)]
src/parser.rs:216
↓ 1 callers
Method
parse_return_statement
(&mut self)
src/parser.rs:457
↓ 1 callers
Method
parse_string_expression
(&mut self, value: &str)
src/parser.rs:296
↓ 1 callers
Method
parse_while_expr
(&mut self)
src/parser.rs:389
↓ 1 callers
Method
pushframe
(&mut self, ip: u32, base_pointer: u16)
src/vm.rs:142
↓ 1 callers
Function
resolve
(name: &str)
src/builtins.rs:17
↓ 1 callers
Function
run_file
(f: &Path)
src/bin/nederlang.rs:39
↓ 1 callers
Function
run_repl
()
src/bin/nederlang.rs:13
↓ 1 callers
Method
set_local
(&mut self, rel_idx: u16, value: Object)
src/vm.rs:66
↓ 1 callers
Function
x
()
docs/playground/assets/ace.js:1
↓ 1 callers
Function
z
()
docs/playground/assets/ace.js:1
Function
$
(e)
docs/playground/assets/ace.js:1
Function
Q
(e)
docs/playground/assets/ace.js:1
Function
S
()
docs/playground/assets/ace.js:1
Function
U
(e)
docs/playground/assets/ace.js:1
Function
__wbg_init
(input)
docs/playground/pkg/playground.js:243
Method
array
Create a new (garbage-collected) Array value
src/object.rs:305
Method
bool
(value: bool)
src/object.rs:87
Function
bools
()
src/lexer.rs:378
Function
criterion_benchmark
(c: &mut Criterion)
benches/bench_parser.rs:6
Function
criterion_benchmark
(c: &mut Criterion)
benches/bench_arithmetic.rs:6
Function
criterion_benchmark
(c: &mut Criterion)
benches/bench_recursive_fib.rs:6
Method
destroy
(obj: Object)
src/object.rs:440
Method
drop
(&mut self)
src/gc.rs:140
Method
eq
(&self, other: &Self)
src/object.rs:323
Method
float
(value: f64, gc: &mut GC)
src/object.rs:109
Function
floats
()
src/lexer.rs:362
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/compiler.rs:686
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/object.rs:499
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/ast.rs:119
Method
free
()
docs/playground/pkg/playground.js:125
Method
from
(value: &'a str)
src/lexer.rs:170
Method
from
(value: u8)
src/compiler.rs:65
Method
from
(value: Token)
src/ast.rs:93
Method
from_f64
(value: f64)
src/object.rs:445
Method
from_slice
(slice: &[Object])
src/object.rs:493
Method
from_string
(value: RString)
src/object.rs:463
Method
from_vec
(vec: Vec<Object>)
src/object.rs:486
Method
function
Create a new function value
src/object.rs:103
Method
get_mut
(self)
src/object.rs:240
Function
initSync
(module)
docs/playground/pkg/playground.js:227
Method
int
(value: isize)
src/object.rs:96
← previous
next →
101–200 of 315, ranked by callers