Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 372 Bytes
//
// TDNum.m
// TDParseKit
//
// Created by Todd Ditchendorf on 7/13/08.
// Copyright 2008 Todd Ditchendorf. All rights reserved.
//
#import "TDNum.h"
#import "TDToken.h"
@implementation TDNum
+ (id)num {
return [[[self alloc] initWithString:nil] autorelease];
}
- (BOOL)qualifies:(id)obj {
TDToken *tok = (TDToken *)obj;
return tok.isNumber;
}
@end