You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
573 B
27 lines
573 B
include yslt.yml2
|
|
|
|
tstylesheet {
|
|
include ./textutils.ysl2
|
|
|
|
template "/" {
|
|
| package org.pEp.jniadapter;
|
|
|
|
|
| public class pEpException extends Exception { }
|
|
|
|
apply "namespace/enum", 0;
|
|
}
|
|
|
|
function "exception" {
|
|
param "name";
|
|
|
|
document("org/pEp/jniadapter/{$name}.java") {
|
|
| package org.pEp.jniadapter;
|
|
|
|
|
| class «$name» extends pEpException { }
|
|
}
|
|
}
|
|
|
|
template "enum" for "*" call "exception"
|
|
with "name" call "CamelCase" with "text", "name(.)";
|
|
}
|
|
|
|
|