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 #1041058] Sun, 14 April 2013 14:54 Go to next message
andrea rossi is currently offline andrea rossiFriend
Messages: 23
Registered: April 2013
Junior Member

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

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


	'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?
Re: Extend xbase expressions [message #1041857 is a reply to message #1041058] Mon, 15 April 2013 17:11 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13615
Registered: July 2009
Senior Member

you have to override the rules you want to hook in from the supergrammar.

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:xbase interpreter documentation ?
Next Topic:Could anybody provide some information about NodeModelUtils?
Goto Forum:

Current Time: Wed Sep 30 23:32:50 GMT 2020

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

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

Back to the top