Jeff Williams
ebb6b2284f
cleanup
2014-09-22 15:35:46 -07:00
Jeff Williams
73998951b1
fix exports tag when the module object is passed to an AMD function ( #642 )
...
- Do not mark the doclet for the module object as undocumented.
- Track variables (including aliases) within the parent scope, so the members are resolved against the alias instead of the name used in the code.
2014-09-19 09:01:14 -07:00
Jeff Williams
71de4acaf0
cleanup
2014-09-19 08:49:11 -07:00
Jeff Williams
d527f3e6b0
prevent crash when a returns tag does not have a value ( #751 )
2014-09-05 15:30:21 -07:00
Jeff Williams
e093716ebe
handle sparse arrays correctly in nodeToString ( #749 )
2014-09-05 15:12:57 -07:00
Jeff Williams
6328336d1d
cleanup
2014-08-19 16:27:19 -07:00
Jeff Williams
81d74b9b92
remove scope property from module doclets ( #742 )
2014-08-19 12:51:30 -07:00
Jeff Williams
55f40e1085
cleanup
2014-08-19 12:49:06 -07:00
Jeff Williams
2ed4a0320b
if we can't find the scope for a virtual comment, set the doclet's scope to global ( #684 )
2014-08-18 17:32:21 -07:00
Jeff Williams
17fb5be064
for Closure, allow the type tag to have a description ( #732 )
2014-08-13 21:53:11 -07:00
Jeff Williams
180454c3a8
rename file for consistency
2014-08-13 21:45:30 -07:00
Jeff Williams
e8b692b334
allow the Closure version of the protected tag to specify a type ( #731 )
...
Also adds tests for the `protected` tag.
2014-08-13 17:04:47 -07:00
Jeff Williams
21e0dbad25
allow the Closure version of the private tag to specify a type ( #730 )
2014-08-13 15:32:51 -07:00
Jeff Williams
addee8ea7e
split up the JSDoc and Closure Compiler tag definitions ( #729 )
...
A new `tags.dictionaries` config setting allows you to choose which definitions to enable.
If a tag is defined in more than one dictionary, JSDoc will use the definition from the first dictionary.
2014-08-13 13:39:14 -07:00
Jeff Williams
f9c593824f
turn the dictionary module into an instantiable class
2014-08-12 16:21:37 -07:00
Jeff Williams
89237260c6
support virtual comments for overloaded symbols ( #727 )
2014-08-12 09:37:00 -07:00
Jeff Williams
2f87fb11dc
improvements to interface and implements tags
...
- Change doclet property names
- Populate the list of property implementations in augment.js, not in the template
- Tone down the presentation of both tags in the default template
- Other related cleanup
2014-08-11 16:02:00 -07:00
Jeff Williams
7ef13bf40b
prevent crash when a class claims to implement an interface but has no members
2014-08-11 16:01:59 -07:00
Jeff Williams
7c2a6d7438
cleanup
2014-08-11 16:01:59 -07:00
MinHyeong Kim
87c33e242b
modify codes for generate describe interface's all properties.
2014-08-11 16:01:59 -07:00
MinHyeong Kim
c797b50c49
uncomment test code.
2014-08-11 16:01:59 -07:00
MinHyeong Kim
cc9ceb700b
fix codes for patch. excepts 'implements not functions' issue.
2014-08-11 16:01:59 -07:00
MinHyeong Kim
52426cd3a7
add test codes for @interface, @implements annotations.
2014-08-11 16:01:59 -07:00
Jeff Williams
c2d3d0041b
add getAncestors and getUniqueId helpers
2014-08-06 15:32:06 -07:00
Jeff Williams
1171593908
parsedType property improvements ( #576 )
...
- Make the parsedType property non-enumerable unless debug mode is enabled.
- Add a more appropriate test case.
- Remove the (incomplete) schema for parsed types.
2014-07-30 12:04:10 -07:00
Jeff Williams
2dec7bd4e0
expose parsed type in doclets ( #576 )
...
Author: Alexey Malutin (https://github.com/Alexey-Malutin )
2014-07-30 10:53:10 -07:00
Jeff Williams
c557cd0a8b
use the correct type expression for type applications that contain type unions ( #714 )
2014-07-26 14:16:25 -07:00
Jeff Williams
cae3cce8c1
add longnamesToTree method
2014-07-03 13:53:46 -07:00
Jeff Williams
dcca9a4714
clean up constants exported by jsdoc/name
2014-07-03 12:35:56 -07:00
Jeff Williams
abfa24578c
don't log an error when a comment only contains whitespace ( #698 )
2014-07-02 20:11:39 -07:00
Jeff Williams
254c05fbf6
set the appropriate longname for function declarations in AMD modules ( #685 )
...
This is a hack. See #693 for details.
2014-06-29 17:11:55 -07:00
Jeff Williams
dabcb5904f
cleanup
2014-06-28 20:21:22 -07:00
Jeff Williams
873480a3ed
improve filename creation ( #677 )
...
We now allow a much larger range of characters in filenames. We also URL-encode HTML links when necessary, so that everything still works when you upload the files to a web server.
2014-06-28 16:59:01 -07:00
Jeff Williams
873f3dac3d
regression test for #683
2014-06-28 08:23:32 -07:00
Jeff Williams
ae0a03af5c
if a module exports one symbol, do not treat it as a global, regardless of the symbol's kind ( #667 )
...
Plus some test cleanup.
2014-06-20 17:36:49 -07:00
Jeff Williams
8840f30a0b
autodetect parameter names in function expressions ( #674 )
2014-06-20 16:51:36 -07:00
Jeff Williams
941b647d5b
prevent type info from overwriting existing doclet properties ( #676 )
2014-06-19 16:44:38 -07:00
Jeff Williams
6672668b48
add the AST node to doclets as a non-enumerable property by default
...
This change prevents a lot of clutter when using the `--explain` flag to log doclets to the console.
If the `--debug` flag is enabled, AST nodes are added as enumerable properties.
2014-06-17 21:42:45 -07:00
Jeff Williams
636bd83a17
test cleanup
2014-06-17 21:34:48 -07:00
Jeff Williams
be60e811eb
when creating links, do not treat <anonymous> types as type applications, and handle union types without parentheses ( #654 )
2014-06-15 20:57:08 -07:00
Jeff Williams
eeb9c94c66
validate tags that have no text ( #661 )
2014-06-15 20:42:44 -07:00
Jeff Williams
a9a6ebd9ce
clean up test spec
2014-06-15 20:38:24 -07:00
Jeff Williams
722241dd51
escape HTML characters in code blocks ( #635 )
2014-06-15 14:12:17 -07:00
Jeff Williams
92c8f101e4
streamline tests
2014-06-15 13:57:30 -07:00
Jeff Williams
5d308963e5
improve test coverage; remove unreachable code; other cleanup
2014-05-27 16:54:38 -07:00
Jeff Williams
43ebd95874
add tests for external tag
2014-05-23 13:29:52 -07:00
Jeff Williams
90b0d21633
improve test coverage
2014-05-21 22:46:47 -07:00
Jeff Williams
1566421a62
give doclets a longname even if the name is empty ( #643 )
2014-04-26 10:57:10 -07:00
Jeff Williams
f635b10b6f
fix comment-attachment issue ( #638 )
...
The issue in brief: Within an object literal, if a standalone comment was followed by a commented symbol, the symbol's comment would not be attached correctly.
The fix essentially reverts the changes for #565 , which are no longer needed thanks to 50cd99fa2fca753fcf7c9ec3ecf70afd47168e94.
The fix also corrects the order in which we walk a MemberExpression's child nodes. Without this correction, comments would not be attached correctly inside CallExpression nodes.
2014-04-25 21:53:30 -07:00
Jeff Williams
cd9d7f90a7
change 'virtual' to 'abstract' in the template helper ( #618 )
2014-04-18 16:46:24 -07:00