Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Scope of JvmDeclaredType
Scope of JvmDeclaredType [message #1386369] Tue, 17 June 2014 07:42
Michael Stadler is currently offline Michael StadlerFriend
Messages: 5
Registered: June 2014
Junior Member
Hello,

I'm looking for a solution to limit the scope of a JvmDeclaredType.

This is a rule of my grammar:

ClassType:
'class ' classtype=[jvmTypes::JvmDeclaredType|QualifiedName]
('in' container=QualifiedFieldReference)? ':'
'{' elements+=FieldObject (',' elements+=FieldObject)* '}';


The JvmDeclaredType should be a reference to an internal class (a java class of this project). So no references to "java.util.*", "java.lang.*" etc. should be possible. Can you please give me a hint, how I can do this?

Thanks in advance
Michael
Previous Topic:NullPointer when generating parser
Next Topic:[SOLVED] Generate xtend-gen classes from headless build
Goto Forum:
  


Current Time: Sun Jan 19 04:08:32 GMT 2020

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

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

Back to the top