[][src]Trait svlint::linter::Rule

pub trait Rule: Sync + Send {
    fn check(
        &mut self,
        syntax_tree: &SyntaxTree,
        event: &NodeEvent<'_>
    ) -> RuleResult;
fn name(&self) -> String;
fn hint(&self) -> String;
fn reason(&self) -> String; }

Required methods

fn check(
    &mut self,
    syntax_tree: &SyntaxTree,
    event: &NodeEvent<'_>
) -> RuleResult
[src]

fn name(&self) -> String[src]

fn hint(&self) -> String[src]

fn reason(&self) -> String[src]

Loading content...

Implementors

impl Rule for CaseDefault[src]

impl Rule for EnumWithType[src]

impl Rule for ForWithBegin[src]

impl Rule for FunctionSameAsSystemFunction[src]

impl Rule for FunctionWithAutomatic[src]

impl Rule for GenerateForWithLabel[src]

impl Rule for GenerateIfWithLabel[src]

impl Rule for GenerateKeywordForbidden[src]

impl Rule for GenerateKeywordRequired[src]

impl Rule for GenvarDeclarationInLoop[src]

impl Rule for GenvarDeclarationOutLoop[src]

impl Rule for IfWithBegin[src]

impl Rule for InoutWithTri[src]

impl Rule for InputWithVar[src]

impl Rule for InterfacePortWithModport[src]

impl Rule for LegacyAlways[src]

impl Rule for LevelSensitiveAlways[src]

impl Rule for LoopVariableDeclaration[src]

impl Rule for NonAnsiModule[src]

impl Rule for OutputWithVar[src]

impl Rule for ParameterInPackage[src]

impl Rule for PriorityKeyword[src]

impl Rule for TabCharacter[src]

impl Rule for Unique0Keyword[src]

impl Rule for UniqueKeyword[src]

impl Rule for WireReg[src]

Loading content...