KWItNode.h 646 B

123456789101112131415161718192021222324252627
  1. //
  2. // Licensed under the terms in License.txt
  3. //
  4. // Copyright 2010 Allen Ding. All rights reserved.
  5. //
  6. #import "KiwiConfiguration.h"
  7. #import "KWBlockNode.h"
  8. #import "KWExampleNode.h"
  9. @class KWPendingNode;
  10. @class KWExample;
  11. @class KWContextNode;
  12. @interface KWItNode : KWBlockNode<KWExampleNode>
  13. @property (nonatomic, strong) KWExample *example;
  14. @property (nonatomic, weak, readonly) KWContextNode *context;
  15. #pragma mark - Initializing
  16. + (id)itNodeWithCallSite:(KWCallSite *)aCallSite
  17. description:(NSString *)aDescription
  18. context:(KWContextNode *)context
  19. block:(void (^)(void))block;
  20. @end