main
 1//
 2// Licensed under the terms in License.txt
 3//
 4// Copyright 2010 Allen Ding. All rights reserved.
 5//
 6
 7#import "KWAfterEachNode.h"
 8#import "KWExampleNodeVisitor.h"
 9
10@implementation KWAfterEachNode
11
12#pragma mark -
13#pragma mark Initializing
14
15+ (id)afterEachNodeWithCallSite:(KWCallSite *)aCallSite block:(KWVoidBlock)aBlock {
16    return [[[self alloc] initWithCallSite:aCallSite description:nil block:aBlock] autorelease];
17}
18
19#pragma mark -
20#pragma mark Accepting Visitors
21
22- (void)acceptExampleNodeVisitor:(id<KWExampleNodeVisitor>)aVisitor {
23    [aVisitor visitAfterEachNode:self];
24}
25
26@end