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

Side by Side Diff: class-dump/src/CDType.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/CDTopologicalSortProtocol.h ('k') | class-dump/src/CDType.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 CDSymbolReferences, CDTypeController, CDTypeFormatter, CDTypeName;
9
10 @interface CDType : NSObject <NSCopying>
11 {
12 int type;
13 NSArray *protocols;
14 CDType *subtype;
15 CDTypeName *typeName;
16 NSMutableArray *members;
17 NSString *bitfieldSize;
18 NSString *arraySize;
19
20 NSString *variableName;
21 }
22
23 - (id)init;
24 - (id)initSimpleType:(int)aTypeCode;
25 - (id)initIDType:(CDTypeName *)aName;
26 - (id)initIDTypeWithProtocols:(NSArray *)someProtocols;
27 - (id)initStructType:(CDTypeName *)aName members:(NSArray *)someMembers;
28 - (id)initUnionType:(CDTypeName *)aName members:(NSArray *)someMembers;
29 - (id)initBitfieldType:(NSString *)aBitfieldSize;
30 - (id)initArrayType:(CDType *)aType count:(NSString *)aCount;
31 - (id)initPointerType:(CDType *)aType;
32 - (id)initModifier:(int)aModifier type:(CDType *)aType;
33 - (void)dealloc;
34
35 @property(retain) NSString *variableName;
36
37 - (int)type;
38 - (BOOL)isIDType;
39 - (BOOL)isNamedObject;
40 - (BOOL)isTemplateType;
41
42 - (CDType *)subtype;
43 - (CDTypeName *)typeName;
44
45 - (NSArray *)members;
46
47 - (int)typeIgnoringModifiers;
48 - (NSUInteger)structureDepth;
49
50 - (NSString *)description;
51
52 - (NSString *)formattedString:(NSString *)previousName formatter:(CDTypeFormatte r *)typeFormatter level:(NSUInteger)level symbolReferences:(CDSymbolReferences * )symbolReferences;
53 - (NSString *)formattedStringForMembersAtLevel:(NSUInteger)level formatter:(CDTy peFormatter *)typeFormatter symbolReferences:(CDSymbolReferences *)symbolReferen ces;
54 - (NSString *)formattedStringForSimpleType;
55
56 - (NSString *)typeString;
57 - (NSString *)bareTypeString;
58 - (NSString *)reallyBareTypeString;
59 - (NSString *)keyTypeString;
60 - (NSString *)_typeStringWithVariableNamesToLevel:(NSUInteger)level showObjectTy pes:(BOOL)shouldShowObjectTypes;
61 - (NSString *)_typeStringForMembersWithVariableNamesToLevel:(NSInteger)level sho wObjectTypes:(BOOL)shouldShowObjectTypes;
62
63 - (BOOL)isEqual:(CDType *)otherType;
64 - (id)copyWithZone:(NSZone *)zone;
65
66 - (BOOL)canMergeWithType:(CDType *)otherType;
67 - (void)mergeWithType:(CDType *)otherType;
68 - (void)_recursivelyMergeWithType:(CDType *)otherType;
69
70 - (void)generateMemberNames;
71
72 // Phase 0
73 - (void)phase:(NSUInteger)phase registerTypesWithObject:(CDTypeController *)type Controller usedInMethod:(BOOL)isUsedInMethod;
74 - (void)phase0RegisterStructuresWithObject:(CDTypeController *)typeController us edInMethod:(BOOL)isUsedInMethod;
75 - (void)phase0RecursivelyFixStructureNames:(BOOL)flag;
76
77 // Phase 1
78 - (void)phase1RegisterStructuresWithObject:(CDTypeController *)typeController;
79
80 // Phase 2
81 - (void)phase2MergeWithTypeController:(CDTypeController *)typeController debug:( BOOL)phase2Debug;
82 - (void)_phase2MergeWithTypeController:(CDTypeController *)typeController debug: (BOOL)phase2Debug;
83
84 // Phase 3
85 - (void)phase3RegisterWithTypeController:(CDTypeController *)typeController;
86 - (void)phase3RegisterMembersWithTypeController:(CDTypeController *)typeControll er;
87 - (void)phase3MergeWithTypeController:(CDTypeController *)typeController;
88
89 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDTopologicalSortProtocol.h ('k') | class-dump/src/CDType.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698