- Oct 30, 2010
-
-
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
-
Rene Saarsoo authored
-
Rene Saarsoo authored
These abstract away the repeated code for parsing: @sometag {type} name ...
-
- Oct 24, 2010
-
-
Rene Saarsoo authored
Plus refactoring of the similar behaviour in @method and @property to a function.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Simpler, more robust, and correct now.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
It's silly that @class must always be before class description, but @method can either be before or after the description.
-
Rene Saarsoo authored
To comply with ext-doc.
-
Rene Saarsoo authored
Both @singleton and @extends now imply that the preceding description must be a description of a class.
-
- Oct 22, 2010
-
-
Rene Saarsoo authored
Therefore simplified the logic in set_default_name() method.
-
- Oct 21, 2010
-
-
Rene Saarsoo authored
Only the comment may span several lines. This means we can just say: /** * @cfg * True to enable this component. */ enabled: false, Previously this meant that we declared cfg with name "True", but now the name cannot come after newline, so we can leave the name out of the doc-comment and infer it from the source. Parser enhancements to be able to infer @cfg and @event name from code. DocComment enhancements to be able to set the name of at-tags other than the default.
-
Rene Saarsoo authored
Meaning that when doc-comment contains @class followed by @cfg and @event, then three tagsets are returned.
-
- Oct 20, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Plus some logic to set_default_name to prevent @cfg-s and @event-s from becoming functions.
-
Rene Saarsoo authored
@constructor is equivalent of @function with name "constructor".
-
- Oct 19, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
The Parser now brings Lexer and DocComment together. - Moved some more tests to Lexer testsuite. - The :doc_comment part of it is now more easily testable. - Additionally assert_tokens now checks the nr of tokens.
-
Rene Saarsoo authored
-
- Oct 18, 2010
-
-
Rene Saarsoo authored
Accordingly found and fixed some string and regex parsing errors.
-
Rene Saarsoo authored
-
Rene Saarsoo authored
Additionally supporting numbers now too.
-
Rene Saarsoo authored
Now doing a proper recursive-descent parsing of the code following the doc-comment. After that, having the parsed structure it's a lot easier to inspect it and add info to the doc-comment data as needed. Also implemented auto-detection of superclass when Ext.extend() is used.
-
- Oct 14, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Oct 13, 2010
-
-
Rene Saarsoo authored
At tags are now tested in order they most likely appear in source code: @class -> @function -> @param -> @return
-
Rene Saarsoo authored
Also, when function name begins with uppercase letter, it's assumed to be class name.
-
- Oct 12, 2010
-
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
Rene Saarsoo authored
-
- Oct 11, 2010
-
-
Rene Saarsoo authored
-
- Oct 05, 2010
-
-
Rene Saarsoo authored
-