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: 1775
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: 1775
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: Mon Mar 01 14:03:18 GMT 2021

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

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

Back to the top