pub struct ScopeData { /* private fields */ }
Implementations§
Source§impl ScopeData
impl ScopeData
pub fn parent(&self) -> Option<&Scope>
pub fn typ(&self) -> ScopeType
pub fn add_symbol(&mut self, identifier: Identifier)
pub fn add_symbol_if_not_global(&mut self, identifier: Identifier)
pub fn get_symbol(&self, identifier: Identifier) -> Option<Symbol>
pub fn symbol_count(&self) -> usize
pub fn symbol_names(&self) -> &Vec<String>
pub fn children(&self) -> &Vec<Scope>
Auto Trait Implementations§
impl Freeze for ScopeData
impl !RefUnwindSafe for ScopeData
impl !Send for ScopeData
impl !Sync for ScopeData
impl Unpin for ScopeData
impl !UnwindSafe for ScopeData
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