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.

1 comment
Comment actions Permalink
I don't think this is the shortest solution:
model/YourLanguage.structure/.nodes(InterfaceConceptReference).where({~it => 
}).select({~it => 
  it.ancestor<concept = AbstractConceptDeclaration>; 

Yourlanguage is the language in which implementing concepts are searched.

Please sign in to leave a comment.