Trait ConstantManager

Source
pub trait ConstantManager {
    // Required methods
    fn add_constant(&mut self, value: String) -> ConstantIndex;
    fn get_constants(&self) -> &Vec<String>;
}

Required Methods§

Source

fn add_constant(&mut self, value: String) -> ConstantIndex

Source

fn get_constants(&self) -> &Vec<String>

Implementors§

Source§

impl<T> ConstantManager for T
where T: ConstantCore,