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

Side by Side Diff: class-dump/src/CDOCProtocol.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/CDOCProperty.m ('k') | class-dump/src/CDOCProtocol.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, CDSymbolReferences, CDTypeController;
9 @class CDVisitor, CDVisitorPropertyState;
10 @class CDOCMethod, CDOCProperty;
11
12 @interface CDOCProtocol : NSObject
13 {
14 NSString *name;
15 NSMutableArray *protocols;
16 NSMutableArray *classMethods;
17 NSMutableArray *instanceMethods;
18 NSMutableArray *optionalClassMethods;
19 NSMutableArray *optionalInstanceMethods;
20 NSMutableArray *properties;
21
22 NSMutableSet *adoptedProtocolNames;
23 }
24
25 - (id)init;
26 - (void)dealloc;
27
28 - (NSString *)name;
29 - (void)setName:(NSString *)newName;
30
31 - (NSArray *)protocols;
32 - (void)addProtocol:(CDOCProtocol *)aProtocol;
33 - (void)removeProtocol:(CDOCProtocol *)aProtocol;
34
35 - (NSArray *)classMethods;
36 - (void)addClassMethod:(CDOCMethod *)method;
37
38 - (NSArray *)instanceMethods;
39 - (void)addInstanceMethod:(CDOCMethod *)method;
40
41 - (NSArray *)optionalClassMethods;
42 - (void)addOptionalClassMethod:(CDOCMethod *)method;
43
44 - (NSArray *)optionalInstanceMethods;
45 - (void)addOptionalInstanceMethod:(CDOCMethod *)method;
46
47 - (NSArray *)properties;
48 - (void)addProperty:(CDOCProperty *)property;
49
50 - (BOOL)hasMethods;
51
52 - (NSString *)description;
53 - (void)registerTypesWithObject:(CDTypeController *)typeController phase:(NSUInt eger)phase;
54 - (void)registerTypesFromMethods:(NSArray *)methods withObject:(CDTypeController *)typeController phase:(NSUInteger)phase;
55
56 - (NSString *)sortableName;
57 - (NSComparisonResult)ascendingCompareByName:(CDOCProtocol *)otherProtocol;
58
59 - (NSString *)findTag:(CDSymbolReferences *)symbolReferences;
60
61 - (void)recursivelyVisit:(CDVisitor *)aVisitor;
62 - (void)visitMethods:(CDVisitor *)aVisitor propertyState:(CDVisitorPropertyState *)propertyState;
63 - (void)visitProperties:(CDVisitor *)aVisitor;
64
65 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDOCProperty.m ('k') | class-dump/src/CDOCProtocol.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698