Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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: 2342
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 WTP, IBM
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: Sat Dec 20 12:22:44 GMT 2014

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

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