KWAfterAllNode.m 548 B

123456789101112131415161718192021222324
  1. //
  2. // Licensed under the terms in License.txt
  3. //
  4. // Copyright 2010 Allen Ding. All rights reserved.
  5. //
  6. #import "KWAfterAllNode.h"
  7. #import "KWExampleNodeVisitor.h"
  8. @implementation KWAfterAllNode
  9. #pragma mark - Initializing
  10. + (id)afterAllNodeWithCallSite:(KWCallSite *)aCallSite block:(void (^)(void))block {
  11. return [[self alloc] initWithCallSite:aCallSite description:nil block:block];
  12. }
  13. #pragma mark - Accepting Visitors
  14. - (void)acceptExampleNodeVisitor:(id<KWExampleNodeVisitor>)aVisitor {
  15. [aVisitor visitAfterAllNode:self];
  16. }
  17. @end