Xtext: referencing existing java packages and methods -
i developed dsl use standard java code. in dsl can write things this:
package: packagename; method: void testmethod (int, double);
what want do, user of dsl can write package names , method signatures exist in java project.
example:
when project consists of 1 package e.g. “testpackage”, user of dsl should able write:
package: testpackage
the name “testpackage” should suggested code completor. same shall work methods.
is possible? , how can xtext?
i've not used (yet), take @ relevant xtext documentation on this. also, i'd through "7 languages", find 1 want (which think you'll find), , study source.
Comments
Post a Comment