pub struct Builder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Self
pub fn debug_chunks(&self)
pub fn push(&mut self, value: Value)
pub fn push_collect(&mut self, values: &mut Vec<Value>)
pub fn start_fn(&mut self, id: &str) -> Result<(), u64>
pub fn ret_fn(&mut self)
pub fn halt(&mut self)
pub fn set_type(&mut self, ty_flag: TypeFlag)
pub fn get_type(&mut self)
pub fn add(&mut self)
pub fn sub(&mut self)
pub fn div(&mut self)
pub fn rem(&mut self)
pub fn neg(&mut self)
pub fn incr(&mut self)
pub fn decr(&mut self)
pub fn eq(&mut self)
pub fn neq(&mut self)
pub fn lt(&mut self)
pub fn gt(&mut self)
pub fn lte(&mut self)
pub fn gte(&mut self)
pub fn and(&mut self)
pub fn or(&mut self)
pub fn xor(&mut self)
pub fn shl(&mut self)
pub fn shr(&mut self)
pub fn not(&mut self)
pub fn jmp(&mut self, addr: Option<u64>)
pub fn jmp_if(&mut self)
pub fn jmp_if_not(&mut self)
pub fn call(&mut self, ident: &str) -> Result<(), String>
pub fn ret(&mut self)
pub fn dup(&mut self)
pub fn drop(&mut self)
pub fn swap(&mut self)
pub fn load(&mut self, ptr: Option<u64>)
pub fn store(&mut self)
pub fn alloc(&mut self)
pub fn free(&mut self)
pub fn heap_size(&mut self)
pub fn stack_size(&mut self)
pub fn load_code(&mut self)
pub fn save_code(&mut self)
pub fn write(&mut self, out: Option<&str>)
pub fn read(&mut self)
pub fn print(&mut self, out: Option<&str>)
pub fn build_code(&mut self) -> Vec<u8> ⓘ
pub fn build_machine(&mut self) -> Machine
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more