Community
Participate
Working Groups
The VE project is in dire need for the ability to generate an AST (not binding) from a char. array that is not a complete CU. VE generates src. expressions in response to Visual requests. An expression is being generated from a JET (JSP like) template, and my be driven through a formater. VE needs to generate an AST (binding is not needed) for the new expression so that in the future comparisons can be made with changes to the source code. At this time we have to generate an AST for the entire CU in order to get the AST for a single expression.
Olivier: can you please add an API like the one we have on the formatter using a kind and a source char[] (and int offsets). The contract is that you could not get bindings from these.
Fixed and released in HEAD. Javadoc is still subject to change according to the feedback we have. Regression tests added in ASTConverterTest2.
*** Bug 39512 has been marked as a duplicate of this bug. ***
Verified for 3.0-M7 with build I200402102000.