pub struct ScopeAnalyzer;Implementations§
Source§impl ScopeAnalyzer
impl ScopeAnalyzer
pub fn new() -> ScopeAnalyzer
pub fn analyze( &self, ast: &Node, code: &str, pragma_map: &[(Range<usize>, PragmaState)], ) -> Vec<ScopeIssue>
pub fn get_suggestions(&self, issues: &[ScopeIssue]) -> Vec<String>
Trait Implementations§
Source§impl Default for ScopeAnalyzer
impl Default for ScopeAnalyzer
Source§fn default() -> ScopeAnalyzer
fn default() -> ScopeAnalyzer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopeAnalyzer
impl RefUnwindSafe for ScopeAnalyzer
impl Send for ScopeAnalyzer
impl Sync for ScopeAnalyzer
impl Unpin for ScopeAnalyzer
impl UnsafeUnpin for ScopeAnalyzer
impl UnwindSafe for ScopeAnalyzer
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