-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSCKClangSourceFile.h
More file actions
41 lines (35 loc) · 1.04 KB
/
SCKClangSourceFile.h
File metadata and controls
41 lines (35 loc) · 1.04 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
33
34
35
36
37
38
39
40
41
/**
Copyright (c) 2010-2012 David Chisnall
Copyright (c) 2012-2013 Quentin Mathe
Copyright (c) 2012 Nicolas Roard
License: MIT (see COPYING)
*/
#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