-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSCKSourceCollection.h
More file actions
32 lines (30 loc) · 1.19 KB
/
SCKSourceCollection.h
File metadata and controls
32 lines (30 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#import <Foundation/NSObject.h>
@class NSCache;
@class NSMutableDictionary;
@class SCKIndex;
@class SCKSourceFile;
/**
* A source collection encapsulates a group of (potentially cross-referenced)
* source code files.
*/
@interface SCKSourceCollection : NSObject
{
NSMutableDictionary *indexes;
/** Files that have already been created. */
NSMutableDictionary *files; //TODO: turn back into NSCache
NSMutableDictionary *bundleClasses;
}
@property (nonatomic, readonly, retain) NSMutableDictionary *classes;
@property (nonatomic, readonly, retain) NSMutableDictionary *bundles;
@property (nonatomic, readonly, retain) NSMutableDictionary *functions;
@property (nonatomic, readonly, retain) NSMutableDictionary *globals;
@property (nonatomic, readonly, retain) NSMutableDictionary *enumerations;
@property (nonatomic, readonly, retain) NSMutableDictionary *enumerationValues;
/**
* Generates a new source file object corresponding to the specified on-disk
* file. The returned object is not guaranteed to be unique - subsequent calls
* with the same argument will return the same object.
*/
- (SCKSourceFile*)sourceFileForPath: (NSString*)aPath;
- (SCKIndex*)indexForFileExtension: (NSString*)extension;
@end