-
Notifications
You must be signed in to change notification settings - Fork 2
/
typescript.xml
132 lines (123 loc) · 5.46 KB
/
typescript.xml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="TypeScript" section="Scripts" extensions="*.ts;"
indenter="cstyle" author="PrettyFlower ([email protected])">
<highlighting>
<list name="keywords">
<item> if </item>
<item> else </item>
<item> for </item>
<item> in </item>
<item> while </item>
<item> do </item>
<item> continue </item>
<item> break </item>
<item> with </item>
<item> try </item>
<item> catch </item>
<item> finally </item>
<item> switch </item>
<item> case </item>
<item> new </item>
<item> var </item>
<item> function </item>
<item> return </item>
<item> delete </item>
<item> true </item>
<item> false </item>
<item> void </item>
<item> throw </item>
<item> typeof </item>
<item> const </item>
<item> default </item>
<item> this </item>
<item> null </item>
<item> undefined </item>
<item> class </item>
<item> export </item>
<item> declare </item>
<item> module </item>
<item> import </item>
<item> static </item>
<item> interface </item>
<item> implements </item>
<item> constructor </item>
<item> public </item>
<item> private </item>
<item> string </item>
<item> number </item>
<item> bool </item>
<item> any </item>
<item> extends </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<DetectSpaces/>
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<DetectChar attribute="String" context="String" char="""/>
<DetectChar attribute="String Char" context="String 1" char="'"/>
<StringDetect attribute="Reference" context="Reference" String="///" />
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment"/>
<DetectIdentifier/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<DetectIdentifier/>
<HlCStringChar attribute="String Char" context="#stay"/>
<LineContinue attribute="String" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context attribute="String Char" lineEndContext="#pop" name="String 1">
<DetectIdentifier/>
<HlCStringChar attribute="String Char" context="#stay"/>
<LineContinue attribute="String" context="#stay"/>
<DetectChar attribute="String Char" context="#pop" char="'"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment">
<IncludeRules context="##Alerts" />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
</context>
<context attribute="Reference" lineEndContext="#pop" name="Reference">
<DetectChar attribute="ReferenceBracket" context="#stay" char="<"/>
<DetectChar attribute="ReferenceBracket" context="#stay" char=">"/>
<DetectChar attribute="ReferenceFile" context="ReferenceFile" char="""/>
<DetectChar attribute="ReferenceFile" context="ReferenceFile 1" char="'"/>
</context>
<context attribute="ReferenceFile" lineEndContext="#pop" name="ReferenceFile">
<DetectIdentifier/>
<HlCStringChar attribute="ReferenceFile" context="#stay"/>
<LineContinue attribute="ReferenceFile" context="#stay"/>
<DetectChar attribute="ReferenceFile" context="#pop" char="""/>
</context>
<context attribute="ReferenceFile" lineEndContext="#pop" name="ReferenceFile 1">
<DetectIdentifier/>
<HlCStringChar attribute="ReferenceFile" context="#stay"/>
<LineContinue attribute="ReferenceFile" context="#stay"/>
<DetectChar attribute="ReferenceFile" context="#pop" char="'"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsNormal" color="#00f"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString" color="#a31515"/>
<itemData name="String Char" defStyleNum="dsString" color="#a31515"/>
<itemData name="Comment" defStyleNum="dsNormal" italic="true" color="#080"/>
<itemData name="Reference" defStyleNum="dsNormal" color="#aeb9ae"/>
<itemData name="ReferenceBracket" defStyleNum="dsNormal" color="#708870" bold="true"/>
<itemData name="ReferenceFile" defStyleNum="dsNormal" color="#2c51cc"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1"/>
</general>
</language>