Sha256: e6cc3b09ed9df84adc6b0b7fa78e4b514daa9b26ff5f4eecd671c889d4cae5c8
Contents?: true
Size: 517 Bytes
Versions: 9
Compression:
Stored size: 517 Bytes
Contents
#import "GHParser+Extensions.h" #import "GHParser.h" #import "GHTokenScanner.h" #import "GHFeature.h" @implementation GHParser (Extensions) - (GHFeature *)parse:(NSString *)theSourceFile { GHFeature * feature = [self parseWithTokenScanner: [[GHTokenScanner alloc] initWithContentsOfFile: theSourceFile]]; if(![feature isKindOfClass:[GHFeature class]] || (![feature.name isKindOfClass:[NSString class]] || feature.name.length == 0)){ return nil; } return feature; } @end
Version data entries
9 entries across 9 versions & 1 rubygems