-
Notifications
You must be signed in to change notification settings - Fork 5
/
SCKTextTypes.h
76 lines (74 loc) · 1.61 KB
/
SCKTextTypes.h
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#import <EtoileFoundation/Macros.h>
@class NSString;
/**
* The type of the token. This key indicates the type that lexical analysis
* records for this token.
*/
EMIT_STRING(kSCKTextTokenType);
/**
* Token is punctuation.
*/
EMIT_STRING(SCKTextTokenTypePunctuation);
/**
* Token is a keyword.
*/
EMIT_STRING(SCKTextTokenTypeKeyword);
/**
* Token is an identifier.
*/
EMIT_STRING(SCKTextTokenTypeIdentifier);
/**
* Token is a literal value.
*/
EMIT_STRING(SCKTextTokenTypeLiteral);
/**
* Token is a comment.
*/
EMIT_STRING(SCKTextTokenTypeComment);
/**
* The type that semantic analysis records for this
*/
EMIT_STRING(kSCKTextSemanticType);
/**
* Reference to a type declared elsewhere.
*/
EMIT_STRING(SCKTextTypeReference);
/**
* Instantiation of a macro.
*/
EMIT_STRING(SCKTextTypeMacroInstantiation);
/**
* Definition of a macro.
*/
EMIT_STRING(SCKTextTypeMacroDefinition);
/**
* A declaration.
*/
EMIT_STRING(SCKTextTypeDeclaration);
/**
* A message send expression.
*/
EMIT_STRING(SCKTextTypeMessageSend);
/**
* A reference to a declaration.
*/
EMIT_STRING(SCKTextTypeDeclRef);
/**
* A preprocessor directive, such as #import or #include.
*/
EMIT_STRING(SCKTextTypePreprocessorDirective);
/**
* Something is wrong with the text for this range. The value for this
* attribute is a dictionary describing exactly what.
*/
EMIT_STRING(kSCKDiagnostic);
/**
* The severity of the diagnostic. An NSNumber from 1 (hint) to 5 (fatal
* error).
*/
EMIT_STRING(kSCKDiagnosticSeverity);
/**
* A human-readable string giving the text of the diagnostic, suitable for
* display.
*/
EMIT_STRING(kSCKDiagnosticText);