Closed vesln closed 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.
Yeah, sounds like a good idea, especially since I was interested in exactly this part of the code.
To see everything available:
https://github.com/ariya/esprima/blob/master/esprima.js#L114-L153