Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Postorder traversal of AST during validation.
Postorder traversal of AST during validation. [message #759799] Wed, 30 November 2011 06:48 Go to next message
Victor Zverovich is currently offline Victor ZverovichFriend
Messages: 1
Registered: November 2011
Junior Member
Xtext validation checks are executed in preorder traversal of the AST. This is quite inconvenient in particular for expressions where one often wants postorder (subexpressions validated first). Is it possible to configure the traversal that is used during validation?

Thanks,
Victor
Re: Postorder traversal of AST during validation. [message #759813 is a reply to message #759799] Wed, 30 November 2011 07:48 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Hi Victor,

you may want to bind your own CancellableDiagnostician and customize the
model traversal there.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 30.11.11 07:48, schrieb Victor Zverovich:
> Xtext validation checks are executed in preorder traversal of the AST.
> This is quite inconvenient in particular for expressions where one often
> wants postorder (subexpressions validated first). Is it possible to
> configure the traversal that is used during validation?
>
> Thanks,
> Victor
Previous Topic:content assist
Next Topic:Parsing large files
Goto Forum:
  


Current Time: Tue Mar 02 21:14:02 GMT 2021

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

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

Back to the top