blob: 008cd343bea2277fda78130c3bb7df5eca191b35 [file] [log] [blame]
// -*- mode: ObjC -*-
// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
// Copyright (C) 1997-1998, 2000-2001, 2004-2009 Steve Nygard.
#import <Foundation/Foundation.h>
@interface NSScanner (CDExtensions)
+ (NSCharacterSet *)cdOtherCharacterSet;
+ (NSCharacterSet *)cdIdentifierStartCharacterSet;
+ (NSCharacterSet *)cdIdentifierCharacterSet;
+ (NSCharacterSet *)cdTemplateTypeCharacterSet;
- (NSString *)peekCharacter;
- (unichar)peekChar;
- (BOOL)scanCharacter:(unichar *)value;
- (BOOL)scanCharacterFromSet:(NSCharacterSet *)set intoString:(NSString **)value;
- (BOOL)my_scanCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)value;
- (BOOL)scanIdentifierIntoString:(NSString **)stringPointer;
@end