Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Get object information from javascript source file
Get object information from javascript source file [message #808114] Mon, 27 February 2012 12:24 Go to next message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member

I would like to extract information about objects, templates, inheritance, etc, from javascript source files. Any Idea how I could do that?

Alireza
Re: Get object information from javascript source file [message #808329 is a reply to message #808114] Mon, 27 February 2012 16:59 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 2/27/2012 7:24 AM, Alireza Mising name wrote:
> I would like to extract information about objects, templates,
> inheritance, etc, from javascript source files. Any Idea how I could do
> that?

You'll have to be more specific, and it would be nice to mention what
you've tried. Templates, in particular, have nothing to do with source
files.

---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Get object information from javascript source file [message #808338 is a reply to message #808329] Mon, 27 February 2012 17:19 Go to previous message
Alireza Missing name is currently offline Alireza Missing nameFriend
Messages: 105
Registered: July 2009
Senior Member

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?

Regards,
Alireza
Previous Topic:javascript completion problem
Next Topic:Exception occurred during code generation for the WSDL
Goto Forum:
  


Current Time: Thu Apr 25 10:04:38 GMT 2024

Powered by FUDForum. Page generated in 0.03184 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top