|
|
|
Re: xtext injected parser [message #989230 is a reply to message #989212] |
Wed, 05 December 2012 10:03 |
Dana Klein Messages: 63 Registered: October 2012 |
Member |
|
|
Ok thanks!
I will try to explain
I have my dsl as plugin.
i want to create a new app that use my dsl
so i tried to write this code:
JsonParser p = new JsonParser();
IParseResult r = p.parse(new StringReader("{}"));
//once that work it will be the file data instead of {}
but when i do the parse the node model builder is null and the following line has exception:
return doParse(ruleName, in, nodeModelBuilder.get(), 0);
and i'm not sure how to init nodeModelBuilder
i'm sure i missing some steps but i'm not quite familiar with the xtext process.
[Updated on: Wed, 05 December 2012 10:13] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03617 seconds