Class: AdLint::SingleModuleAnalyzer

Inherits:
Analyzer
  • Object
show all
Defined in:
lib/adlint/analyzer.rb

Overview

Single module analysis driver.

Instance Attribute Summary

Attributes inherited from Analyzer

#logger, #message_catalog, #traits

Instance Method Summary collapse

Methods inherited from Analyzer

#run

Constructor Details

#initialize(traits, msg_catalog, src_fpath, strip_num, output_dpath, verbose) ⇒ SingleModuleAnalyzer

Returns a new instance of SingleModuleAnalyzer.



113
114
115
116
117
118
119
# File 'lib/adlint/analyzer.rb', line 113

def initialize(traits, msg_catalog, src_fpath, strip_num, output_dpath,
               verbose)
  super("SMA-#{SHORT_VERSION}", traits, msg_catalog, src_fpath.to_s,
        output_dpath, src_fpath.strip(strip_num), verbose)
  @src_fpath = src_fpath
  @strip_num = strip_num
end