dtao / autodoc

Doc generation on steroids
https://npmjs.org/package/autodoc
MIT License
232 stars 15 forks source link

Missing nodes #19

Closed vesln closed 10 years ago

vesln commented 10 years ago

To see everything available:

https://github.com/ariya/esprima/blob/master/esprima.js#L114-L153

dtao commented 10 years ago

Thanks. To be blunt (on myself) I totally shouldn't have this logic in Autodoc at all; I have a sort of medium-term goal of pulling this logic out into a separate lib altogether (I considered pushing it into esprima, but then I like the idea of potentially supporting other parsers as well, like acorn).

I will aim to handle these cases in a commit shortly. Looks like all of them can basically be ignored for the purpose of finding function definitions.

vesln commented 10 years ago

Yeah, sounds like a good idea, especially since I was interested in exactly this part of the code.