Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Accessing the Abstract Syntax Tree of imported files
Accessing the Abstract Syntax Tree of imported files [message #1740230] Wed, 10 August 2016 14:58
Paul Rosset is currently offline Paul RossetFriend
Messages: 4
Registered: August 2016
Junior Member
In my DSL I am descibing the memory mapping between a fpga and a processor.
To be able to split my object Descriptions into seperate files I have used the following Import directive to import content:
Import:
   'Import' importedNamespace = QualifiedNameWithWildcard
;

My the grammar detection is working and i can describe structures using imported content but in order to be able to place the objects i need the size.
My problem is that i cannot acceess the size of imported objects because files are not parsed when imported.

Do you have an Idea how I can get the Abstract Syntax Tree of an imported file?
Previous Topic:Referencing classes from different ecore using qualified names in my DSL
Next Topic:Error when saving a generated XMI to DSL
Goto Forum:
  


Current Time: Fri Sep 20 07:46:33 GMT 2024

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

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

Back to the top