|Re: [ACCELEO] call Query interpreter programmatically [message #1710006 is a reply to message #1709824]
||Fri, 02 October 2015 15:21
| Stephane Begaudeau
Registered: April 2010
Location: Nantes (France)
For this need, you should use our new interpreter engine (AQL). It is way lighter, it is faster, it has less dependencies that the original engine and it comes with additional features and a better API. For your need, you should have a look at this test case showing how to build an expression and evaluate it.
If you want to have some validation of the expression, have a look at the result of the builder.build(...). Finally, if you some code completion, you can use our completion engine by having a look here. You just need to plug the code used in the test to the SWT content assist APIs.
Stephane Bégaudeau, Obeo
Powered by FUDForum
. Page generated in 0.02080 seconds