forked from kiwi-bdd/Kiwi
-
Notifications
You must be signed in to change notification settings - Fork 55
/
KWBlockNode.h
44 lines (30 loc) · 829 Bytes
/
KWBlockNode.h
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
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "KiwiConfiguration.h"
#import "KWBlock.h"
@class KWCallSite;
@interface KWBlockNode : NSObject {
@private
KWCallSite *callSite;
NSString *description;
KWVoidBlock block;
}
#pragma mark -
#pragma mark Initializing
- (id)initWithCallSite:(KWCallSite *)aCallSite description:(NSString *)aDescription block:(KWVoidBlock)aBlock;
#pragma mark -
#pragma mark Getting Call Sites
@property (nonatomic, readonly) KWCallSite *callSite;
#pragma mark -
#pragma mark Getting Descriptions
@property (nonatomic, copy) NSString *description;
#pragma mark -
#pragma mark Getting Blocks
@property (nonatomic, readonly) KWVoidBlock block;
#pragma mark -
#pragma mark Performing blocks
- (void)performBlock;
@end