-
- Downloads
Change how class members are internally stored.
Instead of storing members in two hashes - :members & :statics - the members are now stored in simple :members array. Lots of refactoring, but in the end the unit tests are all passing and running JSDuck against ExtJS SDK works fine. More work is needed though as now JSDuck::Class contains several methods and algorithms that are inappropriate in the context of new data structure. Here I'm only changing the internals - export format is still the same and so is the data structure given to generated Docs app.
Showing
- lib/jsduck/accessors.rb 10 additions, 8 deletionslib/jsduck/accessors.rb
- lib/jsduck/aggregator.rb 6 additions, 6 deletionslib/jsduck/aggregator.rb
- lib/jsduck/ast.rb 2 additions, 3 deletionslib/jsduck/ast.rb
- lib/jsduck/class.rb 23 additions, 26 deletionslib/jsduck/class.rb
- lib/jsduck/class_doc_expander.rb 0 additions, 5 deletionslib/jsduck/class_doc_expander.rb
- lib/jsduck/class_formatter.rb 2 additions, 6 deletionslib/jsduck/class_formatter.rb
- lib/jsduck/enum.rb 4 additions, 4 deletionslib/jsduck/enum.rb
- lib/jsduck/full_exporter.rb 1 addition, 0 deletionslib/jsduck/full_exporter.rb
- lib/jsduck/inherit_doc.rb 1 addition, 3 deletionslib/jsduck/inherit_doc.rb
- lib/jsduck/merger.rb 1 addition, 2 deletionslib/jsduck/merger.rb
- lib/jsduck/override.rb 2 additions, 6 deletionslib/jsduck/override.rb
- lib/jsduck/search_data.rb 3 additions, 9 deletionslib/jsduck/search_data.rb
- lib/jsduck/source_file.rb 1 addition, 2 deletionslib/jsduck/source_file.rb
- spec/aggregator_accessors_spec.rb 26 additions, 25 deletionsspec/aggregator_accessors_spec.rb
- spec/aggregator_attributes_spec.rb 1 addition, 1 deletionspec/aggregator_attributes_spec.rb
- spec/aggregator_cfg_spec.rb 4 additions, 4 deletionsspec/aggregator_cfg_spec.rb
- spec/aggregator_classes_spec.rb 22 additions, 20 deletionsspec/aggregator_classes_spec.rb
- spec/aggregator_constructor_spec.rb 4 additions, 4 deletionsspec/aggregator_constructor_spec.rb
- spec/aggregator_enum_spec.rb 32 additions, 28 deletionsspec/aggregator_enum_spec.rb
- spec/aggregator_ext4_events_spec.rb 3 additions, 3 deletionsspec/aggregator_ext4_events_spec.rb
Loading
Please register or sign in to comment