Class: JsDuck::BatchProcessor
- Inherits:
-
Object
- Object
- JsDuck::BatchProcessor
- Includes:
- Util::Singleton
- Defined in:
- lib/jsduck/batch_processor.rb
Overview
Processes the parsing results into Relations object.
Instance Method Summary collapse
-
#process(parsed_files, opts) ⇒ Object
Processes array of Source::File objects from BatchParser and returns instance of Relations class.
Methods included from Util::Singleton
Instance Method Details
#process(parsed_files, opts) ⇒ Object
Processes array of Source::File objects from BatchParser and returns instance of Relations class.
28 29 30 31 32 33 |
# File 'lib/jsduck/batch_processor.rb', line 28 def process(parsed_files, opts) r = aggregate(parsed_files) r = pre_process(r, opts) r = to_class_objects(r, opts) return post_process(r, opts) end |