Skip to main content



      Home
Home » Modeling » TMF (Xtext) » a type serializer for JvmType
a type serializer for JvmType [message #757887] Sun, 20 November 2011 10:55 Go to next message
Eclipse UserFriend
Hi

I'd like to use JvmType (and not the whole JvmTypeReference from xbase),
and I started to follow
http://www.eclipse.org/Xtext/documentation/2_1_0/199a-jvmtypes.php

during the generation, is there something corresponding to
TypeReferenceSerializer for JvmTypes?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: a type serializer for JvmType [message #757888 is a reply to message #757887] Sun, 20 November 2011 12:37 Go to previous message
Eclipse UserFriend
On 11/20/2011 04:55 PM, Lorenzo Bettini wrote:
> Hi
>
> I'd like to use JvmType (and not the whole JvmTypeReference from xbase),
> and I started to follow
> http://www.eclipse.org/Xtext/documentation/2_1_0/199a-jvmtypes.php
>
> during the generation, is there something corresponding to
> TypeReferenceSerializer for JvmTypes?
>
> thanks in advance
> Lorenzo
>

I'll try to answer myself :)

I can use ImportManager.serialize(JvmType type), right?

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Previous Topic:Grammar rules ordering
Next Topic:Understanding cross reference
Goto Forum:
  


Current Time: Sat Jul 12 22:39:27 EDT 2025

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

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

Back to the top