Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext migration : JvmReferenceTypeArgument
xtext migration : JvmReferenceTypeArgument [message #1058257] Mon, 13 May 2013 11:47 Go to next message
Kevin SERIN is currently offline Kevin SERINFriend
Messages: 19
Registered: May 2013
Junior Member
Hi,

I'm a beginner in Xtext and I have to migrate an 1.0 xtext project to xtext 2. And I have these lines in my grammar:

ReferenceTypeArgument returns types::JvmReferenceTypeArgument:
	typeReference=ParameterizedTypeReference;

And I don't know by what replace the JvmReferenceTypeArgument .

Someone could help me ??

Thanks
Re: xtext migration : JvmReferenceTypeArgument [message #1058907 is a reply to message #1058257] Wed, 15 May 2013 16:49 Go to previous messageGo to next message
Ian McDevitt is currently offline Ian McDevittFriend
Messages: 70
Registered: December 2012
Location: Belfast
Member
If you use Xbase/XType
grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.xbase.Xtype

you can use JvmTypeReference
typeReference=JvmTypeReference;

which gives you a full Java-like type specification.

The type can be String, java.lang.String, or one of your own DSL types, etc.
Re: xtext migration : JvmReferenceTypeArgument [message #1059055 is a reply to message #1058907] Thu, 16 May 2013 12:47 Go to previous message
Kevin SERIN is currently offline Kevin SERINFriend
Messages: 19
Registered: May 2013
Junior Member
Thanks !
Previous Topic:Checkbox or the like in the editor
Next Topic:Content assist for methods
Goto Forum:
  


Current Time: Fri Apr 19 02:07:10 GMT 2024

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

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

Back to the top