Skip to main content



      Home
Home » Modeling » TMF (Xtext) » xtext migration : JvmReferenceTypeArgument
xtext migration : JvmReferenceTypeArgument [message #1058257] Mon, 13 May 2013 07:47 Go to next message
Eclipse UserFriend
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 12:49 Go to previous messageGo to next message
Eclipse UserFriend
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 08:47 Go to previous message
Eclipse UserFriend
Thanks !
Previous Topic:Checkbox or the like in the editor
Next Topic:Content assist for methods
Goto Forum:
  


Current Time: Sun Jul 27 09:44:35 EDT 2025

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

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

Back to the top