vb@0: include yslt.yml2 vb@0: vb@0: tstylesheet { vb@0: template "module" { vb@0: | module «name(*)» { vb@0: apply "*/interface"; vb@0: | }; vb@0: } vb@0: vb@0: template "interface" { vb@0: | interface «name(*)» { vb@0: apply "*/*", mode="func"; vb@0: | }; vb@0: } vb@0: vb@0: template "*", mode="func" vb@0: | «name(.)» «name(*)»(`apply "*/*", mode="parms";`); vb@0: vb@0: template "*", mode="parms" { vb@0: > «name(.)» «name(*)» «name(*/*)» vb@0: if "position() != last()" > , vb@0: } vb@0: }