Am 11.12.2012 10:21, schrieb Koehne Kai:
> Other ideas: Use v8 debugging API to get the text, e.g. by setting
> breakpoints and do a "Request: source" [1]. Parse .qml files on your
> own (there's a QML parser both in qtdeclarative and Qt Creator which
> you can copy). [1]: http://code.google.com
e: [Interest] reading javascript body from c++
>
> Since QML has a JavaScript engine underneath it, have you tried using
> JavaScript to get the text of the function and store it in a string variable
> for
> C++ to grab?
>
> ie.
> http://stackoverflow.com/questions/3379875/ca
Since QML has a JavaScript engine underneath it, have you tried using
JavaScript to get the text of the function and store it in a string
variable for C++ to grab?
ie.
http://stackoverflow.com/questions/3379875/can-javascript-get-a-function-as-text
I don't know if this actually works or not bu
Am 10.12.2012 16:55, schrieb Thiago Macieira:
> 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
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 c
Am 10.12.2012 10:01, schrieb Thomas McGuire:
Hi,
On Saturday 08 December 2012 20:18:50 Andy Mayer wrote:
Am 08.12.2012 19:25, schrieb Thomas McGuire:
On Saturday 08 December 2012 11:34:17 Andy Mayer wrote:
I have a question regarding the possibilty of reading the body of a
javascript function
Hi,
On Saturday 08 December 2012 20:18:50 Andy Mayer wrote:
> Am 08.12.2012 19:25, schrieb Thomas McGuire:
> > On Saturday 08 December 2012 11:34:17 Andy Mayer wrote:
> >> I have a question regarding the possibilty of reading the body of a
> >> javascript function from c++. I want to create a DSL
Den 08-12-2012 11:34, Andy Mayer skrev:
Dear all,
I have a question regarding the possibilty of reading the body of a
javascript function from c++. I want to create a DSL based on QML and
I have to read the body of a javascript function.
e.g.
QML:
Item {
function action() {
c
Am 08.12.2012 19:25, schrieb Thomas McGuire:
Hi,
On Saturday 08 December 2012 11:34:17 Andy Mayer wrote:
I have a question regarding the possibilty of reading the body of a
javascript function from c++. I want to create a DSL based on QML and I
have to read the body of a javascript function.
e
Hi,
On Saturday 08 December 2012 11:34:17 Andy Mayer wrote:
> I have a question regarding the possibilty of reading the body of a
> javascript function from c++. I want to create a DSL based on QML and I
> have to read the body of a javascript function.
>
> e.g.
>
> QML:
> Item {
> funct
Dear all,
I have a question regarding the possibilty of reading the body of a
javascript function from c++. I want to create a DSL based on QML and I
have to read the body of a javascript function.
e.g.
QML:
Item {
function action() {
console.log("Got message:", msg)
11 matches
Mail list logo