Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.595 kb
//
// Licensed under the terms in License.txt
//
// Copyright 2010 Allen Ding. All rights reserved.
//
#import "KWBeforeEachNode.h"
#import "KWExampleNodeVisitor.h"
@implementation KWBeforeEachNode
#pragma mark -
#pragma mark Initializing
+ (id)beforeEachNodeWithCallSite:(KWCallSite *)aCallSite block:(KWVoidBlock)aBlock {
return [[[self alloc] initWithCallSite:aCallSite description:nil block:aBlock] autorelease];
}
#pragma mark -
#pragma mark Accepting Visitors
- (void)acceptExampleNodeVisitor:(id<KWExampleNodeVisitor>)aVisitor {
[aVisitor visitBeforeEachNode:self];
}
@end
Jump to Line
Something went wrong with that request. Please try again.