pub struct UndefinedVariableRule;Expand description
未定义变量使用检查规则
Trait Implementations§
Source§impl Rule for UndefinedVariableRule
impl Rule for UndefinedVariableRule
Source§fn description(&self) -> String
fn description(&self) -> String
获取规则描述
Source§fn check(
&self,
program: &JsProgram,
meta: &ScriptMetadata,
report: &mut AnalysisReport,
)
fn check( &self, program: &JsProgram, meta: &ScriptMetadata, report: &mut AnalysisReport, )
执行规则检查
Auto Trait Implementations§
impl Freeze for UndefinedVariableRule
impl RefUnwindSafe for UndefinedVariableRule
impl Send for UndefinedVariableRule
impl Sync for UndefinedVariableRule
impl Unpin for UndefinedVariableRule
impl UnsafeUnpin for UndefinedVariableRule
impl UnwindSafe for UndefinedVariableRule
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