Storing list of eobjects before calling xtext validations [message #1851452] |
Wed, 06 April 2022 04:08  |
Eclipse User |
|
|
|
Dear all,
I am very new to xtext. I am working on a xtext project that has so many validations and number of resources (DSLs) is also large.
I have a rule in my grammar called "BlocksRequirement". This can be defined in any DSL of a project. Let's consider I have 10 resources (DSLs) in my project and in 5 of these resources, I have "BlocksRequirement" defined.
This list of "BlocksRequirement" will be used by many validations. So I want to read all the "BlocksRequirement" from all the resources before any validation check is called to avoid reading resources again and again for every validation.
Could you please help me to solve it?
Thanks in advance.
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04248 seconds