access parser api from Gjs



Hi, is it possible ( and how ) to access parser api from gjs ?

actually, Reflect.parse(... ) method don't work in Gjs, but it's OK with js17 console

( both use libmozjs-17 )

some links :

https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API

http://blog.mozilla.org/dherman/2010/08/25/an-api-for-parsing-_javascript_/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]