MCPcopy Create free account

hub / github.com/Narasimha1997/boson-lang / functions

Functions448 in github.com/Narasimha1997/boson-lang

↓ 1 callersMethodreset_errors
(&mut self)
boson/src/parser/mod.rs:1422
↓ 1 callersMethodresolve_get_attr
(&self, keys: &Vec<Rc<Object>>)
boson/src/types/hash.rs:178
↓ 1 callersMethodsave_bytecode
returns the size of bytecode returned or an error string
boson/src/compiler/loader.rs:351
↓ 1 callersMethodset_byte_at
(&mut self, idx: usize, byte: u8)
boson/src/types/buffer.rs:45
↓ 1 callersMethodset_ip
(&mut self, pos: usize)
boson/src/vm/frames.rs:100
↓ 1 callersMethodset_last
(&mut self, inst: isa::InstructionKind, pos: usize)
boson/src/compiler/mod.rs:63
↓ 1 callersMethodset_object
(&mut self, object: Rc<Object>)
boson/src/compiler/symtab.rs:189
↓ 1 callersFunctionsyscall0
(n: usize)
boson/src/api/arch_syscalls/x86.rs:5
↓ 1 callersFunctionsyscall1
(n: usize, args: &[usize])
boson/src/api/arch_syscalls/x86.rs:16
↓ 1 callersFunctionsyscall2
(n: usize, args: &[usize])
boson/src/api/arch_syscalls/x86.rs:29
↓ 1 callersFunctionsyscall3
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:42
↓ 1 callersFunctionsyscall4
( n: usize, args: &[usize] )
boson/src/api/arch_syscalls/x86.rs:59
↓ 1 callersFunctionsyscall5
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:79
↓ 1 callersFunctionsyscall6
( n: usize, args: &[usize], )
boson/src/api/arch_syscalls/x86.rs:100
↓ 1 callersFunctionsyscall_raw
(params: &[Rc<Object>])
boson/src/api/native.rs:388
↓ 1 callersFunctionto_encodable_type
(obj: Rc<Object>, required_type: &str)
boson/src/api/packing.rs:9
↓ 1 callersMethodtop
(&mut self)
boson/src/vm/stack.rs:79
↓ 1 callersMethodtop_ref
(&self)
boson/src/vm/stack.rs:87
↓ 1 callersMethodunload_dynlib
( &mut self, descriptor: usize, params: Rc<Object>, )
boson/src/vm/ffi.rs:58
↓ 1 callersMethodupdate
(&mut self, new_buffer: Vec<u8>)
boson/src/api/mod.rs:175
↓ 1 callersFunctionwrite
(_write_params: Rc<Object>)
modules/re/src/lib.rs:118
Method__read
( path: String, start: Option<u64>, n: Option<u64>
boson/src/types/builtins.rs:1246
Methodadd
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:28
Methodand
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:273
Methodas_type
returns the typed representation of a slice of bytes zero-copy, this just returns the typed reference, does not copy any data.
boson/src/compiler/loader.rs:49
Methodattrs
attrs:
boson/src/types/hash.rs:78
Methodattrs
(&self)
boson/src/types/dyn_module.rs:106
Methodattrs
attributes:
boson/src/types/object.rs:335
Functionbuffer_endian_encoding
()
boson/src/tests/types.rs:188
Methodbuild_array
( inst: &InstructionKind, ds: &mut DataStack, length: usize, )
boson/src/vm/controls.rs:505
Methodbuild_hash
( inst: &InstructionKind, ds: &mut DataStack, length: usize, )
boson/src/vm/controls.rs:534
Functionbuiltin_resolution
()
boson/src/tests/types.rs:175
Methodcall_attr
( ds: &mut DataStack, inst: &InstructionKind, n_attrs: usize, n_params: usize,
boson/src/vm/controls.rs:990
Methodcall_attribute
( &mut self, key: &String, args: &Vec<Rc<Object>>, )
boson/src/types/hash.rs:101
Methodclear_table
(&mut self)
boson/src/vm/ffi.rs:170
Functionclose
(_close_params: Rc<Object>)
modules/b64/src/lib.rs:20
Functionclose
(_close_params: Rc<Object>)
modules/re/src/lib.rs:113
Functionclose
(_close_params: Rc<Object>)
modules/hello_world/src/lib.rs:15
Methodcreate_closure
( ds: &mut DataStack, constants: &ConstantPool, n_free: usize, func_idx: usize
boson/src/vm/controls.rs:572
Methodcreate_iter
(ds: &mut DataStack)
boson/src/vm/controls.rs:643
Methodcreate_new_child
(parent: SymbolTable)
boson/src/compiler/symtab.rs:47
Methodcreate_new_root
()
boson/src/compiler/symtab.rs:37
Methoddecode_instruction
( instruction: &InstructionKind, packed_ops: &[u8], )
boson/src/isa/mod.rs:182
Methoddescribe
(&self)
boson/src/types/exception.rs:33
Methoddescribe
(&self)
boson/src/types/buffer.rs:32
Methoddescribe
(&self)
boson/src/types/closure.rs:16
Methoddescribe
(&self)
boson/src/types/array.rs:14
Methoddescribe
(&self)
boson/src/types/hash.rs:34
Methoddescribe
(&self)
boson/src/types/dyn_module.rs:62
Methoddescribe
(&self)
boson/src/types/object.rs:93
Methoddescribe
(&self)
boson/src/types/iter.rs:82
Methoddisasm_buffer
(buffer: Vec<u8>)
boson/src/api/mod.rs:198
Methoddisasm_bytecode
(fname: String)
boson/src/api/mod.rs:285
Methoddisasm_file
(filename: String)
boson/src/api/mod.rs:192
Methoddisassemble
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1661
Methoddisassemble_constants
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1634
Methoddisassemble_function
(instructions: &CompiledInstructions)
boson/src/compiler/mod.rs:1607
Methoddisassemble_instructions
(bytecode: &CompiledBytecode)
boson/src/compiler/mod.rs:1628
Methoddisassemble_ip
(&self)
boson/src/vm/frames.rs:139
Methoddiv
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:147
Methoddrop
(&mut self)
boson/src/vm/mod.rs:36
Methoddump_ds
(&self)
boson/src/vm/mod.rs:224
Methoddump_globals
(&self)
boson/src/vm/mod.rs:141
Methoddump_tokens
(&mut self, file_name: String)
boson/src/lexer/mod.rs:726
Methodempty
()
boson/src/vm/ffi.rs:20
Methodencode_instruction
(instruction: InstructionKind, operands: &Operands)
boson/src/isa/mod.rs:161
Methodeq
(&self, other: &Exception)
boson/src/types/exception.rs:40
Methodeq
(&self, other: &ClosureContext)
boson/src/types/closure.rs:26
Methodeq
(&self, other: &Array)
boson/src/types/array.rs:61
Methodeq
(&self, other: &HashTable)
boson/src/types/hash.rs:156
Methodeq
(&self, other: &Subroutine)
boson/src/types/subroutine.rs:45
Methodeq
(&self, other: &ThreadBlock)
boson/src/types/th.rs:24
Methodeq
(&self, other: &ExecutionFrame)
boson/src/vm/frames.rs:151
Methodeq
(left: &Rc<Object>, right: &Rc<Object>)
boson/src/vm/alu.rs:510
Methodeval_buffer
(buffer: Vec<u8>)
boson/src/api/mod.rs:180
Methodeval_bytecode_from_context
( context: &mut BosonVMContext, pop_last: bool, break_on_ret: bool, )
boson/src/vm/mod.rs:236
Methodeval_file
(filename: String)
boson/src/api/mod.rs:186
Functionexec
(method: String, params: &Vec<Rc<Object>>)
modules/b64/src/lib.rs:35
Functionexec
(method: String, params: &Vec<Rc<Object>>)
modules/re/src/lib.rs:128
Functionexec
(method: String, params: &Vec<Rc<Object>>)
modules/hello_world/src/lib.rs:33
Functionexec
(args: &Vec<Rc<Object>>)
boson/src/api/native.rs:47
Methodexec_shell
( inst: &InstructionKind, ds: &mut DataStack, platform: &mut Platform, gp: &mu
boson/src/vm/controls.rs:889
Methodexecute_binary_op
(inst: &InstructionKind, ds: &mut DataStack)
boson/src/vm/controls.rs:221
Methodexecute_call
( inst: &InstructionKind, ds: &mut DataStack, n_args: usize, global_pool: &mut
boson/src/vm/controls.rs:373
Methodexecute_return
( ds: &mut DataStack, frame: &Ref<ExecutionFrame>, has_val: bool, )
boson/src/vm/controls.rs:344
Methodexecute_sandbox
( closure: Rc<closure::ClosureContext>, params: Vec<Rc<Object>>, platform: &mut Platfo
boson/src/vm/mod.rs:158
Functionexecute_syscall
(params: Vec<Rc<Object>>)
boson/src/api/native.rs:451
Methodexecute_thread
( inst: &InstructionKind, ds: &mut DataStack, n_args: usize, global_pool: &mut
boson/src/vm/controls.rs:771
Methodexecute_unary_op
(inst: &InstructionKind, ds: &mut DataStack)
boson/src/vm/controls.rs:471
Functionfappend
Writes content and returns the new size of the file. This function append to a file, if exists or creates a new file.
boson/src/api/native.rs:217
Functionfinfo
Returns the size of a file.
boson/src/api/native.rs:243
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/array.rs:87
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/hash.rs:164
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/object.rs:261
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/types/subroutine.rs:66
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/compiler/errors.rs:36
Methodfmt
(&self, f: &mut fmt::Formatter)
boson/src/parser/debug.rs:29
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
boson/src/api/mod.rs:58
Functionfread
Can be used in three ways: 1. Read all, pass no argument 2. Read from X first bytes, pass X as the argument. 3. Read Y bytes starting from X - [X, X+Y
boson/src/api/native.rs:147
Methodfrom_f64
(number: &f64, little_endian: bool)
boson/src/types/buffer.rs:116
← previousnext →201–300 of 448, ranked by callers