Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Code completion and broken AST
Code completion and broken AST [message #541968] Wed, 23 June 2010 08:17 Go to next message
Eclipse UserFriend
What is the DLTK's typical approach for working with AST that is broken by interim edits, such as typing "this." to invoke code completion?

Is there a concept of using the previous cached AST, or should the parser rather be made to be resistent to any interim editing and provide the structure down to method/fields/lcoal vars in all possible cases?
Re: Code completion and broken AST [message #543524 is a reply to message #541968] Tue, 29 June 2010 12:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jan,

The typical approach is making the parser tolerant to the errors, so it can recover after the error and continue on the next statement, etc.

Regards,
Alex
Re: Code completion and broken AST [message #544142 is a reply to message #543524] Thu, 01 July 2010 13:56 Go to previous message
Eclipse UserFriend
Thanks Alex!
Previous Topic:Access to imported elements
Next Topic:Resolving item against project's build path
Goto Forum:
  


Current Time: Sun Jul 13 08:42:34 EDT 2025

Powered by FUDForum. Page generated in 0.03771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top