-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSCKClangSourceFile.h
More file actions
33 lines (29 loc) · 908 Bytes
/
SCKClangSourceFile.h
File metadata and controls
33 lines (29 loc) · 908 Bytes
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
33
#include <Foundation/Foundation.h>
#include "SCKSourceFile.h"
#include <clang-c/Index.h>
@class SCKClangIndex;
@class NSMutableArray;
@class NSMutableAttributedString;
/**
* SCKSourceFile implementation that uses clang to perform handle
* [Objective-]C[++] files.
*/
@interface SCKClangSourceFile : SCKSourceFile
{
/** Compiler arguments */
NSMutableArray *args;
/** Index shared between code files */
SCKClangIndex *idx;
/** libclang translation unit handle. */
CXTranslationUnit translationUnit;
CXFile file;
NSMutableDictionary *functions;
NSMutableDictionary *enumerations;
NSMutableDictionary *enumerationValues;
NSMutableDictionary *macros;
}
@property (nonatomic, readonly) NSDictionary *functions;
@property (nonatomic, readonly) NSDictionary *enumerations;
@property (nonatomic, readonly) NSDictionary *enumerationValues;
@property (nonatomic, readonly) NSDictionary *macros;
@end