Struct prexcl::State
[−]
[src]
pub struct State { /* fields omitted */ }
Methods
impl State
[src]
fn new() -> State
fn register_command<T: 'static + Command>(&mut self, command: T)
fn get_store_load<F, R>(&mut self, f: F) -> R where
F: FnOnce(&mut Vec<Status>) -> R,
F: FnOnce(&mut Vec<Status>) -> R,
fn get_op<F, R>(&self, f: F) -> R where
F: FnOnce(&Operation) -> R,
F: FnOnce(&Operation) -> R,
fn get_pos(&self) -> usize
fn call(&mut self, prog: &[Operation]) -> Status
fn run(&mut self, from: usize) -> Status
fn parse<I>(&mut self, program: I) -> Vec<Operation> where
I: Iterator<Item = char>,
I: Iterator<Item = char>,