Trait ScopeManager

Source
pub trait ScopeManager {
    // Required methods
    fn get_or_create_local(&mut self, name: &str) -> LocalIndex;
    fn get_local(&self, name: &str) -> Option<&LocalIndex>;
    fn is_array_variable(&self, name: &str) -> bool;
}

Required Methods§

Source

fn get_or_create_local(&mut self, name: &str) -> LocalIndex

Source

fn get_local(&self, name: &str) -> Option<&LocalIndex>

Source

fn is_array_variable(&self, name: &str) -> bool

Implementors§

Source§

impl<T> ScopeManager for T
where T: ScopeCore,