On segunda-feira, 10 de dezembro de 2012 13.44.23, Andy Mayer wrote: > But for my DSL (declaration of a special petri net) I need the body of > the javascript functions. The workaround looks quite interesting...
This of it this way: you can't get the source code as written by the user, but you can (I think -- to be verified) get a handle to the compiled function, so you can execute it. Will this suffice? If you need a free-form text that isn't parsed by the engine, you'll need to write it as a string. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
