pub struct Compiler<'a> { /* private fields */ }
Implementations§
source§impl<'a> Compiler<'a>
impl<'a> Compiler<'a>
pub fn new(bytecode: &'a mut Bytecode) -> Self
sourcepub fn label(&mut self, l: &str) -> usize
pub fn label(&mut self, l: &str) -> usize
Get the underlying bytecode label for a given label
identifier. If necessary, this allocates that label in the
Bytecode
object.