Closed Bug 759837 Opened 10 years ago Closed 9 years ago

Integrate Reflect.jsm for use in Scratchpad and Debugger

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rcampbell, Unassigned)

References

Details

We would like to add some additional capabilities to the Scratchpad and Debugger that would require a Parser. We have decided to take a look at Esprima.

https://github.com/ariya/esprima
fwiw LiveScratchpad uses Esprima and implements AST visitors and such utilities on top of it - we might want to reuse that.
yup, and yup. I've pointed espadrine at your repo. I'll paste it again here for reference:

http://neonux.github.com/LiveScratchpad/
This should probably be contained in our shared directory for use in whichever tools need it.
Summary: Integrate Esprima into the SourceEditor for use in Scratchpad and Debugger → Integrate Esprima into devtools/shared for use in Scratchpad and Debugger
Blocks: 762164
Blocks: 762160
Blocks: 725399
Blocks: 762761
Why are we not using the Parser API again?
From what I can see, it is very actively developed.
Feel free! I was under the impression that Reflect.jsm was going away. Apparently that is not the case, so let's morph this to use that API instead of esprima. Thanks for asking about this.
Summary: Integrate Esprima into devtools/shared for use in Scratchpad and Debugger → Integrate Reflect.jsm for use in Scratchpad and Debugger
Since we can already access Reflect.jsm, we can consider this bug fixed :)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.