Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » a type serializer for JvmType
a type serializer for JvmType [message #757887] Sun, 20 November 2011 15:55 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
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 17:37 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
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: Thu Apr 25 14:19:45 GMT 2024

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

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

Back to the top