blob: ccb80f6bd88677b6e03cc1b78105b1e52f35de96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
@interface Example1 : NSObject
typedef ObjectType0 X;
typedef ObjectType1 _Nullable (^Handler1)(id<Fragment> fragment);
typedef ObjectType2 _Nullable (^Handler2)(id<Fragment> fragment);
@end
@interface Example2 : NSObject
typedef ObjectType1 _Nullable (^Handler1)(id<Fragment> fragment);
typedef ObjectType2 _Nullable (^Handler2)(id<Fragment> fragment);
@end
@interface AnotherExample1 : NSObject
SOME_MACRO_OPEN
- (instancetype)init;
SOME_MACRO_CLOSE
@end
SOME_MACRO_OPEN
@interface AnotherExample2 : NSObject
SOME_MACRO_CLOSE
- (instancetype)init;
@end
@interface SomeInterface : NSObject
// Some comment goes here
@end
@interface YetAnotherExample : NSObject
// What about this comment
// here
- (instancetype)init;
@end
@interface YetOneAnotherExample : NSObject
/// What about this comment
/// here
- (instancetype)init;
@end
@interface YetOneOtherExample : NSObject
/// What about this comment
/// here
- (instancetype)init;
@end
@interface YetOneMoreExample : NSObject
/* Different comment pattern */
- (instancetype)init;
@end
@interface YetOneMoreOtherExample : NSObject
/* Multiline
Comments
*/
- (instancetype)init;
@end
|