Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext with Xbase(Cross Reference not working)
Xtext with Xbase [message #890446] Fri, 22 June 2012 10:16 Go to next message
Hans-Georg Glöckler is currently offline Hans-Georg GlöcklerFriend
Messages: 88
Registered: July 2009
Member
I have a grammar based on Xbase.
I want to defeine the following:
The entity can extend from another entity or from JavaClasses
grammar org.lunifera.metamodel.dsl.entity.Entity with org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations

....
Entity:
	'entity' name=ValidID ('extends' (superType=([Entity] | JvmTypeReference)))? '{'
	features+=AbstractFeature* '}';
....


Why it is not working.
Is there another way to define it in the gammar.
Re: Xtext with Xbase [message #890485 is a reply to message #890446] Fri, 22 June 2012 12:07 Go to previous message
Hans-Georg Glöckler is currently offline Hans-Georg GlöcklerFriend
Messages: 88
Registered: July 2009
Member
I have solved the problem.
Previous Topic:XbaseWithAnnotations
Next Topic:Scoping issue
Goto Forum:
  


Current Time: Thu Sep 19 23:58:33 GMT 2024

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

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

Back to the top