pub trait IsDeclaration: Op {
// Required method
fn is_declaration(&self, ctx: &Context) -> bool
where Self: Sized;
}Expand description
Is a global value (variable or function) declaration.
Required Methods§
Sourcefn is_declaration(&self, ctx: &Context) -> boolwhere
Self: Sized,
fn is_declaration(&self, ctx: &Context) -> boolwhere
Self: Sized,
Check if this global value (variable or function) is a declaration.