Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 519 Bytes
@implementation TDTokenizerState : CPObject
{
CPString string;
}
- (TDToken)nextTokenFromReader:(TDReader)r startingWith:(unsigned)cin tokenizer:(TDTokenizer)t
{
//NSAssert(0, @"TDTokenizerState is an Abstract Classs. nextTokenFromStream:at:tokenizer: must be overriden");
return nil;
}
- (void)reset
{
string = "";
}
- (void)append:(unsigned)c
{
string = string+c;
}
- (void)appendString:(CPString)s
{
string = string+s;
}
- (CPString)bufferedString
{
return string;
}
@end