What I am try to do is to extract software metrics from js codes. In particular, I am interested to OO metrics (CK metrics) such as depth of inheritance tree, number of children a class, etc. The first thing is that I should be able to extract object constructors, prototype, etc, is that right? How can I do so?