428 Commits

Author SHA1 Message Date
Jeff Williams
1c754e98f2 fix build breakage on Rhino parser 2015-02-27 16:08:55 -08:00
Jeff Williams
96c8f6994d handle ES 2015 rest parameters (#555)
As part of this commit, we automatically flag rest parameters as repeatable, even if the JSDoc comment doesn't identify the parameter as repeatable. As a result, it's difficult to document a rest parameter as though it were a normal parameter (should you want to do that for some reason). I may revert this piece if it generates complaints.
2015-02-27 14:39:20 -08:00
Jeff Williams
a243719fb2 cleanup 2015-02-26 16:05:22 -08:00
Jeff Williams
cc4ffc762e update Espree and LICENSE file 2015-02-26 14:59:05 -08:00
Jeff Williams
65f307322a resolve this correctly in chained class declarations within modules (#894) 2015-02-23 16:58:33 -08:00
Jeff Williams
fe04fa18f9 change ID for pure JS parser to 'js'; remove half-baked ability to use arbitrary parsers; test coverage 2015-02-23 09:14:42 -08:00
Jeff Williams
8ea7078d39 modify dumper.dump() to support multiple arguments; only define the dump() global in debug mode (#812) 2015-02-18 17:24:02 -08:00
Jeff Williams
f9073e6361 turn app global into a module, and use the module instead of the global (#812)
The `app` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-18 09:27:40 -08:00
Jeff Williams
ae94af0cd8 turn env global into a module, and use the module instead of the global (#812)
The `env` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-17 19:07:10 -08:00
Jeff Williams
ea773af2ed allow Visitor instances to be created before Parser instances (#923) 2015-02-17 16:00:26 -08:00
Jeff Williams
ea1932e4fc prevent crash on non-string default values (#914) 2015-02-08 12:54:49 -08:00
Jeff Williams
f92245794b correctly handle classes that implement interfaces that extend other interfaces (#909)
The fix for this issue also introduces a regression; see jsdoc3/jsdoc#911.
2015-02-06 08:49:04 -08:00
Jeff Williams
8d896db809 process implements tags before augments tags (#906) 2015-02-05 08:25:24 -08:00
Jeff Williams
028c65c037 in param/property names, cast default values that appear to be boolean/numeric (#900) 2015-02-02 16:24:17 -08:00
Jeff Williams
fdd7b31f94 don't convert boolean/number default values to strings (#900) 2015-02-01 13:35:37 -08:00
Jeff Williams
62f563d730 automatically treat const declarations as constants (#555) 2015-01-30 07:58:36 -08:00
Jeff Williams
80bce1db42 allow interfaces to augment other interfaces (#897) 2015-01-29 16:10:47 -08:00
Jeff Williams
930cc2c473 remove incorrect spec 2015-01-29 16:04:09 -08:00
Jeff Williams
04559dbe7d switch from Esprima to Espree (#555) 2015-01-27 08:53:11 -08:00
Jeff Williams
e0ec38047b correctly augment the inheritors of virtual doclets (#893) 2015-01-26 16:25:47 -08:00
Jeff Williams
8ad4b49b3f correctly handle symbols named prototype (#891) 2015-01-24 09:09:31 -08:00
Jeff Williams
17c58d76e5 clean up fixtures; add some missing tests 2015-01-24 08:50:09 -08:00
Jeff Williams
e89ecd615f resolve this for computed properties (#890) 2015-01-24 08:40:55 -08:00
Jeff Williams
c61b9307b4 set the correct longname on prototype members whose names are quoted (#888) 2015-01-24 07:40:47 -08:00
Jeff Williams
d231bc36d8 add normalize as a synonym for normalise (#884) 2015-01-21 08:43:59 -08:00
Jeff Williams
3663224f2b make implementations inherit the docs from interfaces where appropriate (#864) 2015-01-20 08:10:33 -08:00
Jeff Williams
c6528bb090 treat memberof info like alias info when tracking variables (#880)
This change allows you to say, for example, that a symbol is a `memberof` a module, and the children of that symbol will automatically inherit the `memberof` info. (Previously this only worked if the symbol and its properties were defined in the module file.)
2015-01-19 09:39:53 -08:00
Jeff Williams
db9a570e2d add fast path to hasAncestor 2015-01-16 09:02:13 -08:00
Jeff Williams
5b4e2c51f7 add hasAncestor helper function 2015-01-16 08:49:54 -08:00
Jeff Williams
fb2c36781f update ESLint; delint 2015-01-11 19:17:44 -08:00
Jeff Williams
dad0544e93 show tutorials in the TOC nav (#875) 2015-01-11 18:30:08 -08:00
Jeff Williams
322afeb86e support --access all flag to display symbols at all access levels (#861) 2015-01-04 14:10:28 -08:00
Jeff Williams
d43990f6e4 Merge pull request #860 from Raptor399/accessparam-squashed
Adding access parameter
2015-01-02 09:57:35 -08:00
Patrick Atoon
ba510377da Adding access parameter 2015-01-02 13:01:29 +01:00
Jeff Williams
e471a1f55e add stripNamespace and stripVariation methods (#858) 2014-12-30 16:57:11 -08:00
Jeff Williams
60b239fd33 keep the link text for longnames with variations (#857) 2014-12-30 16:40:03 -08:00
Jeff Williams
7e23a68c59 multiple fixes for overridden symbols (#855)
- Don't add an "overrides" property to members that are merely inherited.
- In the template, don't show both "overrides" and "inherited from" for the same member.
2014-12-29 15:48:05 -08:00
Jeff Williams
6faad35eb5 strip enclosing parens from the variation tag's value (#850) 2014-12-25 17:16:59 -08:00
Jeff Williams
39e5008cfc implement inheritdoc and override tags (#53) 2014-12-22 10:35:52 -08:00
Jeff Williams
821099ba47 remove tests that duplicate the code they're testing 2014-12-22 09:37:06 -08:00
Jeff Williams
a86af80836 fire jsdocCommentFound and symbolFound events in the correct order (#770)
On Rhino, for each file, we now fire all the jsdocCommentFound events in source order, followed by all the symbolFound events in source order. This behavior is consistent with previous versions of JSDoc.

On Node.js, we now fire interleaved jsdocCommentFound and symbolFound events in source order.

Includes a new Rhino .jar file: jsdoc3/rhino@5fbcc2d953
2014-12-21 17:39:56 -08:00
Jeff Williams
47aad100fc use the variation to ensure a unique ID for each doclet 2014-12-21 17:27:40 -08:00
Jeff Williams
b285e18577 rename method; add test stubs 2014-12-21 10:29:06 -08:00
Jeff Williams
fc2c165626 generate unique IDs when two members have the same name but different scopes (#539) 2014-12-19 09:13:06 -08:00
Jeff Williams
8ccbb1b435 use a dash to prevent filenames from starting with an underscore 2014-12-18 20:56:11 -08:00
Jeff Williams
869f63113f allow interface tag to have a name in the JSDoc tag dictionary (#828) 2014-12-18 16:41:51 -08:00
Jeff Williams
1cb337c90a cleanup 2014-12-16 10:33:45 -08:00
Jeff Williams
416b42fa75 update ESLint; delint 2014-12-13 09:39:21 -08:00
Jeff Williams
eafc56de23 revert part of 5fa636 due to performance hit (#830) 2014-12-07 16:37:28 -08:00
Jeff Williams
3162215c9a improve the way we handle namespaces 2014-12-07 13:51:48 -08:00