cecco974 / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

Patch: add support for getters/setters (get/set keywords) #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
JavaScript 1.5 allows defining getters and setters with the get/set
keywords (see
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Creating_New_Obje
cts:Defining_Getters_and_Setters).
This patch makes sure they are interpreted like regular properties. In
future it might be a good idea to show in the documentation whether a
property is read-only (has only getter), write-only (has only setter) or
read-write (has both getter and setter or is a "regular" property).

Original issue reported on code.google.com by wladi...@palant.de on 8 Jul 2008 at 5:26

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by micmath on 21 Jun 2009 at 10:40

GoogleCodeExporter commented 8 years ago
Issue 223 has been merged into this issue.

Original comment by micmath on 26 Jul 2009 at 11:02

GoogleCodeExporter commented 8 years ago
See http://groups.google.com/group/jsdoc-2/t/c8cd5ae7d4c7320

Original comment by micmath on 15 Nov 2009 at 4:28