Get every concept that's derived from an interface in my own language
Hello folks!
Right now I'm trying to build C# text. In my textgen aspect I would need every concept that I've defined and derived from my interface IEntity for further generation logic.
Is there a method or solution for this use case?
Thanks in advance.
Regards
msch95
Right now I'm trying to build C# text. In my textgen aspect I would need every concept that I've defined and derived from my interface IEntity for further generation logic.
Is there a method or solution for this use case?
Thanks in advance.
Regards
msch95
Please sign in to leave a comment.
model/YourLanguage.structure/.nodes(InterfaceConceptReference).where({~it => it.intfc.asConcept.isExactly(IEntity); }).select({~it => it.ancestor<concept = AbstractConceptDeclaration>; })Yourlanguage is the language in which implementing concepts are searched.