Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Postorder traversal of AST during validation.
Postorder traversal of AST during validation. [message #759799] Wed, 30 November 2011 01:48 Go to next message
Eclipse UserFriend
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 02:48 Go to previous message
Eclipse UserFriend
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 Jul 15 12:17:51 EDT 2025

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

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

Back to the top