Trait rslint_core::Inferable [−][src]
pub trait Inferable: CstRule + Serialize + Deserialize {
fn infer(&mut self, nodes: &[SyntaxNode]);
}
Expand description
A trait describing rules for which their configuration can be automatically deduced (inferred) using parsed syntax trees
Required methods
fn infer(&mut self, nodes: &[SyntaxNode])
fn infer(&mut self, nodes: &[SyntaxNode])
Infer the options for the rule from multiple nodes (which may be from different trees) and change them