Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c080014c15
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.446 kb
//
// TDUppercaseWord.m
// TDParseKit
//
// Created by Todd Ditchendorf on 8/13/08.
// Copyright 2008 Todd Ditchendorf. All rights reserved.
//
#import "TDUppercaseWord.h"
#import "TDToken.h"
@implementation TDUppercaseWord
- (BOOL)qualifies:(id)obj {
TDToken *tok = (TDToken *)obj;
if (!tok.isWord) {
return NO;
}
NSString *s = tok.stringValue;
return s.length && isupper([s characterAtIndex:0]);
}
@end
Jump to Line
Something went wrong with that request. Please try again.