Search in sources :

Example 6 with TSElement

use of io.crnk.gen.typescript.model.TSElement in project crnk-framework by crnk-project.

the class TSWriter method accept.

@Override
public void accept(TSModule module) {
    appendLine();
    appendExported(module);
    builder.append("module ");
    builder.append(module.getName());
    startScope();
    for (TSElement type : module.getElements()) {
        type.accept(this);
    }
    endScope();
}
Also used : TSElement(io.crnk.gen.typescript.model.TSElement)

Aggregations

TSElement (io.crnk.gen.typescript.model.TSElement)6 TSInterfaceType (io.crnk.gen.typescript.model.TSInterfaceType)2 TSModule (io.crnk.gen.typescript.model.TSModule)2 TSMetaTransformation (io.crnk.gen.typescript.transform.TSMetaTransformation)2 MetaDataObject (io.crnk.meta.model.MetaDataObject)1 MetaElement (io.crnk.meta.model.MetaElement)1 MetaResource (io.crnk.meta.model.resource.MetaResource)1 ArrayList (java.util.ArrayList)1