- Nov 24, 2010
-
-
Rene Saarsoo authored
Including the ones belonging to parent classes. All methods are augmented with :member field that says the class they belong to. In top-level filter_classes each Class instance also receives a hash of all classes - so that the Class.parent() method can return instance of parent class. Finally added some rudimentary tests for all this.
-
Rene Saarsoo authored
Introduction of ident/keyword separation broke this before, now it's working again.
-
Rene Saarsoo authored
Another regex v/s division tokenization enhancement.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
With that generalized the regex token detection - a division operator can never follow a keyword, but regex literal can.
-
- Nov 23, 2010
-
-
Rene Saarsoo authored
-
- Nov 22, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Both Page and Tree can now use these common methods without implementing their own.
-
Rene Saarsoo authored
Giving warinings for other types.
-
Rene Saarsoo authored
The to_html method currently creates the top section of page. Definitely quite buggy, but at least we have started it. JsDuck.write_tree now also outputs empty Docs.icons object, which keeps UI from crashing - but we should fill it with actual icons-map in the future.
-
- Nov 21, 2010
-
-
Rene Saarsoo authored
--output now specifies output directory. The tree is now written to file instead of stdio. --verbose turns on printing of parsing progress.
-
- Nov 18, 2010
-
-
Rene Saarsoo authored
JsDuck::Tree creates from doc-object list a tree structure consisting of Ruby Hashes and Arrays. Another method in jsduck.rb converts this to JSON and outputs. For all this added a unit test, but with it's single test it's mostly just a sanity check. The previous debug output was removed to separate method.
-
Rene Saarsoo authored
-
- Nov 17, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
jsduck script now reads filenames from command line, parses each one of them and prints out tree of classes and their properties.
-
- Nov 16, 2010
-
-
Rene Saarsoo authored
Not quite correct, but for now it's better for them to behave the same.
-
Rene Saarsoo authored
Again one of the most used @tags in ExtJS. Only supporting it in class declaration, plus some explicit logic to detect it when it appears after @constructor in class doc-comment.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Applies only to properties and methods. This was one of the most used @tags in ExtJS not already supported by JsDuck.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Class member arrays are now named the same as their tagnames. So we access class configs with class[:cfg] rather than with class[:cfgs]
-
- Nov 15, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
All the complex comment and code analyzing is now done by Merger class, the doc_comment_parser now just parses input into a linear array of at-tags. The Merger completely replaces DocComment class and most of the complex work in DocCommentParser. Most of the tests are now also at top level tc_jsduck - so that we mainly test the whole jsduck module, allowing the internal classes to be more easily reorganized. @ignore and @hide are now simply aliases of @private.
-
- Oct 30, 2010
-
-
Rene Saarsoo authored
The results of DocComment and JavaScript parsing are merged together in top-level parse method.
-
Rene Saarsoo authored
Devided files between lib/ and test/ directories. Added Rakefile that runs all the tests.
-
- Oct 27, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Oct 26, 2010
-
-
Rene Saarsoo authored
-
- Oct 25, 2010
-
-
Rene Saarsoo authored
The most important at-tags are now supported.
-
Rene Saarsoo authored
-