Add character token method to split it from a given index

This commit is contained in:
iska committed 2015-03-07 00:43:00 +01:00
1 parent 3ff1044c6d
commit a2fcdf834b
2 files changed
+6

No files matched your search

+5
View File
@@ -59,6 +59,11 @@
return nil;
}
- (HTMLCharacterToken *)tokenByTrimmingFormIndex:(NSUInteger)index
{
return [[HTMLCharacterToken alloc] initWithString:[_characters substringFromIndex:index]];
}
#pragma mark - NSObject
- (BOOL)isEqual:(id)other