Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » SyntacticSequencer
SyntacticSequencer [message #900895] Wed, 08 August 2012 20:59 Go to next message
Jason Barkanic is currently offline Jason BarkanicFriend
Messages: 16
Registered: November 2009
Junior Member
The generator for SemanticSequencer does this:

 public «_abstract»class «filename.simpleName» extends «superGrammar» 


which when using Xbase, results in:

 public abstract class AbstractMyDslSemanticSequencer extends XbaseSemanticSequencer


However, the generator for SyntacticSequencer does this:

 public «_abstract»class «filename.simpleName» extends AbstractSyntacticSequencer 


which means, even when using Xbase you always get:

public abstract class AbstractMyDslSyntacticSequencer extends AbstractSyntacticSequencer


Is this correct? At least in my case (after upgrading to 2.3) there was a problem serializing XConstructorCall. Copying the code in XbaseSyntacticSequencer into MyDslSyntacticSequencer (because I couldn't extend) fixed it.
Re: SyntacticSequencer [message #901023 is a reply to message #900895] Thu, 09 August 2012 12:59 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Could you please file a ticket, so Moritz can verify it when he's back
from vacation.

Thanks,
Sven

Am 8/8/12 10:59 PM, schrieb Jason Barkanic:
> The generator for SemanticSequencer does this:
>
> public «_abstract»class «filename.simpleName» extends «superGrammar»
> which when using Xbase, results in:
>
> public abstract class AbstractMyDslSemanticSequencer extends
> XbaseSemanticSequencer
>
> However, the generator for SyntacticSequencer does this:
>
> public «_abstract»class «filename.simpleName» extends
> AbstractSyntacticSequencer
> which means, even when using Xbase you always get:
>
> public abstract class AbstractMyDslSyntacticSequencer extends
> AbstractSyntacticSequencer
>
> Is this correct? At least in my case (after upgrading to 2.3) there was
> a problem serializing XConstructorCall. Copying the code in
> XbaseSyntacticSequencer into MyDslSyntacticSequencer (because I couldn't
> extend) fixed it.


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
Re: SyntacticSequencer [message #901029 is a reply to message #901023] Thu, 09 August 2012 13:15 Go to previous message
Jason Barkanic is currently offline Jason BarkanicFriend
Messages: 16
Registered: November 2009
Junior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386926
Previous Topic:Problem with LazyLinkingResource.getEObject()
Next Topic:Loading a resource
Goto Forum:
  


Current Time: Sun Jul 05 11:50:38 GMT 2020

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

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

Back to the top