You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpObjCAdapter/yml2/pEp_message_include.ysl2

39 lines
711 B
Plaintext

include yslt.yml2
tstylesheet {
template "/" {
apply "class", 0
}
template "class" {//document "{@name}Base.h" {
| //
| // «@name».h
| // pEpObjCAdapter
| //
| // Created by Dirk Zimmermann on 10.11.17.
| // Copyright © 2017 p≡p. All rights reserved.
| //
|
| #import <Foundation/Foundation.h>
|
| #import "PEPSessionProtocol.h"
|
| @interface PEPIdentity : NSObject
|
apply "property"
|
|
| @end
}
template "property" {
choose {
when "@nullability"
| @property (nonatomic, «@nullability») «@type» «@name»;
otherwise
| @property (nonatomic) «@type» «@name»;
}
}
}