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

Side by Side Diff: class-dump/src/CDOCSymtab.m

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/CDOCSymtab.h ('k') | class-dump/src/CDObjectiveC1Processor.h » ('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 "CDOCSymtab.h"
7
8 #import "CDClassDump.h"
9 #import "CDOCCategory.h"
10 #import "CDOCClass.h"
11 #import "CDSymbolReferences.h"
12
13 @implementation CDOCSymtab
14
15 - (id)init;
16 {
17 if ([super init] == nil)
18 return nil;
19
20 classes = [[NSMutableArray alloc] init];
21 categories = [[NSMutableArray alloc] init];
22
23 return self;
24 }
25
26 - (void)dealloc;
27 {
28 [classes release];
29 [categories release];
30
31 [super dealloc];
32 }
33
34 - (NSArray *)classes;
35 {
36 return classes;
37 }
38
39 - (void)addClass:(CDOCClass *)aClass;
40 {
41 [classes addObject:aClass];
42 }
43
44 - (NSArray *)categories;
45 {
46 return categories;
47 }
48
49 - (void)addCategory:(CDOCCategory *)aCategory;
50 {
51 [categories addObject:aCategory];
52 }
53
54 - (NSString *)description;
55 {
56 return [NSString stringWithFormat:@"[%@] classes: %@, categories: %@", NSStr ingFromClass([self class]), classes, categories];
57 }
58
59 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDOCSymtab.h ('k') | class-dump/src/CDObjectiveC1Processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698