blob: 0fb9f36e1a86e06c9f9a27258ae0ac3d117335dd [file] [log] [blame]
// 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-2006 Steve Nygard
#import <Foundation/NSScanner.h>
#import <Foundation/NSString.h> // for unichar
@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