On 9/6/2013 9:32 AM, Luke Wagner wrote:
Also, there seem to be a existing uses of Reflect.parse from devtools which 
could potentially benefit from the native performance (but I'm not sure how it 
is used).

One recent feature added (which exposed the ArrowExpression discrepency) was a "beautify" feature added to the Scratchpad (https://bugzilla.mozilla.org/show_bug.cgi?id=906640). It uses Reflect.parse to generate the AST and escodegen to then decompile the AST back to source (since Reflect.decompile was never implemented). This fails whenever there's discrepancies between the ASTs, which happens mostly because of Mozilla specific syntax extensions, but also in this case where different names were used for the same standardized feature (arrow functions).
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to