Closed
Bug 732442
Opened 13 years ago
Closed 12 years ago
Add parser support to the debugger for lookup of references to function names, variables, etc
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 762160
People
(Reporter: rcampbell, Unassigned)
References
(Blocks 1 open bug)
Details
We should add a parser to the source editor to provide support for doing lookups (references, implementors, sends), flagging errors and other general awesomeness with code.
I'm currently not sure if we want to do this in the source editor itself or in the debugger. I can think of good reasons to have it in both locations or access to a central script container that can do these types of lookups for us.
Should probably use the SpiderMonkey Parser API for this.
https://developer.mozilla.org/en/SpiderMonkey/Parser_API
Updated•13 years ago
|
Priority: -- → P3
Comment 1•12 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #0)
> We should add a parser to the source editor to provide support for doing
> lookups (references, implementors, sends), flagging errors and other general
> awesomeness with code.
>
> I'm currently not sure if we want to do this in the source editor itself or
> in the debugger. I can think of good reasons to have it in both locations or
> access to a central script container that can do these types of lookups for
> us.
>
> Should probably use the SpiderMonkey Parser API for this.
>
> https://developer.mozilla.org/en/SpiderMonkey/Parser_API
I think we should do it in the source editor. This way, we can reuse those methods everywhere, should we need 'em.
Comment 2•12 years ago
|
||
(bug 725399 would be the first thing to do, bug 732442 should follow)
Comment 3•12 years ago
|
||
This starts feeling like a meta bug :)
Reporter | ||
Comment 4•12 years ago
|
||
could be.
Comment 5•12 years ago
|
||
Patch in bug 762160 contains a Parser.jsm for the purpose of this bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•