Find and list all functions / methods in a set of JavaScript files

Is there a way to read a set of JavaScript files and get a description of where each function / method is defined?

I understand that this is probably not possible in full generality, due to the extreme dynamic nature of the language. What I represent is that which receives (relatively) direct affairs. Ideally, I would like him to find out where, for example. some method is bound to a string or hash or to some other fundamental class (and also allows you to find all classes / functions that are defined once in one place).

Is there such a tool?

+3
source share
2 answers

Give Eclipse (with JSDT) or Aptana a try.

JavaScript .

, js , , , , , .

0

, - , YUI Doc .

0

Source: https://habr.com/ru/post/1742006/


All Articles