dsl gets generator or docu as template parameter