Hi All, I want to write an X10DT plug-in. The scenario is like this, at the beginning I have built one AST from a X10 file which is open in editor, which I am able to do using below code. IEditorPart part = PlatformUI.getWorkbench() .getActiveWorkbenchWindow().getActivePage() .getActiveEditor(); UniversalEditor editor; if (part instanceof UniversalEditor) { editor = (UniversalEditor) part; IParseController pc = editor.getParseController(); if (pc instanceof ParseController) { ParseController x10parseontroller = (ParseController) pc; Node root = (Node) x10parseontroller.getCurrentAst(); } Now if I change code in editor, to get AST I am running the above code again. So it is giving me new AST every time. My requirement is, whenever source code is being modified, previously built AST should be reused and it should be modified according to the changes in source code. I want something which will do incremental parsing. Please give me some idea about it.
Regards, Sonali Saha
------------------------------------------------------------------------------
_______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users