Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Extend xbase expressions
Extend xbase expressions [message #1041622] Mon, 15 April 2013 10:33
andrea rossi is currently offline andrea rossiFriend
Messages: 23
Registered: April 2013
Junior Member
Hi,

In my dsl i would like to extend xbase expressions e.g :


grammar provaxbase.Provaxbase with org.eclipse.xtext.xbase.Xbase

....

Model:
	elements+=Entity*;
	
Entity:
	'entity'  body = XExpressionInsideBlock ;

MyExpession1 returns xbase::XExpression:
	....
;


Wherever there is XExpression I want to call all xbase parser rules and in addition all my expression rules (e.g MyExpression1)
How can i do?
Previous Topic:[Xtend] performance and memory usage
Next Topic:checking type conformance in Xbase 2.4
Goto Forum:
  


Current Time: Mon May 25 15:39:03 GMT 2020

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

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

Back to the top