|Accessing the Abstract Syntax Tree of imported files [message #1740230]
|Wed, 10 August 2016 14:58
| Paul Rosset
Registered: August 2016
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' 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?
Powered by FUDForum
. Page generated in 0.01934 seconds