Skip to main content



      Home
Home » Modeling » TMF (Xtext) » define type alias in DSL
define type alias in DSL [message #825577] Tue, 20 March 2012 21:52
Eclipse UserFriend
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: Tue Jul 01 12:57:36 EDT 2025

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

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

Back to the top