Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: class-dump/src/CDTypeController.h

Issue 7793008: Add the 3.3.3 sources for class-dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « class-dump/src/CDType.m ('k') | class-dump/src/CDTypeController.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 CDClassDump, CDStructureTable, CDSymbolReferences, CDType, CDTypeFormatte r;
9
10 @interface CDTypeController : NSObject
11 {
12 CDClassDump *nonretained_classDump; // passed during formatting, to get at o ptions.
13
14 CDTypeFormatter *ivarTypeFormatter;
15 CDTypeFormatter *methodTypeFormatter;
16 CDTypeFormatter *propertyTypeFormatter;
17 CDTypeFormatter *structDeclarationTypeFormatter;
18
19 CDStructureTable *structureTable;
20 CDStructureTable *unionTable;
21 }
22
23 - (id)initWithClassDump:(CDClassDump *)aClassDump;
24 - (void)dealloc;
25
26 @property(readonly) CDTypeFormatter *ivarTypeFormatter;
27 @property(readonly) CDTypeFormatter *methodTypeFormatter;
28 @property(readonly) CDTypeFormatter *propertyTypeFormatter;
29 @property(readonly) CDTypeFormatter *structDeclarationTypeFormatter;
30
31 - (CDType *)typeFormatter:(CDTypeFormatter *)aFormatter replacementForType:(CDTy pe *)aType;
32 - (NSString *)typeFormatter:(CDTypeFormatter *)aFormatter typedefNameForStruct:( CDType *)structType level:(NSUInteger)level;
33
34 - (void)appendStructuresToString:(NSMutableString *)resultString symbolReference s:(CDSymbolReferences *)symbolReferences;
35
36 - (void)generateTypedefNames;
37 - (void)generateMemberNames;
38
39 // Run phase 1+
40 - (void)workSomeMagic;
41
42 // Phase 0
43 - (void)phase0RegisterStructure:(CDType *)aStructure usedInMethod:(BOOL)isUsedIn Method;
44 - (void)endPhase:(NSUInteger)phase;
45
46 // Phase 1
47 - (void)startPhase1;
48 - (void)phase1RegisterStructure:(CDType *)aStructure;
49
50 // Phase 2
51 - (void)startPhase2;
52
53 // Phase 3
54 - (void)startPhase3;
55
56 - (BOOL)shouldShowName:(NSString *)name;
57 - (BOOL)shouldShowIvarOffsets;
58 - (BOOL)shouldShowMethodAddresses;
59 - (BOOL)targetArchUses64BitABI;
60
61 - (CDType *)phase2ReplacementForType:(CDType *)type;
62
63 - (void)phase3RegisterStructure:(CDType *)aStructure;
64 - (CDType *)phase3ReplacementForType:(CDType *)type;
65
66 - (BOOL)shouldExpandType:(CDType *)type;
67 - (NSString *)typedefNameForType:(CDType *)type;
68
69 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDType.m ('k') | class-dump/src/CDTypeController.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698