On 16/12/13, 18:17 , Gregory Szorc wrote:
Are there any JS doc tools that can export to a machine readable format? Does SpiderMonkey expose documentation blocks to the AST? If not, should it?
Other parsers certainly expose comments in the AST; I don't think they explicitly have pointers from the functions/objects to their docblocks, but it shouldn't be too hard to add a post-processing step that does that. I don't know if there's agreement on building that kind of thing into SpiderMonkey.
~ Gijs _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform