OLD | NEW |
(Empty) | |
| 1 // -*- mode: ObjC -*- |
| 2 |
| 3 // This file is part of class-dump, a utility for examining the Objective-C seg
ment of Mach-O files. |
| 4 // Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard. |
| 5 |
| 6 #import <Foundation/Foundation.h> |
| 7 |
| 8 @class CDSymbolReferences, CDType, CDTypeController; |
| 9 |
| 10 @interface CDTypeFormatter : NSObject |
| 11 { |
| 12 id nonretained_typeController; |
| 13 |
| 14 NSUInteger baseLevel; |
| 15 |
| 16 struct { |
| 17 unsigned int shouldExpand:1; // But just top level struct, level == 0 |
| 18 unsigned int shouldAutoExpand:1; |
| 19 unsigned int shouldShowLexing:1; |
| 20 } flags; |
| 21 } |
| 22 |
| 23 @property NSUInteger baseLevel; |
| 24 @property BOOL shouldExpand; |
| 25 @property BOOL shouldAutoExpand; |
| 26 @property BOOL shouldShowLexing; |
| 27 |
| 28 - (CDTypeController *)typeController; |
| 29 - (void)setTypeController:(CDTypeController *)newTypeController; |
| 30 |
| 31 - (NSString *)_specialCaseVariable:(NSString *)name type:(NSString *)type; |
| 32 - (NSString *)_specialCaseVariable:(NSString *)name parsedType:(CDType *)type; |
| 33 |
| 34 - (NSString *)formatVariable:(NSString *)name type:(NSString *)type symbolRefere
nces:(CDSymbolReferences *)symbolReferences; |
| 35 - (NSString *)formatVariable:(NSString *)name parsedType:(CDType *)type symbolRe
ferences:(CDSymbolReferences *)symbolReferences; |
| 36 |
| 37 - (NSDictionary *)formattedTypesForMethodName:(NSString *)methodName type:(NSStr
ing *)type symbolReferences:(CDSymbolReferences *)symbolReferences; |
| 38 - (NSString *)formatMethodName:(NSString *)methodName type:(NSString *)type symb
olReferences:(CDSymbolReferences *)symbolReferences; |
| 39 |
| 40 - (CDType *)replacementForType:(CDType *)aType; |
| 41 - (NSString *)typedefNameForStruct:(CDType *)structType level:(NSUInteger)level; |
| 42 |
| 43 - (NSString *)description; |
| 44 |
| 45 @end |
OLD | NEW |