I am looking for a JSDoc parser that I can use in my project. I am looking for something where I can pass in a JSDoc ment and receive a structured description of what that ment means. Most of the tools I have seen seem to be able to transform JSDoc ments into HTML or some other format. I am looking for something that will provide the intermediate representation of a ment that can be used to feed into other tools.
Are there any tools or libraries out there that I can use?
I am looking for a JSDoc parser that I can use in my project. I am looking for something where I can pass in a JSDoc ment and receive a structured description of what that ment means. Most of the tools I have seen seem to be able to transform JSDoc ments into HTML or some other format. I am looking for something that will provide the intermediate representation of a ment that can be used to feed into other tools.
Are there any tools or libraries out there that I can use?
Share Improve this question asked Aug 7, 2012 at 18:03 Andrew EisenbergAndrew Eisenberg 28.8k9 gold badges97 silver badges151 bronze badges4 Answers
Reset to default 11The Doctrine project does exactly what I am looking for:
http://eslint/doctrine/demo/
If you need only parsing functionality and don't care about tags meaning then ment-parser may help
There is also a dojo project: https://github./wkeese/js-doc-parse
see http://www.sitepen./blog/2013/01/18/generating-and-viewing-custom-api-docs/
it will look like the dojo documentation ( http://dojotoolkit/api/ )
what about jsdoc itself ? - with the mand line jsdoc yourfile.js -X > parsed.json . With that you have the official thing.