Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » define type alias in DSL
define type alias in DSL [message #825577] Wed, 21 March 2012 01:52
tiange zhang is currently offline tiange zhangFriend
Messages: 16
Registered: February 2011
Location: Shanghai, China
Junior Member
In one of our DSL project, we need to define type alias, such as
typedef MyInt Integer;
MyInt count = 10;

Xbase use Java as it's type system, so if I want to use jvmTypes and XExpression, and generate java source, each type should be inferred to java class. But there should be no underlying MyInt class according to the semantic of type alias. Is it possible to support this kind of semantic with Xtext and Xbase ?
Previous Topic:Variables in content assist (code completion)
Next Topic:Xtext Model Update Deletes .svn files for deleted classes
Goto Forum:
  


Current Time: Wed Apr 24 18:07:56 GMT 2024

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

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

Back to the top