672
|
1 " Vim syntax file
|
|
2 " Language: TypeScript and TypeScriptReact
|
726
|
3 " Maintainer: Herrington Darkholme
|
|
4 " Last Change: 2024 May 24
|
672
|
5 " Based On: Herrington Darkholme's yats.vim
|
726
|
6 " Changes: See https://github.com/HerringtonDarkholme/yats.vim
|
672
|
7 " Credits: See yats.vim on github
|
|
8
|
|
9 if &cpo =~ 'C'
|
|
10 let s:cpo_save = &cpo
|
|
11 set cpo&vim
|
|
12 endif
|
|
13
|
|
14
|
|
15 " NOTE: this results in accurate highlighting, but can be slow.
|
|
16 syntax sync fromstart
|
|
17
|
|
18 "Dollar sign is permitted anywhere in an identifier
|
|
19 setlocal iskeyword-=$
|
|
20 if main_syntax == 'typescript' || main_syntax == 'typescriptreact'
|
|
21 setlocal iskeyword+=$
|
|
22 " syntax cluster htmlJavaScript contains=TOP
|
|
23 endif
|
|
24 " For private field added from TypeScript 3.8
|
|
25 setlocal iskeyword+=#
|
|
26
|
|
27 " lowest priority on least used feature
|
|
28 syntax match typescriptLabel /[a-zA-Z_$]\k*:/he=e-1 contains=typescriptReserved nextgroup=@typescriptStatement skipwhite skipempty
|
|
29
|
|
30 " other keywords like return,case,yield uses containedin
|
|
31 syntax region typescriptBlock matchgroup=typescriptBraces start=/{/ end=/}/ contains=@typescriptStatement,@typescriptComments fold
|
|
32 syntax cluster afterIdentifier contains=
|
|
33 \ typescriptDotNotation,
|
|
34 \ typescriptFuncCallArg,
|
|
35 \ typescriptTemplate,
|
|
36 \ typescriptIndexExpr,
|
|
37 \ @typescriptSymbols,
|
|
38 \ typescriptTypeArguments
|
|
39
|
|
40 syntax match typescriptIdentifierName /\<\K\k*/
|
|
41 \ nextgroup=@afterIdentifier
|
|
42 \ transparent
|
|
43 \ contains=@_semantic
|
|
44 \ skipnl skipwhite
|
|
45
|
|
46 syntax match typescriptProp contained /\K\k*!\?/
|
|
47 \ transparent
|
|
48 \ contains=@props
|
|
49 \ nextgroup=@afterIdentifier
|
|
50 \ skipwhite skipempty
|
|
51
|
726
|
52 syntax region typescriptIndexExpr contained matchgroup=typescriptProperty start=/\[/ end=/]/ contains=@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols,typescriptDotNotation,typescriptFuncCallArg skipwhite skipempty
|
672
|
53
|
|
54 syntax match typescriptDotNotation /\.\|?\.\|!\./ nextgroup=typescriptProp skipnl
|
|
55 syntax match typescriptDotStyleNotation /\.style\./ nextgroup=typescriptDOMStyle transparent
|
|
56 " syntax match typescriptFuncCall contained /[a-zA-Z]\k*\ze(/ nextgroup=typescriptFuncCallArg
|
|
57 syntax region typescriptParenExp matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptComments,@typescriptValue,typescriptCastKeyword nextgroup=@typescriptSymbols skipwhite skipempty
|
726
|
58 syntax region typescriptFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptValue,@typescriptComments,typescriptCastKeyword nextgroup=@typescriptSymbols,typescriptDotNotation skipwhite skipempty skipnl
|
672
|
59 syntax region typescriptEventFuncCallArg contained matchgroup=typescriptParens start=/(/ end=/)/ contains=@typescriptEventExpression
|
|
60 syntax region typescriptEventString contained start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/ contains=typescriptASCII,@events
|
|
61
|
|
62 syntax region typescriptDestructureString
|
|
63 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/
|
|
64 \ contains=typescriptASCII
|
|
65 \ nextgroup=typescriptDestructureAs
|
|
66 \ contained skipwhite skipempty
|
|
67
|
|
68 syntax cluster typescriptVariableDeclarations
|
|
69 \ contains=typescriptVariableDeclaration,@typescriptDestructures
|
|
70
|
|
71 syntax match typescriptVariableDeclaration /[A-Za-z_$]\k*/
|
|
72 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
|
|
73 \ contained skipwhite skipempty
|
|
74
|
|
75 syntax cluster typescriptDestructureVariables contains=
|
|
76 \ typescriptRestOrSpread,
|
|
77 \ typescriptDestructureComma,
|
|
78 \ typescriptDestructureLabel,
|
|
79 \ typescriptDestructureVariable,
|
|
80 \ @typescriptDestructures
|
|
81
|
|
82 syntax match typescriptDestructureVariable /[A-Za-z_$]\k*/ contained
|
|
83 \ nextgroup=typescriptDefaultParam
|
|
84 \ contained skipwhite skipempty
|
|
85
|
|
86 syntax match typescriptDestructureLabel /[A-Za-z_$]\k*\ze\_s*:/
|
|
87 \ nextgroup=typescriptDestructureAs
|
|
88 \ contained skipwhite skipempty
|
|
89
|
|
90 syntax match typescriptDestructureAs /:/
|
|
91 \ nextgroup=typescriptDestructureVariable,@typescriptDestructures
|
|
92 \ contained skipwhite skipempty
|
|
93
|
|
94 syntax match typescriptDestructureComma /,/ contained
|
|
95
|
|
96 syntax cluster typescriptDestructures contains=
|
|
97 \ typescriptArrayDestructure,
|
|
98 \ typescriptObjectDestructure
|
|
99
|
|
100 syntax region typescriptArrayDestructure matchgroup=typescriptBraces
|
|
101 \ start=/\[/ end=/]/
|
|
102 \ contains=@typescriptDestructureVariables,@typescriptComments
|
|
103 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
|
|
104 \ transparent contained skipwhite skipempty fold
|
|
105
|
|
106 syntax region typescriptObjectDestructure matchgroup=typescriptBraces
|
|
107 \ start=/{/ end=/}/
|
|
108 \ contains=typescriptDestructureString,@typescriptDestructureVariables,@typescriptComments
|
|
109 \ nextgroup=typescriptTypeAnnotation,typescriptAssign
|
|
110 \ transparent contained skipwhite skipempty fold
|
|
111
|
|
112 "Syntax in the JavaScript code
|
|
113
|
|
114 " String
|
|
115 syntax match typescriptASCII contained /\\\d\d\d/
|
|
116
|
|
117 syntax region typescriptTemplateSubstitution matchgroup=typescriptTemplateSB
|
|
118 \ start=/\${/ end=/}/
|
726
|
119 \ contains=@typescriptValue,typescriptCastKeyword
|
672
|
120 \ contained
|
|
121
|
|
122
|
726
|
123 syntax region typescriptString
|
672
|
124 \ start=+\z(["']\)+ skip=+\\\%(\z1\|$\)+ end=+\z1+ end=+$+
|
|
125 \ contains=typescriptSpecial,@Spell
|
726
|
126 \ nextgroup=@typescriptSymbols
|
|
127 \ skipwhite skipempty
|
672
|
128 \ extend
|
|
129
|
|
130 syntax match typescriptSpecial contained "\v\\%(x\x\x|u%(\x{4}|\{\x{1,6}})|c\u|.)"
|
|
131
|
726
|
132 " From pangloss/vim-javascript
|
|
133 " <https://github.com/pangloss/vim-javascript/blob/d6e137563c47fb59f26ed25d044c0c7532304f18/syntax/javascript.vim#L64-L72>
|
|
134 syntax region typescriptRegexpCharClass contained start=+\[+ skip=+\\.+ end=+\]+ contains=typescriptSpecial extend
|
|
135 syntax match typescriptRegexpBoundary contained "\v\c[$^]|\\b"
|
|
136 syntax match typescriptRegexpBackRef contained "\v\\[1-9]\d*"
|
|
137 syntax match typescriptRegexpQuantifier contained "\v[^\\]%([?*+]|\{\d+%(,\d*)?})\??"lc=1
|
|
138 syntax match typescriptRegexpOr contained "|"
|
|
139 syntax match typescriptRegexpMod contained "\v\(\?[:=!>]"lc=1
|
|
140 syntax region typescriptRegexpGroup contained start="[^\\]("lc=1 skip="\\.\|\[\(\\.\|[^]]\+\)\]" end=")" contains=typescriptRegexpCharClass,@typescriptRegexpSpecial keepend
|
|
141 syntax region typescriptRegexpString
|
|
142 \ start=+\%(\%(\<return\|\<typeof\|\_[^)\]'"[:blank:][:alnum:]_$]\)\s*\)\@<=/\ze[^*/]+ skip=+\\.\|\[[^]]\{1,}\]+ end=+/[gimyus]\{,6}+
|
|
143 \ contains=typescriptRegexpCharClass,typescriptRegexpGroup,@typescriptRegexpSpecial
|
|
144 \ oneline keepend extend
|
|
145 syntax cluster typescriptRegexpSpecial contains=typescriptSpecial,typescriptRegexpBoundary,typescriptRegexpBackRef,typescriptRegexpQuantifier,typescriptRegexpOr,typescriptRegexpMod
|
672
|
146
|
|
147 syntax region typescriptTemplate
|
|
148 \ start=/`/ skip=/\\\\\|\\`\|\n/ end=/`\|$/
|
|
149 \ contains=typescriptTemplateSubstitution,typescriptSpecial,@Spell
|
|
150 \ nextgroup=@typescriptSymbols
|
|
151 \ skipwhite skipempty
|
|
152
|
|
153 "Array
|
|
154 syntax region typescriptArray matchgroup=typescriptBraces
|
|
155 \ start=/\[/ end=/]/
|
726
|
156 \ contains=@typescriptValue,@typescriptComments,typescriptCastKeyword
|
672
|
157 \ nextgroup=@typescriptSymbols,typescriptDotNotation
|
|
158 \ skipwhite skipempty fold
|
|
159
|
|
160 " Number
|
|
161 syntax match typescriptNumber /\<0[bB][01][01_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
|
|
162 syntax match typescriptNumber /\<0[oO][0-7][0-7_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
|
|
163 syntax match typescriptNumber /\<0[xX][0-9a-fA-F][0-9a-fA-F_]*\>/ nextgroup=@typescriptSymbols skipwhite skipempty
|
|
164 syntax match typescriptNumber /\<\%(\d[0-9_]*\%(\.\d[0-9_]*\)\=\|\.\d[0-9_]*\)\%([eE][+-]\=\d[0-9_]*\)\=\>/
|
726
|
165 \ nextgroup=@typescriptSymbols skipwhite skipempty
|
672
|
166
|
|
167 syntax region typescriptObjectLiteral matchgroup=typescriptBraces
|
|
168 \ start=/{/ end=/}/
|
726
|
169 \ contains=@typescriptComments,typescriptObjectLabel,typescriptStringProperty,typescriptComputedPropertyName,typescriptObjectAsyncKeyword,typescriptTernary,typescriptCastKeyword
|
672
|
170 \ fold contained
|
|
171
|
|
172 syntax keyword typescriptObjectAsyncKeyword async contained
|
|
173
|
|
174 syntax match typescriptObjectLabel contained /\k\+\_s*/
|
|
175 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
|
|
176 \ skipwhite skipempty
|
|
177
|
|
178 syntax region typescriptStringProperty contained
|
|
179 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/
|
|
180 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
|
|
181 \ skipwhite skipempty
|
|
182
|
|
183 " syntax region typescriptPropertyName contained start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1(/me=e-1 nextgroup=@typescriptCallSignature skipwhite skipempty oneline
|
|
184 syntax region typescriptComputedPropertyName contained matchgroup=typescriptBraces
|
|
185 \ start=/\[/rs=s+1 end=/]/
|
|
186 \ contains=@typescriptValue
|
|
187 \ nextgroup=typescriptObjectColon,@typescriptCallImpl
|
|
188 \ skipwhite skipempty
|
|
189
|
|
190 " syntax region typescriptComputedPropertyName contained matchgroup=typescriptPropertyName start=/\[/rs=s+1 end=/]\_s*:/he=e-1 contains=@typescriptValue nextgroup=@typescriptValue skipwhite skipempty
|
|
191 " syntax region typescriptComputedPropertyName contained matchgroup=typescriptPropertyName start=/\[/rs=s+1 end=/]\_s*(/me=e-1 contains=@typescriptValue nextgroup=@typescriptCallSignature skipwhite skipempty
|
|
192 " Value for object, statement for label statement
|
|
193 syntax match typescriptRestOrSpread /\.\.\./ contained
|
|
194 syntax match typescriptObjectSpread /\.\.\./ contained containedin=typescriptObjectLiteral,typescriptArray nextgroup=@typescriptValue
|
|
195
|
|
196 syntax match typescriptObjectColon contained /:/ nextgroup=@typescriptValue skipwhite skipempty
|
|
197
|
|
198 " + - ^ ~
|
|
199 syntax match typescriptUnaryOp /[+\-~!]/
|
|
200 \ nextgroup=@typescriptValue
|
|
201 \ skipwhite
|
|
202
|
|
203 syntax region typescriptTernary matchgroup=typescriptTernaryOp start=/?[.?]\@!/ end=/:/ contained contains=@typescriptValue,@typescriptComments nextgroup=@typescriptValue skipwhite skipempty
|
|
204
|
|
205 syntax match typescriptAssign /=/ nextgroup=@typescriptValue
|
|
206 \ skipwhite skipempty
|
|
207
|
|
208 " 2: ==, ===
|
|
209 syntax match typescriptBinaryOp contained /===\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
210 " 6: >>>=, >>>, >>=, >>, >=, >
|
|
211 syntax match typescriptBinaryOp contained />\(>>=\|>>\|>=\|>\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
212 " 4: <<=, <<, <=, <
|
|
213 syntax match typescriptBinaryOp contained /<\(<=\|<\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
214 " 3: ||, |=, |, ||=
|
|
215 syntax match typescriptBinaryOp contained /||\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
216 " 4: &&, &=, &, &&=
|
|
217 syntax match typescriptBinaryOp contained /&&\?=\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
218 " 2: ??, ??=
|
|
219 syntax match typescriptBinaryOp contained /??=\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
220 " 2: *=, *
|
|
221 syntax match typescriptBinaryOp contained /\*=\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
222 " 2: %=, %
|
|
223 syntax match typescriptBinaryOp contained /%=\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
224 " 2: /=, /
|
|
225 syntax match typescriptBinaryOp contained +/\(=\|[^\*/]\@=\)+ nextgroup=@typescriptValue skipwhite skipempty
|
|
226 syntax match typescriptBinaryOp contained /!==\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
227 " 2: !=, !==
|
|
228 syntax match typescriptBinaryOp contained /+\(+\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
229 " 3: +, ++, +=
|
|
230 syntax match typescriptBinaryOp contained /-\(-\|=\)\?/ nextgroup=@typescriptValue skipwhite skipempty
|
|
231 " 3: -, --, -=
|
|
232
|
|
233 " exponentiation operator
|
|
234 " 2: **, **=
|
|
235 syntax match typescriptBinaryOp contained /\*\*=\?/ nextgroup=@typescriptValue
|
|
236
|
|
237 syntax cluster typescriptSymbols contains=typescriptBinaryOp,typescriptKeywordOp,typescriptTernary,typescriptAssign,typescriptCastKeyword
|
|
238
|
726
|
239 " runtime syntax/ts-common/reserved.vim
|
672
|
240 "Import
|
|
241 syntax keyword typescriptImport from as
|
|
242 syntax keyword typescriptImport import
|
726
|
243 \ nextgroup=typescriptImportType,typescriptTypeBlock,typescriptDefaultImportName
|
672
|
244 \ skipwhite
|
|
245 syntax keyword typescriptImportType type
|
|
246 \ contained
|
|
247 syntax keyword typescriptExport export
|
|
248 \ nextgroup=typescriptExportType
|
|
249 \ skipwhite
|
|
250 syntax match typescriptExportType /\<type\s*{\@=/
|
|
251 \ contained skipwhite skipempty skipnl
|
|
252 syntax keyword typescriptModule namespace module
|
|
253
|
|
254
|
726
|
255 syntax keyword typescriptCastKeyword as satisfies
|
672
|
256 \ nextgroup=@typescriptType
|
|
257 \ skipwhite
|
|
258
|
|
259 syntax keyword typescriptVariable let var
|
|
260 \ nextgroup=@typescriptVariableDeclarations
|
|
261 \ skipwhite skipempty
|
|
262
|
|
263 syntax keyword typescriptVariable const
|
|
264 \ nextgroup=typescriptEnum,@typescriptVariableDeclarations
|
|
265 \ skipwhite skipempty
|
|
266
|
726
|
267 syntax keyword typescriptUsing using
|
|
268 \ nextgroup=@typescriptVariableDeclarations
|
|
269 \ skipwhite skipempty
|
|
270
|
672
|
271 syntax region typescriptEnum matchgroup=typescriptEnumKeyword start=/enum / end=/\ze{/
|
|
272 \ nextgroup=typescriptBlock
|
|
273 \ skipwhite
|
|
274
|
|
275 syntax keyword typescriptKeywordOp
|
|
276 \ contained in instanceof nextgroup=@typescriptValue
|
|
277 syntax keyword typescriptOperator delete new typeof void
|
|
278 \ nextgroup=@typescriptValue
|
|
279 \ skipwhite skipempty
|
|
280
|
|
281 syntax keyword typescriptForOperator contained in of
|
|
282 syntax keyword typescriptBoolean true false nextgroup=@typescriptSymbols skipwhite skipempty
|
|
283 syntax keyword typescriptMessage alert confirm prompt status
|
|
284 \ nextgroup=typescriptDotNotation,typescriptFuncCallArg
|
|
285 syntax keyword typescriptGlobal self top parent
|
|
286 \ nextgroup=@afterIdentifier
|
|
287
|
|
288 "Statement Keywords
|
|
289 syntax keyword typescriptConditional if else switch
|
|
290 \ nextgroup=typescriptConditionalParen
|
|
291 \ skipwhite skipempty skipnl
|
|
292 syntax keyword typescriptConditionalElse else
|
|
293 syntax keyword typescriptRepeat do while for nextgroup=typescriptLoopParen skipwhite skipempty
|
|
294 syntax keyword typescriptRepeat for nextgroup=typescriptLoopParen,typescriptAsyncFor skipwhite skipempty
|
|
295 syntax keyword typescriptBranch break continue containedin=typescriptBlock
|
|
296 syntax keyword typescriptCase case nextgroup=@typescriptPrimitive skipwhite containedin=typescriptBlock
|
|
297 syntax keyword typescriptDefault default containedin=typescriptBlock nextgroup=@typescriptValue,typescriptClassKeyword,typescriptInterfaceKeyword skipwhite oneline
|
|
298 syntax keyword typescriptStatementKeyword with
|
|
299 syntax keyword typescriptStatementKeyword yield skipwhite nextgroup=@typescriptValue containedin=typescriptBlock
|
|
300
|
|
301 syntax keyword typescriptTry try
|
726
|
302 syntax keyword typescriptExceptions throw finally
|
|
303 syntax keyword typescriptExceptions catch nextgroup=typescriptCall skipwhite skipempty oneline
|
672
|
304 syntax keyword typescriptDebugger debugger
|
|
305
|
|
306 syntax keyword typescriptAsyncFor await nextgroup=typescriptLoopParen skipwhite skipempty contained
|
|
307
|
|
308 syntax region typescriptLoopParen contained matchgroup=typescriptParens
|
|
309 \ start=/(/ end=/)/
|
|
310 \ contains=typescriptVariable,typescriptForOperator,typescriptEndColons,@typescriptValue,@typescriptComments
|
|
311 \ nextgroup=typescriptBlock
|
|
312 \ skipwhite skipempty
|
|
313 syntax region typescriptConditionalParen contained matchgroup=typescriptParens
|
|
314 \ start=/(/ end=/)/
|
|
315 \ contains=@typescriptValue,@typescriptComments
|
|
316 \ nextgroup=typescriptBlock
|
|
317 \ skipwhite skipempty
|
|
318 syntax match typescriptEndColons /[;,]/ contained
|
|
319
|
|
320 syntax keyword typescriptAmbientDeclaration declare nextgroup=@typescriptAmbients
|
|
321 \ skipwhite skipempty
|
|
322
|
|
323 syntax cluster typescriptAmbients contains=
|
|
324 \ typescriptVariable,
|
|
325 \ typescriptFuncKeyword,
|
|
326 \ typescriptClassKeyword,
|
|
327 \ typescriptAbstract,
|
|
328 \ typescriptEnumKeyword,typescriptEnum,
|
|
329 \ typescriptModule
|
|
330
|
726
|
331 syntax keyword typescriptIdentifier arguments nextgroup=@afterIdentifier
|
|
332 syntax match typescriptDefaultImportName /\v\h\k*( |,)/
|
|
333 \ contained
|
|
334 \ nextgroup=typescriptTypeBlock
|
|
335 \ skipwhite skipempty
|
|
336
|
|
337 syntax region typescriptTypeBlock
|
|
338 \ matchgroup=typescriptBraces
|
|
339 \ start=/{/ end=/}/
|
|
340 \ contained
|
|
341 \ contains=typescriptIdentifierName,typescriptImportType
|
|
342 \ fold
|
|
343
|
|
344 "Program Keywords
|
|
345 syntax keyword typescriptNull null undefined nextgroup=@typescriptSymbols skipwhite skipempty
|
|
346 syntax keyword typescriptIdentifier this super prototype nextgroup=@afterIdentifier
|
|
347 syntax keyword typescriptStatementKeyword return skipwhite contained nextgroup=@typescriptValue containedin=typescriptBlock
|
|
348
|
672
|
349 "Syntax coloring for Node.js shebang line
|
|
350 syntax match shellbang "^#!.*node\>"
|
|
351 syntax match shellbang "^#!.*iojs\>"
|
|
352
|
|
353
|
|
354 "JavaScript comments
|
|
355 syntax keyword typescriptCommentTodo TODO FIXME XXX TBD
|
|
356 syntax match typescriptMagicComment "@ts-\%(ignore\|expect-error\)\>"
|
|
357 syntax match typescriptLineComment "//.*"
|
|
358 \ contains=@Spell,typescriptCommentTodo,typescriptRef,typescriptMagicComment
|
|
359 syntax region typescriptComment
|
|
360 \ start="/\*" end="\*/"
|
|
361 \ contains=@Spell,typescriptCommentTodo extend
|
|
362 syntax cluster typescriptComments
|
|
363 \ contains=typescriptDocComment,typescriptComment,typescriptLineComment
|
|
364
|
|
365 syntax match typescriptRef +///\s*<reference\s\+.*\/>$+
|
|
366 \ contains=typescriptString
|
|
367 syntax match typescriptRef +///\s*<amd-dependency\s\+.*\/>$+
|
|
368 \ contains=typescriptString
|
|
369 syntax match typescriptRef +///\s*<amd-module\s\+.*\/>$+
|
|
370 \ contains=typescriptString
|
|
371
|
|
372 "JSDoc
|
|
373 syntax case ignore
|
|
374
|
|
375 syntax region typescriptDocComment matchgroup=typescriptComment
|
|
376 \ start="/\*\*" end="\*/"
|
|
377 \ contains=typescriptDocNotation,typescriptCommentTodo,@Spell
|
|
378 \ fold keepend
|
|
379 syntax match typescriptDocNotation contained /@/ nextgroup=typescriptDocTags
|
|
380
|
|
381 syntax keyword typescriptDocTags contained constant constructor constructs function ignore inner private public readonly static
|
|
382 syntax keyword typescriptDocTags contained const dict expose inheritDoc interface nosideeffects override protected struct internal
|
|
383 syntax keyword typescriptDocTags contained example global
|
|
384 syntax keyword typescriptDocTags contained alpha beta defaultValue eventProperty experimental label
|
|
385 syntax keyword typescriptDocTags contained packageDocumentation privateRemarks remarks sealed typeParam
|
|
386
|
|
387 " syntax keyword typescriptDocTags contained ngdoc nextgroup=typescriptDocNGDirective
|
|
388 syntax keyword typescriptDocTags contained ngdoc scope priority animations
|
|
389 syntax keyword typescriptDocTags contained ngdoc restrict methodOf propertyOf eventOf eventType nextgroup=typescriptDocParam skipwhite
|
|
390 syntax keyword typescriptDocNGDirective contained overview service object function method property event directive filter inputType error
|
|
391
|
|
392 syntax keyword typescriptDocTags contained abstract virtual access augments
|
|
393
|
|
394 syntax keyword typescriptDocTags contained arguments callback lends memberOf name type kind link mixes mixin tutorial nextgroup=typescriptDocParam skipwhite
|
|
395 syntax keyword typescriptDocTags contained variation nextgroup=typescriptDocNumParam skipwhite
|
|
396
|
|
397 syntax keyword typescriptDocTags contained author class classdesc copyright default defaultvalue nextgroup=typescriptDocDesc skipwhite
|
|
398 syntax keyword typescriptDocTags contained deprecated description external host nextgroup=typescriptDocDesc skipwhite
|
|
399 syntax keyword typescriptDocTags contained file fileOverview overview namespace requires since version nextgroup=typescriptDocDesc skipwhite
|
|
400 syntax keyword typescriptDocTags contained summary todo license preserve nextgroup=typescriptDocDesc skipwhite
|
|
401
|
|
402 syntax keyword typescriptDocTags contained borrows exports nextgroup=typescriptDocA skipwhite
|
|
403 syntax keyword typescriptDocTags contained param arg argument property prop module nextgroup=typescriptDocNamedParamType,typescriptDocParamName skipwhite
|
|
404 syntax keyword typescriptDocTags contained define enum extends implements this typedef nextgroup=typescriptDocParamType skipwhite
|
|
405 syntax keyword typescriptDocTags contained return returns throws exception nextgroup=typescriptDocParamType,typescriptDocParamName skipwhite
|
|
406 syntax keyword typescriptDocTags contained see nextgroup=typescriptDocRef skipwhite
|
|
407
|
|
408 syntax keyword typescriptDocTags contained function func method nextgroup=typescriptDocName skipwhite
|
|
409 syntax match typescriptDocName contained /\h\w*/
|
|
410
|
|
411 syntax keyword typescriptDocTags contained fires event nextgroup=typescriptDocEventRef skipwhite
|
|
412 syntax match typescriptDocEventRef contained /\h\w*#\(\h\w*\:\)\?\h\w*/
|
|
413
|
|
414 syntax match typescriptDocNamedParamType contained /{.\+}/ nextgroup=typescriptDocParamName skipwhite
|
|
415 syntax match typescriptDocParamName contained /\[\?0-9a-zA-Z_\.]\+\]\?/ nextgroup=typescriptDocDesc skipwhite
|
|
416 syntax match typescriptDocParamType contained /{.\+}/ nextgroup=typescriptDocDesc skipwhite
|
|
417 syntax match typescriptDocA contained /\%(#\|\w\|\.\|:\|\/\)\+/ nextgroup=typescriptDocAs skipwhite
|
|
418 syntax match typescriptDocAs contained /\s*as\s*/ nextgroup=typescriptDocB skipwhite
|
|
419 syntax match typescriptDocB contained /\%(#\|\w\|\.\|:\|\/\)\+/
|
|
420 syntax match typescriptDocParam contained /\%(#\|\w\|\.\|:\|\/\|-\)\+/
|
|
421 syntax match typescriptDocNumParam contained /\d\+/
|
|
422 syntax match typescriptDocRef contained /\%(#\|\w\|\.\|:\|\/\)\+/
|
|
423 syntax region typescriptDocLinkTag contained matchgroup=typescriptDocLinkTag start=/{/ end=/}/ contains=typescriptDocTags
|
|
424
|
|
425 syntax cluster typescriptDocs contains=typescriptDocParamType,typescriptDocNamedParamType,typescriptDocParam
|
|
426
|
|
427 if exists("main_syntax") && main_syntax == "typescript"
|
|
428 syntax sync clear
|
|
429 syntax sync ccomment typescriptComment minlines=200
|
|
430 endif
|
|
431
|
|
432 syntax case match
|
|
433
|
|
434 " Types
|
|
435 syntax match typescriptOptionalMark /?/ contained
|
|
436
|
|
437 syntax cluster typescriptTypeParameterCluster contains=
|
|
438 \ typescriptTypeParameter,
|
|
439 \ typescriptGenericDefault
|
|
440
|
|
441 syntax region typescriptTypeParameters matchgroup=typescriptTypeBrackets
|
|
442 \ start=/</ end=/>/
|
|
443 \ contains=@typescriptTypeParameterCluster
|
|
444 \ contained
|
|
445
|
|
446 syntax match typescriptTypeParameter /\K\k*/
|
|
447 \ nextgroup=typescriptConstraint
|
|
448 \ contained skipwhite skipnl
|
|
449
|
|
450 syntax keyword typescriptConstraint extends
|
|
451 \ nextgroup=@typescriptType
|
|
452 \ contained skipwhite skipnl
|
|
453
|
|
454 syntax match typescriptGenericDefault /=/
|
|
455 \ nextgroup=@typescriptType
|
|
456 \ contained skipwhite
|
|
457
|
|
458 "><
|
|
459 " class A extend B<T> {} // ClassBlock
|
|
460 " func<T>() // FuncCallArg
|
|
461 syntax region typescriptTypeArguments matchgroup=typescriptTypeBrackets
|
|
462 \ start=/\></ end=/>/
|
|
463 \ contains=@typescriptType
|
|
464 \ nextgroup=typescriptFuncCallArg,@typescriptTypeOperator
|
|
465 \ contained skipwhite
|
|
466
|
|
467
|
|
468 syntax cluster typescriptType contains=
|
|
469 \ @typescriptPrimaryType,
|
|
470 \ typescriptUnion,
|
|
471 \ @typescriptFunctionType,
|
|
472 \ typescriptConstructorType
|
|
473
|
|
474 " array type: A[]
|
|
475 " type indexing A['key']
|
|
476 syntax region typescriptTypeBracket contained
|
|
477 \ start=/\[/ end=/\]/
|
|
478 \ contains=typescriptString,typescriptNumber
|
|
479 \ nextgroup=@typescriptTypeOperator
|
|
480 \ skipwhite skipempty
|
|
481
|
|
482 syntax cluster typescriptPrimaryType contains=
|
|
483 \ typescriptParenthesizedType,
|
|
484 \ typescriptPredefinedType,
|
|
485 \ typescriptTypeReference,
|
|
486 \ typescriptObjectType,
|
|
487 \ typescriptTupleType,
|
|
488 \ typescriptTypeQuery,
|
|
489 \ typescriptStringLiteralType,
|
|
490 \ typescriptTemplateLiteralType,
|
|
491 \ typescriptReadonlyArrayKeyword,
|
|
492 \ typescriptAssertType
|
|
493
|
|
494 syntax region typescriptStringLiteralType contained
|
|
495 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1\|$/
|
|
496 \ nextgroup=typescriptUnion
|
|
497 \ skipwhite skipempty
|
|
498
|
|
499 syntax region typescriptTemplateLiteralType contained
|
|
500 \ start=/`/ skip=/\\\\\|\\`\|\n/ end=/`\|$/
|
|
501 \ contains=typescriptTemplateSubstitutionType
|
|
502 \ nextgroup=typescriptTypeOperator
|
|
503 \ skipwhite skipempty
|
|
504
|
|
505 syntax region typescriptTemplateSubstitutionType matchgroup=typescriptTemplateSB
|
|
506 \ start=/\${/ end=/}/
|
|
507 \ contains=@typescriptType
|
|
508 \ contained
|
|
509
|
|
510 syntax region typescriptParenthesizedType matchgroup=typescriptParens
|
|
511 \ start=/(/ end=/)/
|
|
512 \ contains=@typescriptType
|
|
513 \ nextgroup=@typescriptTypeOperator
|
|
514 \ contained skipwhite skipempty fold
|
|
515
|
|
516 syntax match typescriptTypeReference /\K\k*\(\.\K\k*\)*/
|
|
517 \ nextgroup=typescriptTypeArguments,@typescriptTypeOperator,typescriptUserDefinedType
|
|
518 \ skipwhite contained skipempty
|
|
519
|
|
520 syntax keyword typescriptPredefinedType any number boolean string void never undefined null object unknown
|
|
521 \ nextgroup=@typescriptTypeOperator
|
|
522 \ contained skipwhite skipempty
|
|
523
|
|
524 syntax match typescriptPredefinedType /unique symbol/
|
|
525 \ nextgroup=@typescriptTypeOperator
|
|
526 \ contained skipwhite skipempty
|
|
527
|
|
528 syntax region typescriptObjectType matchgroup=typescriptBraces
|
|
529 \ start=/{/ end=/}/
|
|
530 \ contains=@typescriptTypeMember,typescriptEndColons,@typescriptComments,typescriptAccessibilityModifier,typescriptReadonlyModifier
|
|
531 \ nextgroup=@typescriptTypeOperator
|
|
532 \ contained skipwhite skipnl fold
|
|
533
|
|
534 syntax cluster typescriptTypeMember contains=
|
|
535 \ @typescriptCallSignature,
|
|
536 \ typescriptConstructSignature,
|
|
537 \ typescriptIndexSignature,
|
|
538 \ @typescriptMembers
|
|
539
|
|
540 syntax match typescriptTupleLable /\K\k*?\?:/
|
|
541 \ contained
|
|
542
|
|
543 syntax region typescriptTupleType matchgroup=typescriptBraces
|
|
544 \ start=/\[/ end=/\]/
|
|
545 \ contains=@typescriptType,@typescriptComments,typescriptRestOrSpread,typescriptTupleLable
|
|
546 \ contained skipwhite
|
|
547
|
|
548 syntax cluster typescriptTypeOperator
|
|
549 \ contains=typescriptUnion,typescriptTypeBracket,typescriptConstraint,typescriptConditionalType
|
|
550
|
|
551 syntax match typescriptUnion /|\|&/ contained nextgroup=@typescriptPrimaryType skipwhite skipempty
|
|
552
|
|
553 syntax match typescriptConditionalType /?\|:/ contained nextgroup=@typescriptPrimaryType skipwhite skipempty
|
|
554
|
|
555 syntax cluster typescriptFunctionType contains=typescriptGenericFunc,typescriptFuncType
|
|
556 syntax region typescriptGenericFunc matchgroup=typescriptTypeBrackets
|
|
557 \ start=/</ end=/>/
|
|
558 \ contains=typescriptTypeParameter
|
|
559 \ nextgroup=typescriptFuncType
|
|
560 \ containedin=typescriptFunctionType
|
|
561 \ contained skipwhite skipnl
|
|
562
|
|
563 syntax region typescriptFuncType matchgroup=typescriptParens
|
726
|
564 \ start=/(\(\k\+:\|)\)\@=/ end=/)\s*=>/me=e-2
|
672
|
565 \ contains=@typescriptParameterList
|
|
566 \ nextgroup=typescriptFuncTypeArrow
|
|
567 \ contained skipwhite skipnl oneline
|
|
568
|
|
569 syntax match typescriptFuncTypeArrow /=>/
|
|
570 \ nextgroup=@typescriptType
|
|
571 \ containedin=typescriptFuncType
|
|
572 \ contained skipwhite skipnl
|
|
573
|
|
574 syntax keyword typescriptConstructorType new
|
|
575 \ nextgroup=@typescriptFunctionType
|
|
576 \ contained skipwhite skipnl
|
|
577
|
|
578 syntax keyword typescriptUserDefinedType is
|
|
579 \ contained nextgroup=@typescriptType skipwhite skipempty
|
|
580
|
|
581 syntax keyword typescriptTypeQuery typeof keyof
|
|
582 \ nextgroup=typescriptTypeReference
|
|
583 \ contained skipwhite skipnl
|
|
584
|
|
585 syntax keyword typescriptAssertType asserts
|
|
586 \ nextgroup=typescriptTypeReference
|
|
587 \ contained skipwhite skipnl
|
|
588
|
|
589 syntax cluster typescriptCallSignature contains=typescriptGenericCall,typescriptCall
|
|
590 syntax region typescriptGenericCall matchgroup=typescriptTypeBrackets
|
|
591 \ start=/</ end=/>/
|
|
592 \ contains=typescriptTypeParameter
|
|
593 \ nextgroup=typescriptCall
|
|
594 \ contained skipwhite skipnl
|
|
595 syntax region typescriptCall matchgroup=typescriptParens
|
|
596 \ start=/(/ end=/)/
|
|
597 \ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments
|
|
598 \ nextgroup=typescriptTypeAnnotation,typescriptBlock
|
|
599 \ contained skipwhite skipnl
|
|
600
|
|
601 syntax match typescriptTypeAnnotation /:/
|
|
602 \ nextgroup=@typescriptType
|
|
603 \ contained skipwhite skipnl
|
|
604
|
|
605 syntax cluster typescriptParameterList contains=
|
|
606 \ typescriptTypeAnnotation,
|
|
607 \ typescriptAccessibilityModifier,
|
|
608 \ typescriptReadonlyModifier,
|
|
609 \ typescriptOptionalMark,
|
|
610 \ typescriptRestOrSpread,
|
|
611 \ typescriptFuncComma,
|
|
612 \ typescriptDefaultParam
|
|
613
|
|
614 syntax match typescriptFuncComma /,/ contained
|
|
615
|
|
616 syntax match typescriptDefaultParam /=/
|
|
617 \ nextgroup=@typescriptValue
|
|
618 \ contained skipwhite
|
|
619
|
|
620 syntax keyword typescriptConstructSignature new
|
|
621 \ nextgroup=@typescriptCallSignature
|
|
622 \ contained skipwhite
|
|
623
|
|
624 syntax region typescriptIndexSignature matchgroup=typescriptBraces
|
|
625 \ start=/\[/ end=/\]/
|
|
626 \ contains=typescriptPredefinedType,typescriptMappedIn,typescriptString
|
|
627 \ nextgroup=typescriptTypeAnnotation
|
|
628 \ contained skipwhite oneline
|
|
629
|
|
630 syntax keyword typescriptMappedIn in
|
|
631 \ nextgroup=@typescriptType
|
|
632 \ contained skipwhite skipnl skipempty
|
|
633
|
|
634 syntax keyword typescriptAliasKeyword type
|
|
635 \ nextgroup=typescriptAliasDeclaration
|
|
636 \ skipwhite skipnl skipempty
|
|
637
|
|
638 syntax region typescriptAliasDeclaration matchgroup=typescriptUnion
|
|
639 \ start=/ / end=/=/
|
|
640 \ nextgroup=@typescriptType
|
|
641 \ contains=typescriptConstraint,typescriptTypeParameters
|
|
642 \ contained skipwhite skipempty
|
|
643
|
|
644 syntax keyword typescriptReadonlyArrayKeyword readonly
|
|
645 \ nextgroup=@typescriptPrimaryType
|
|
646 \ skipwhite
|
|
647
|
|
648
|
|
649 " extension
|
726
|
650 if get(g:, 'typescript_host_keyword', 1)
|
|
651 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean nextgroup=typescriptFuncCallArg
|
672
|
652 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError nextgroup=typescriptFuncCallArg
|
726
|
653 syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError nextgroup=typescriptFuncCallArg
|
|
654 syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError nextgroup=typescriptFuncCallArg
|
|
655 syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration nextgroup=typescriptFuncCallArg
|
|
656 syntax keyword typescriptGlobal containedin=typescriptIdentifierName SyntaxError TypeError nextgroup=typescriptFuncCallArg
|
|
657 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URIError Date nextgroup=typescriptFuncCallArg
|
|
658 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float32Array nextgroup=typescriptFuncCallArg
|
|
659 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float64Array nextgroup=typescriptFuncCallArg
|
|
660 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int16Array Int32Array nextgroup=typescriptFuncCallArg
|
|
661 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int8Array Uint16Array nextgroup=typescriptFuncCallArg
|
|
662 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint32Array Uint8Array nextgroup=typescriptFuncCallArg
|
|
663 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint8ClampedArray nextgroup=typescriptFuncCallArg
|
|
664 syntax keyword typescriptGlobal containedin=typescriptIdentifierName ParallelArray nextgroup=typescriptFuncCallArg
|
|
665 syntax keyword typescriptGlobal containedin=typescriptIdentifierName ArrayBuffer DataView nextgroup=typescriptFuncCallArg
|
|
666 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Iterator Generator nextgroup=typescriptFuncCallArg
|
|
667 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect Proxy nextgroup=typescriptFuncCallArg
|
672
|
668 syntax keyword typescriptGlobal containedin=typescriptIdentifierName arguments
|
|
669 hi def link typescriptGlobal Structure
|
|
670 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName eval uneval nextgroup=typescriptFuncCallArg
|
|
671 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isFinite nextgroup=typescriptFuncCallArg
|
|
672 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isNaN parseFloat nextgroup=typescriptFuncCallArg
|
|
673 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName parseInt nextgroup=typescriptFuncCallArg
|
|
674 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURI nextgroup=typescriptFuncCallArg
|
|
675 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decodeURIComponent nextgroup=typescriptFuncCallArg
|
|
676 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURI nextgroup=typescriptFuncCallArg
|
|
677 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURIComponent nextgroup=typescriptFuncCallArg
|
|
678 syntax cluster props add=typescriptGlobalMethod
|
|
679 hi def link typescriptGlobalMethod Structure
|
|
680
|
|
681 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Number nextgroup=typescriptGlobalNumberDot,typescriptFuncCallArg
|
|
682 syntax match typescriptGlobalNumberDot /\./ contained nextgroup=typescriptNumberStaticProp,typescriptNumberStaticMethod,typescriptProp
|
|
683 syntax keyword typescriptNumberStaticProp contained EPSILON MAX_SAFE_INTEGER MAX_VALUE
|
|
684 syntax keyword typescriptNumberStaticProp contained MIN_SAFE_INTEGER MIN_VALUE NEGATIVE_INFINITY
|
|
685 syntax keyword typescriptNumberStaticProp contained NaN POSITIVE_INFINITY
|
|
686 hi def link typescriptNumberStaticProp Keyword
|
|
687 syntax keyword typescriptNumberStaticMethod contained isFinite isInteger isNaN isSafeInteger nextgroup=typescriptFuncCallArg
|
|
688 syntax keyword typescriptNumberStaticMethod contained parseFloat parseInt nextgroup=typescriptFuncCallArg
|
|
689 hi def link typescriptNumberStaticMethod Keyword
|
|
690 syntax keyword typescriptNumberMethod contained toExponential toFixed toLocaleString nextgroup=typescriptFuncCallArg
|
|
691 syntax keyword typescriptNumberMethod contained toPrecision toSource toString valueOf nextgroup=typescriptFuncCallArg
|
|
692 syntax cluster props add=typescriptNumberMethod
|
|
693 hi def link typescriptNumberMethod Keyword
|
|
694
|
|
695 syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg
|
|
696 syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp
|
|
697 syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg
|
|
698 hi def link typescriptStringStaticMethod Keyword
|
|
699 syntax keyword typescriptStringMethod contained anchor charAt charCodeAt codePointAt nextgroup=typescriptFuncCallArg
|
|
700 syntax keyword typescriptStringMethod contained concat endsWith includes indexOf lastIndexOf nextgroup=typescriptFuncCallArg
|
726
|
701 syntax keyword typescriptStringMethod contained link localeCompare match matchAll normalize nextgroup=typescriptFuncCallArg
|
|
702 syntax keyword typescriptStringMethod contained padStart padEnd repeat replace replaceAll search nextgroup=typescriptFuncCallArg
|
672
|
703 syntax keyword typescriptStringMethod contained slice split startsWith substr substring nextgroup=typescriptFuncCallArg
|
|
704 syntax keyword typescriptStringMethod contained toLocaleLowerCase toLocaleUpperCase nextgroup=typescriptFuncCallArg
|
|
705 syntax keyword typescriptStringMethod contained toLowerCase toString toUpperCase trim nextgroup=typescriptFuncCallArg
|
726
|
706 syntax keyword typescriptStringMethod contained trimEnd trimStart valueOf nextgroup=typescriptFuncCallArg
|
672
|
707 syntax cluster props add=typescriptStringMethod
|
|
708 hi def link typescriptStringMethod Keyword
|
|
709
|
|
710 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
|
|
711 syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp
|
|
712 syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg
|
|
713 hi def link typescriptArrayStaticMethod Keyword
|
|
714 syntax keyword typescriptArrayMethod contained concat copyWithin entries every fill nextgroup=typescriptFuncCallArg
|
726
|
715 syntax keyword typescriptArrayMethod contained filter find findIndex flat flatMap forEach nextgroup=typescriptFuncCallArg
|
|
716 syntax keyword typescriptArrayMethod contained includes indexOf join keys lastIndexOf map nextgroup=typescriptFuncCallArg
|
672
|
717 syntax keyword typescriptArrayMethod contained pop push reduce reduceRight reverse nextgroup=typescriptFuncCallArg
|
|
718 syntax keyword typescriptArrayMethod contained shift slice some sort splice toLocaleString nextgroup=typescriptFuncCallArg
|
726
|
719 syntax keyword typescriptArrayMethod contained toSource toString unshift values nextgroup=typescriptFuncCallArg
|
672
|
720 syntax cluster props add=typescriptArrayMethod
|
|
721 hi def link typescriptArrayMethod Keyword
|
|
722
|
|
723 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg
|
|
724 syntax match typescriptGlobalObjectDot /\./ contained nextgroup=typescriptObjectStaticMethod,typescriptProp
|
|
725 syntax keyword typescriptObjectStaticMethod contained create defineProperties defineProperty nextgroup=typescriptFuncCallArg
|
726
|
726 syntax keyword typescriptObjectStaticMethod contained entries freeze fromEntries getOwnPropertyDescriptors nextgroup=typescriptFuncCallArg
|
672
|
727 syntax keyword typescriptObjectStaticMethod contained getOwnPropertyDescriptor getOwnPropertyNames nextgroup=typescriptFuncCallArg
|
|
728 syntax keyword typescriptObjectStaticMethod contained getOwnPropertySymbols getPrototypeOf nextgroup=typescriptFuncCallArg
|
|
729 syntax keyword typescriptObjectStaticMethod contained is isExtensible isFrozen isSealed nextgroup=typescriptFuncCallArg
|
|
730 syntax keyword typescriptObjectStaticMethod contained keys preventExtensions values nextgroup=typescriptFuncCallArg
|
|
731 hi def link typescriptObjectStaticMethod Keyword
|
|
732 syntax keyword typescriptObjectMethod contained getOwnPropertyDescriptors hasOwnProperty nextgroup=typescriptFuncCallArg
|
|
733 syntax keyword typescriptObjectMethod contained isPrototypeOf propertyIsEnumerable nextgroup=typescriptFuncCallArg
|
|
734 syntax keyword typescriptObjectMethod contained toLocaleString toString valueOf seal nextgroup=typescriptFuncCallArg
|
|
735 syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescriptFuncCallArg
|
|
736 syntax cluster props add=typescriptObjectMethod
|
|
737 hi def link typescriptObjectMethod Keyword
|
|
738
|
|
739 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg
|
|
740 syntax match typescriptGlobalSymbolDot /\./ contained nextgroup=typescriptSymbolStaticProp,typescriptSymbolStaticMethod,typescriptProp
|
726
|
741 syntax keyword typescriptSymbolStaticProp contained description length iterator match matchAll replace
|
672
|
742 syntax keyword typescriptSymbolStaticProp contained search split hasInstance isConcatSpreadable
|
|
743 syntax keyword typescriptSymbolStaticProp contained unscopables species toPrimitive
|
|
744 syntax keyword typescriptSymbolStaticProp contained toStringTag
|
|
745 hi def link typescriptSymbolStaticProp Keyword
|
|
746 syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg
|
|
747 hi def link typescriptSymbolStaticMethod Keyword
|
|
748
|
|
749 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function
|
|
750 syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg
|
|
751 syntax cluster props add=typescriptFunctionMethod
|
|
752 hi def link typescriptFunctionMethod Keyword
|
|
753
|
|
754 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg
|
|
755 syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp
|
|
756 syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2
|
|
757 syntax keyword typescriptMathStaticProp contained SQRT2
|
|
758 hi def link typescriptMathStaticProp Keyword
|
|
759 syntax keyword typescriptMathStaticMethod contained abs acos acosh asin asinh atan nextgroup=typescriptFuncCallArg
|
|
760 syntax keyword typescriptMathStaticMethod contained atan2 atanh cbrt ceil clz32 cos nextgroup=typescriptFuncCallArg
|
|
761 syntax keyword typescriptMathStaticMethod contained cosh exp expm1 floor fround hypot nextgroup=typescriptFuncCallArg
|
|
762 syntax keyword typescriptMathStaticMethod contained imul log log10 log1p log2 max nextgroup=typescriptFuncCallArg
|
|
763 syntax keyword typescriptMathStaticMethod contained min pow random round sign sin nextgroup=typescriptFuncCallArg
|
|
764 syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
|
|
765 hi def link typescriptMathStaticMethod Keyword
|
|
766
|
|
767 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg
|
|
768 syntax match typescriptGlobalDateDot /\./ contained nextgroup=typescriptDateStaticMethod,typescriptProp
|
|
769 syntax keyword typescriptDateStaticMethod contained UTC now parse nextgroup=typescriptFuncCallArg
|
|
770 hi def link typescriptDateStaticMethod Keyword
|
|
771 syntax keyword typescriptDateMethod contained getDate getDay getFullYear getHours nextgroup=typescriptFuncCallArg
|
|
772 syntax keyword typescriptDateMethod contained getMilliseconds getMinutes getMonth nextgroup=typescriptFuncCallArg
|
|
773 syntax keyword typescriptDateMethod contained getSeconds getTime getTimezoneOffset nextgroup=typescriptFuncCallArg
|
|
774 syntax keyword typescriptDateMethod contained getUTCDate getUTCDay getUTCFullYear nextgroup=typescriptFuncCallArg
|
|
775 syntax keyword typescriptDateMethod contained getUTCHours getUTCMilliseconds getUTCMinutes nextgroup=typescriptFuncCallArg
|
|
776 syntax keyword typescriptDateMethod contained getUTCMonth getUTCSeconds setDate setFullYear nextgroup=typescriptFuncCallArg
|
|
777 syntax keyword typescriptDateMethod contained setHours setMilliseconds setMinutes nextgroup=typescriptFuncCallArg
|
|
778 syntax keyword typescriptDateMethod contained setMonth setSeconds setTime setUTCDate nextgroup=typescriptFuncCallArg
|
|
779 syntax keyword typescriptDateMethod contained setUTCFullYear setUTCHours setUTCMilliseconds nextgroup=typescriptFuncCallArg
|
|
780 syntax keyword typescriptDateMethod contained setUTCMinutes setUTCMonth setUTCSeconds nextgroup=typescriptFuncCallArg
|
|
781 syntax keyword typescriptDateMethod contained toDateString toISOString toJSON toLocaleDateString nextgroup=typescriptFuncCallArg
|
|
782 syntax keyword typescriptDateMethod contained toLocaleFormat toLocaleString toLocaleTimeString nextgroup=typescriptFuncCallArg
|
|
783 syntax keyword typescriptDateMethod contained toSource toString toTimeString toUTCString nextgroup=typescriptFuncCallArg
|
|
784 syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCallArg
|
|
785 syntax cluster props add=typescriptDateMethod
|
|
786 hi def link typescriptDateMethod Keyword
|
|
787
|
|
788 syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
|
|
789 syntax match typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp
|
|
790 syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg
|
|
791 hi def link typescriptJSONStaticMethod Keyword
|
|
792
|
|
793 syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
|
|
794 syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp
|
|
795 syntax keyword typescriptRegExpStaticProp contained lastIndex
|
|
796 hi def link typescriptRegExpStaticProp Keyword
|
726
|
797 syntax keyword typescriptRegExpProp contained dotAll global ignoreCase multiline source sticky
|
672
|
798 syntax cluster props add=typescriptRegExpProp
|
|
799 hi def link typescriptRegExpProp Keyword
|
|
800 syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFuncCallArg
|
|
801 syntax cluster props add=typescriptRegExpMethod
|
|
802 hi def link typescriptRegExpMethod Keyword
|
|
803
|
|
804 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
|
|
805 syntax keyword typescriptES6MapProp contained size
|
|
806 syntax cluster props add=typescriptES6MapProp
|
|
807 hi def link typescriptES6MapProp Keyword
|
|
808 syntax keyword typescriptES6MapMethod contained clear delete entries forEach get has nextgroup=typescriptFuncCallArg
|
|
809 syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typescriptFuncCallArg
|
|
810 syntax cluster props add=typescriptES6MapMethod
|
|
811 hi def link typescriptES6MapMethod Keyword
|
|
812
|
|
813 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
|
|
814 syntax keyword typescriptES6SetProp contained size
|
|
815 syntax cluster props add=typescriptES6SetProp
|
|
816 hi def link typescriptES6SetProp Keyword
|
|
817 syntax keyword typescriptES6SetMethod contained add clear delete entries forEach has nextgroup=typescriptFuncCallArg
|
|
818 syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncCallArg
|
|
819 syntax cluster props add=typescriptES6SetMethod
|
|
820 hi def link typescriptES6SetMethod Keyword
|
|
821
|
|
822 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Proxy
|
|
823 syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPropertyNames
|
|
824 syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal
|
|
825 syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set enumerate
|
|
826 syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct
|
|
827 hi def link typescriptProxyAPI Keyword
|
|
828
|
|
829 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg
|
|
830 syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp
|
726
|
831 syntax keyword typescriptPromiseStaticMethod contained all allSettled any race reject resolve nextgroup=typescriptFuncCallArg
|
672
|
832 hi def link typescriptPromiseStaticMethod Keyword
|
|
833 syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=typescriptFuncCallArg
|
|
834 syntax cluster props add=typescriptPromiseMethod
|
|
835 hi def link typescriptPromiseMethod Keyword
|
|
836
|
|
837 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect
|
|
838 syntax keyword typescriptReflectMethod contained apply construct defineProperty deleteProperty nextgroup=typescriptFuncCallArg
|
|
839 syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDescriptor nextgroup=typescriptFuncCallArg
|
|
840 syntax keyword typescriptReflectMethod contained getPrototypeOf has isExtensible ownKeys nextgroup=typescriptFuncCallArg
|
|
841 syntax keyword typescriptReflectMethod contained preventExtensions set setPrototypeOf nextgroup=typescriptFuncCallArg
|
|
842 syntax cluster props add=typescriptReflectMethod
|
|
843 hi def link typescriptReflectMethod Keyword
|
|
844
|
|
845 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl
|
|
846 syntax keyword typescriptIntlMethod contained Collator DateTimeFormat NumberFormat nextgroup=typescriptFuncCallArg
|
|
847 syntax keyword typescriptIntlMethod contained PluralRules nextgroup=typescriptFuncCallArg
|
|
848 syntax cluster props add=typescriptIntlMethod
|
|
849 hi def link typescriptIntlMethod Keyword
|
|
850
|
|
851 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName global process
|
|
852 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName console Buffer
|
|
853 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName module exports
|
|
854 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setTimeout
|
|
855 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearTimeout
|
|
856 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInterval
|
|
857 syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
|
|
858 hi def link typescriptNodeGlobal Structure
|
|
859
|
|
860 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe
|
|
861 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName it test before
|
|
862 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName after beforeEach
|
|
863 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterEach
|
|
864 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName beforeAll
|
|
865 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName afterAll
|
|
866 syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName expect assert
|
|
867
|
|
868 syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
|
|
869 syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode
|
|
870 syntax keyword typescriptBOM containedin=typescriptIdentifierName App Apps ArrayBuffer
|
|
871 syntax keyword typescriptBOM containedin=typescriptIdentifierName ArrayBufferView
|
|
872 syntax keyword typescriptBOM containedin=typescriptIdentifierName Attr AudioBuffer
|
|
873 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioBufferSourceNode
|
|
874 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioContext AudioDestinationNode
|
|
875 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioListener AudioNode
|
|
876 syntax keyword typescriptBOM containedin=typescriptIdentifierName AudioParam BatteryManager
|
|
877 syntax keyword typescriptBOM containedin=typescriptIdentifierName BiquadFilterNode
|
|
878 syntax keyword typescriptBOM containedin=typescriptIdentifierName BlobEvent BluetoothAdapter
|
|
879 syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothDevice
|
|
880 syntax keyword typescriptBOM containedin=typescriptIdentifierName BluetoothManager
|
|
881 syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraCapabilities
|
|
882 syntax keyword typescriptBOM containedin=typescriptIdentifierName CameraControl CameraManager
|
|
883 syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasGradient CanvasImageSource
|
|
884 syntax keyword typescriptBOM containedin=typescriptIdentifierName CanvasPattern CanvasRenderingContext2D
|
|
885 syntax keyword typescriptBOM containedin=typescriptIdentifierName CaretPosition CDATASection
|
|
886 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelMergerNode
|
|
887 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChannelSplitterNode
|
|
888 syntax keyword typescriptBOM containedin=typescriptIdentifierName CharacterData ChildNode
|
|
889 syntax keyword typescriptBOM containedin=typescriptIdentifierName ChromeWorker Comment
|
|
890 syntax keyword typescriptBOM containedin=typescriptIdentifierName Connection Console
|
|
891 syntax keyword typescriptBOM containedin=typescriptIdentifierName ContactManager Contacts
|
|
892 syntax keyword typescriptBOM containedin=typescriptIdentifierName ConvolverNode Coordinates
|
|
893 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSS CSSConditionRule
|
|
894 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSGroupingRule
|
|
895 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframeRule
|
|
896 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSKeyframesRule
|
|
897 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSMediaRule CSSNamespaceRule
|
|
898 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSPageRule CSSRule
|
|
899 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSRuleList CSSStyleDeclaration
|
|
900 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSStyleRule CSSStyleSheet
|
|
901 syntax keyword typescriptBOM containedin=typescriptIdentifierName CSSSupportsRule
|
|
902 syntax keyword typescriptBOM containedin=typescriptIdentifierName DataTransfer DataView
|
|
903 syntax keyword typescriptBOM containedin=typescriptIdentifierName DedicatedWorkerGlobalScope
|
|
904 syntax keyword typescriptBOM containedin=typescriptIdentifierName DelayNode DeviceAcceleration
|
|
905 syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceRotationRate
|
|
906 syntax keyword typescriptBOM containedin=typescriptIdentifierName DeviceStorage DirectoryEntry
|
|
907 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryEntrySync
|
|
908 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReader
|
|
909 syntax keyword typescriptBOM containedin=typescriptIdentifierName DirectoryReaderSync
|
|
910 syntax keyword typescriptBOM containedin=typescriptIdentifierName Document DocumentFragment
|
|
911 syntax keyword typescriptBOM containedin=typescriptIdentifierName DocumentTouch DocumentType
|
|
912 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMCursor DOMError
|
|
913 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMException DOMHighResTimeStamp
|
|
914 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementation
|
|
915 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMImplementationRegistry
|
|
916 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMParser DOMRequest
|
|
917 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMString DOMStringList
|
|
918 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMStringMap DOMTimeStamp
|
|
919 syntax keyword typescriptBOM containedin=typescriptIdentifierName DOMTokenList DynamicsCompressorNode
|
|
920 syntax keyword typescriptBOM containedin=typescriptIdentifierName Element Entry EntrySync
|
|
921 syntax keyword typescriptBOM containedin=typescriptIdentifierName Extensions FileException
|
|
922 syntax keyword typescriptBOM containedin=typescriptIdentifierName Float32Array Float64Array
|
|
923 syntax keyword typescriptBOM containedin=typescriptIdentifierName FMRadio FormData
|
|
924 syntax keyword typescriptBOM containedin=typescriptIdentifierName GainNode Gamepad
|
|
925 syntax keyword typescriptBOM containedin=typescriptIdentifierName GamepadButton Geolocation
|
|
926 syntax keyword typescriptBOM containedin=typescriptIdentifierName History HTMLAnchorElement
|
|
927 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAreaElement
|
|
928 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLAudioElement
|
|
929 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBaseElement
|
|
930 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBodyElement
|
|
931 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLBRElement HTMLButtonElement
|
|
932 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCanvasElement
|
|
933 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLCollection HTMLDataElement
|
|
934 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDataListElement
|
|
935 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDivElement HTMLDListElement
|
|
936 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLDocument HTMLElement
|
|
937 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLEmbedElement
|
|
938 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFieldSetElement
|
|
939 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormControlsCollection
|
|
940 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLFormElement
|
|
941 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadElement
|
|
942 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHeadingElement
|
|
943 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLHRElement HTMLHtmlElement
|
|
944 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLIFrameElement
|
|
945 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLImageElement
|
|
946 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLInputElement
|
|
947 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLKeygenElement
|
|
948 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLabelElement
|
|
949 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLegendElement
|
|
950 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLLIElement HTMLLinkElement
|
|
951 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMapElement HTMLMediaElement
|
|
952 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMetaElement
|
|
953 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLMeterElement
|
|
954 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLModElement HTMLObjectElement
|
|
955 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOListElement
|
|
956 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptGroupElement
|
|
957 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionElement
|
|
958 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOptionsCollection
|
|
959 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLOutputElement
|
|
960 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParagraphElement
|
|
961 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLParamElement
|
|
962 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLPreElement HTMLProgressElement
|
|
963 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLQuoteElement
|
|
964 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLScriptElement
|
|
965 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSelectElement
|
|
966 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSourceElement
|
|
967 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLSpanElement
|
|
968 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLStyleElement
|
|
969 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCaptionElement
|
|
970 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableCellElement
|
|
971 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableColElement
|
|
972 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableDataCellElement
|
|
973 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableElement
|
|
974 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableHeaderCellElement
|
|
975 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableRowElement
|
|
976 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTableSectionElement
|
|
977 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTextAreaElement
|
|
978 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTimeElement
|
|
979 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTitleElement
|
|
980 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLTrackElement
|
|
981 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUListElement
|
|
982 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLUnknownElement
|
|
983 syntax keyword typescriptBOM containedin=typescriptIdentifierName HTMLVideoElement
|
|
984 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursor IDBCursorSync
|
|
985 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBCursorWithValue
|
|
986 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBDatabase IDBDatabaseSync
|
|
987 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBEnvironment IDBEnvironmentSync
|
|
988 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBFactory IDBFactorySync
|
|
989 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBIndex IDBIndexSync
|
|
990 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBKeyRange IDBObjectStore
|
|
991 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBObjectStoreSync
|
|
992 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBOpenDBRequest
|
|
993 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBRequest IDBTransaction
|
|
994 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBTransactionSync
|
|
995 syntax keyword typescriptBOM containedin=typescriptIdentifierName IDBVersionChangeEvent
|
|
996 syntax keyword typescriptBOM containedin=typescriptIdentifierName ImageData IndexedDB
|
|
997 syntax keyword typescriptBOM containedin=typescriptIdentifierName Int16Array Int32Array
|
|
998 syntax keyword typescriptBOM containedin=typescriptIdentifierName Int8Array L10n LinkStyle
|
|
999 syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystem
|
|
1000 syntax keyword typescriptBOM containedin=typescriptIdentifierName LocalFileSystemSync
|
|
1001 syntax keyword typescriptBOM containedin=typescriptIdentifierName Location LockedFile
|
|
1002 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaQueryList MediaQueryListListener
|
|
1003 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaRecorder MediaSource
|
|
1004 syntax keyword typescriptBOM containedin=typescriptIdentifierName MediaStream MediaStreamTrack
|
|
1005 syntax keyword typescriptBOM containedin=typescriptIdentifierName MutationObserver
|
|
1006 syntax keyword typescriptBOM containedin=typescriptIdentifierName Navigator NavigatorGeolocation
|
|
1007 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorID NavigatorLanguage
|
|
1008 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorOnLine
|
|
1009 syntax keyword typescriptBOM containedin=typescriptIdentifierName NavigatorPlugins
|
|
1010 syntax keyword typescriptBOM containedin=typescriptIdentifierName Node NodeFilter
|
|
1011 syntax keyword typescriptBOM containedin=typescriptIdentifierName NodeIterator NodeList
|
|
1012 syntax keyword typescriptBOM containedin=typescriptIdentifierName Notification OfflineAudioContext
|
|
1013 syntax keyword typescriptBOM containedin=typescriptIdentifierName OscillatorNode PannerNode
|
|
1014 syntax keyword typescriptBOM containedin=typescriptIdentifierName ParentNode Performance
|
|
1015 syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceNavigation
|
|
1016 syntax keyword typescriptBOM containedin=typescriptIdentifierName PerformanceTiming
|
|
1017 syntax keyword typescriptBOM containedin=typescriptIdentifierName Permissions PermissionSettings
|
|
1018 syntax keyword typescriptBOM containedin=typescriptIdentifierName Plugin PluginArray
|
|
1019 syntax keyword typescriptBOM containedin=typescriptIdentifierName Position PositionError
|
|
1020 syntax keyword typescriptBOM containedin=typescriptIdentifierName PositionOptions
|
|
1021 syntax keyword typescriptBOM containedin=typescriptIdentifierName PowerManager ProcessingInstruction
|
|
1022 syntax keyword typescriptBOM containedin=typescriptIdentifierName PromiseResolver
|
|
1023 syntax keyword typescriptBOM containedin=typescriptIdentifierName PushManager Range
|
|
1024 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCConfiguration
|
|
1025 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnection
|
|
1026 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCPeerConnectionErrorCallback
|
|
1027 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescription
|
|
1028 syntax keyword typescriptBOM containedin=typescriptIdentifierName RTCSessionDescriptionCallback
|
|
1029 syntax keyword typescriptBOM containedin=typescriptIdentifierName ScriptProcessorNode
|
|
1030 syntax keyword typescriptBOM containedin=typescriptIdentifierName Selection SettingsLock
|
|
1031 syntax keyword typescriptBOM containedin=typescriptIdentifierName SettingsManager
|
|
1032 syntax keyword typescriptBOM containedin=typescriptIdentifierName SharedWorker StyleSheet
|
|
1033 syntax keyword typescriptBOM containedin=typescriptIdentifierName StyleSheetList SVGAElement
|
|
1034 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAngle SVGAnimateColorElement
|
|
1035 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedAngle
|
|
1036 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedBoolean
|
|
1037 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedEnumeration
|
|
1038 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedInteger
|
|
1039 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLength
|
|
1040 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedLengthList
|
|
1041 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumber
|
|
1042 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedNumberList
|
|
1043 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPoints
|
|
1044 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedPreserveAspectRatio
|
|
1045 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedRect
|
|
1046 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedString
|
|
1047 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimatedTransformList
|
|
1048 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateElement
|
|
1049 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateMotionElement
|
|
1050 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimateTransformElement
|
|
1051 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGAnimationElement
|
|
1052 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCircleElement
|
|
1053 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGClipPathElement
|
|
1054 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGCursorElement
|
|
1055 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGDefsElement SVGDescElement
|
|
1056 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGElement SVGEllipseElement
|
|
1057 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFilterElement
|
|
1058 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontElement SVGFontFaceElement
|
|
1059 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceFormatElement
|
|
1060 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceNameElement
|
|
1061 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceSrcElement
|
|
1062 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGFontFaceUriElement
|
|
1063 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGForeignObjectElement
|
|
1064 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGElement SVGGlyphElement
|
|
1065 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGGradientElement
|
|
1066 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGHKernElement
|
|
1067 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGImageElement
|
|
1068 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLength SVGLengthList
|
|
1069 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLinearGradientElement
|
|
1070 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGLineElement SVGMaskElement
|
|
1071 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMatrix SVGMissingGlyphElement
|
|
1072 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGMPathElement
|
|
1073 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGNumber SVGNumberList
|
|
1074 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPathElement SVGPatternElement
|
|
1075 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPoint SVGPolygonElement
|
|
1076 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPolylineElement
|
|
1077 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGPreserveAspectRatio
|
|
1078 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRadialGradientElement
|
|
1079 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGRect SVGRectElement
|
|
1080 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGScriptElement
|
|
1081 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSetElement SVGStopElement
|
|
1082 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStringList SVGStylable
|
|
1083 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGStyleElement
|
|
1084 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSVGElement SVGSwitchElement
|
|
1085 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGSymbolElement
|
|
1086 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTests SVGTextElement
|
|
1087 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTextPositioningElement
|
|
1088 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTitleElement
|
|
1089 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransform SVGTransformable
|
|
1090 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTransformList
|
|
1091 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGTRefElement SVGTSpanElement
|
|
1092 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGUseElement SVGViewElement
|
|
1093 syntax keyword typescriptBOM containedin=typescriptIdentifierName SVGVKernElement
|
|
1094 syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPServerSocket
|
|
1095 syntax keyword typescriptBOM containedin=typescriptIdentifierName TCPSocket Telephony
|
|
1096 syntax keyword typescriptBOM containedin=typescriptIdentifierName TelephonyCall Text
|
|
1097 syntax keyword typescriptBOM containedin=typescriptIdentifierName TextDecoder TextEncoder
|
|
1098 syntax keyword typescriptBOM containedin=typescriptIdentifierName TextMetrics TimeRanges
|
|
1099 syntax keyword typescriptBOM containedin=typescriptIdentifierName Touch TouchList
|
|
1100 syntax keyword typescriptBOM containedin=typescriptIdentifierName Transferable TreeWalker
|
|
1101 syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint16Array Uint32Array
|
|
1102 syntax keyword typescriptBOM containedin=typescriptIdentifierName Uint8Array Uint8ClampedArray
|
|
1103 syntax keyword typescriptBOM containedin=typescriptIdentifierName URLSearchParams
|
|
1104 syntax keyword typescriptBOM containedin=typescriptIdentifierName URLUtilsReadOnly
|
|
1105 syntax keyword typescriptBOM containedin=typescriptIdentifierName UserProximityEvent
|
|
1106 syntax keyword typescriptBOM containedin=typescriptIdentifierName ValidityState VideoPlaybackQuality
|
|
1107 syntax keyword typescriptBOM containedin=typescriptIdentifierName WaveShaperNode WebBluetooth
|
|
1108 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebGLRenderingContext
|
|
1109 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebSMS WebSocket
|
|
1110 syntax keyword typescriptBOM containedin=typescriptIdentifierName WebVTT WifiManager
|
|
1111 syntax keyword typescriptBOM containedin=typescriptIdentifierName Window Worker WorkerConsole
|
|
1112 syntax keyword typescriptBOM containedin=typescriptIdentifierName WorkerLocation WorkerNavigator
|
|
1113 syntax keyword typescriptBOM containedin=typescriptIdentifierName XDomainRequest XMLDocument
|
|
1114 syntax keyword typescriptBOM containedin=typescriptIdentifierName XMLHttpRequestEventTarget
|
|
1115 hi def link typescriptBOM Structure
|
|
1116
|
|
1117 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache
|
|
1118 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName closed
|
|
1119 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName Components
|
|
1120 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName controllers
|
|
1121 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName dialogArguments
|
|
1122 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName document
|
|
1123 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frameElement
|
|
1124 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName frames
|
|
1125 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName fullScreen
|
|
1126 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName history
|
|
1127 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerHeight
|
|
1128 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName innerWidth
|
|
1129 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName length
|
|
1130 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName location
|
|
1131 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName locationbar
|
|
1132 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName menubar
|
|
1133 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName messageManager
|
|
1134 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName name navigator
|
|
1135 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName opener
|
|
1136 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerHeight
|
|
1137 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName outerWidth
|
|
1138 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageXOffset
|
|
1139 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName pageYOffset
|
|
1140 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName parent
|
|
1141 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName performance
|
|
1142 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName personalbar
|
|
1143 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName returnValue
|
|
1144 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screen
|
|
1145 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenX
|
|
1146 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName screenY
|
|
1147 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollbars
|
|
1148 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxX
|
|
1149 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollMaxY
|
|
1150 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollX
|
|
1151 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName scrollY
|
|
1152 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName self sidebar
|
|
1153 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName status
|
|
1154 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName statusbar
|
|
1155 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName toolbar
|
|
1156 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName top visualViewport
|
|
1157 syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName window
|
|
1158 syntax cluster props add=typescriptBOMWindowProp
|
|
1159 hi def link typescriptBOMWindowProp Structure
|
|
1160 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName alert nextgroup=typescriptFuncCallArg
|
|
1161 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName atob nextgroup=typescriptFuncCallArg
|
|
1162 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName blur nextgroup=typescriptFuncCallArg
|
|
1163 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName btoa nextgroup=typescriptFuncCallArg
|
|
1164 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearImmediate nextgroup=typescriptFuncCallArg
|
|
1165 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearInterval nextgroup=typescriptFuncCallArg
|
|
1166 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName clearTimeout nextgroup=typescriptFuncCallArg
|
|
1167 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName close nextgroup=typescriptFuncCallArg
|
|
1168 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName confirm nextgroup=typescriptFuncCallArg
|
|
1169 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName dispatchEvent nextgroup=typescriptFuncCallArg
|
|
1170 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName find nextgroup=typescriptFuncCallArg
|
|
1171 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName focus nextgroup=typescriptFuncCallArg
|
|
1172 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttention nextgroup=typescriptFuncCallArg
|
|
1173 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getAttentionWithCycleCount nextgroup=typescriptFuncCallArg
|
|
1174 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getComputedStyle nextgroup=typescriptFuncCallArg
|
|
1175 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getDefaulComputedStyle nextgroup=typescriptFuncCallArg
|
|
1176 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName getSelection nextgroup=typescriptFuncCallArg
|
|
1177 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName matchMedia nextgroup=typescriptFuncCallArg
|
|
1178 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName maximize nextgroup=typescriptFuncCallArg
|
|
1179 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveBy nextgroup=typescriptFuncCallArg
|
|
1180 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName moveTo nextgroup=typescriptFuncCallArg
|
|
1181 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName open nextgroup=typescriptFuncCallArg
|
|
1182 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName openDialog nextgroup=typescriptFuncCallArg
|
|
1183 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName postMessage nextgroup=typescriptFuncCallArg
|
|
1184 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName print nextgroup=typescriptFuncCallArg
|
|
1185 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName prompt nextgroup=typescriptFuncCallArg
|
|
1186 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName removeEventListener nextgroup=typescriptFuncCallArg
|
|
1187 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeBy nextgroup=typescriptFuncCallArg
|
|
1188 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName resizeTo nextgroup=typescriptFuncCallArg
|
|
1189 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName restore nextgroup=typescriptFuncCallArg
|
|
1190 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scroll nextgroup=typescriptFuncCallArg
|
|
1191 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollBy nextgroup=typescriptFuncCallArg
|
|
1192 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByLines nextgroup=typescriptFuncCallArg
|
|
1193 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollByPages nextgroup=typescriptFuncCallArg
|
|
1194 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName scrollTo nextgroup=typescriptFuncCallArg
|
|
1195 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setCursor nextgroup=typescriptFuncCallArg
|
|
1196 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setImmediate nextgroup=typescriptFuncCallArg
|
|
1197 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setInterval nextgroup=typescriptFuncCallArg
|
|
1198 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setResizable nextgroup=typescriptFuncCallArg
|
|
1199 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName setTimeout nextgroup=typescriptFuncCallArg
|
|
1200 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName showModalDialog nextgroup=typescriptFuncCallArg
|
|
1201 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName sizeToContent nextgroup=typescriptFuncCallArg
|
|
1202 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName stop nextgroup=typescriptFuncCallArg
|
|
1203 syntax keyword typescriptBOMWindowMethod containedin=typescriptIdentifierName updateCommands nextgroup=typescriptFuncCallArg
|
|
1204 syntax cluster props add=typescriptBOMWindowMethod
|
|
1205 hi def link typescriptBOMWindowMethod Structure
|
|
1206 syntax keyword typescriptBOMWindowEvent contained onabort onbeforeunload onblur onchange
|
|
1207 syntax keyword typescriptBOMWindowEvent contained onclick onclose oncontextmenu ondevicelight
|
|
1208 syntax keyword typescriptBOMWindowEvent contained ondevicemotion ondeviceorientation
|
|
1209 syntax keyword typescriptBOMWindowEvent contained ondeviceproximity ondragdrop onerror
|
|
1210 syntax keyword typescriptBOMWindowEvent contained onfocus onhashchange onkeydown onkeypress
|
|
1211 syntax keyword typescriptBOMWindowEvent contained onkeyup onload onmousedown onmousemove
|
|
1212 syntax keyword typescriptBOMWindowEvent contained onmouseout onmouseover onmouseup
|
|
1213 syntax keyword typescriptBOMWindowEvent contained onmozbeforepaint onpaint onpopstate
|
|
1214 syntax keyword typescriptBOMWindowEvent contained onreset onresize onscroll onselect
|
|
1215 syntax keyword typescriptBOMWindowEvent contained onsubmit onunload onuserproximity
|
|
1216 syntax keyword typescriptBOMWindowEvent contained onpageshow onpagehide
|
|
1217 hi def link typescriptBOMWindowEvent Keyword
|
|
1218 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName DOMParser
|
|
1219 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName QueryInterface
|
|
1220 syntax keyword typescriptBOMWindowCons containedin=typescriptIdentifierName XMLSerializer
|
|
1221 hi def link typescriptBOMWindowCons Structure
|
|
1222
|
|
1223 syntax keyword typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled
|
|
1224 syntax keyword typescriptBOMNavigatorProp contained doNotTrack maxTouchPoints oscpu
|
|
1225 syntax keyword typescriptBOMNavigatorProp contained productSub push serviceWorker
|
|
1226 syntax keyword typescriptBOMNavigatorProp contained vendor vendorSub
|
|
1227 syntax cluster props add=typescriptBOMNavigatorProp
|
|
1228 hi def link typescriptBOMNavigatorProp Keyword
|
|
1229 syntax keyword typescriptBOMNavigatorMethod contained addIdleObserver geolocation nextgroup=typescriptFuncCallArg
|
|
1230 syntax keyword typescriptBOMNavigatorMethod contained getDeviceStorage getDeviceStorages nextgroup=typescriptFuncCallArg
|
|
1231 syntax keyword typescriptBOMNavigatorMethod contained getGamepads getUserMedia registerContentHandler nextgroup=typescriptFuncCallArg
|
|
1232 syntax keyword typescriptBOMNavigatorMethod contained removeIdleObserver requestWakeLock nextgroup=typescriptFuncCallArg
|
|
1233 syntax keyword typescriptBOMNavigatorMethod contained share vibrate watch registerProtocolHandler nextgroup=typescriptFuncCallArg
|
|
1234 syntax keyword typescriptBOMNavigatorMethod contained sendBeacon nextgroup=typescriptFuncCallArg
|
|
1235 syntax cluster props add=typescriptBOMNavigatorMethod
|
|
1236 hi def link typescriptBOMNavigatorMethod Keyword
|
|
1237 syntax keyword typescriptServiceWorkerMethod contained register nextgroup=typescriptFuncCallArg
|
|
1238 syntax cluster props add=typescriptServiceWorkerMethod
|
|
1239 hi def link typescriptServiceWorkerMethod Keyword
|
|
1240
|
|
1241 syntax keyword typescriptBOMLocationProp contained href protocol host hostname port
|
|
1242 syntax keyword typescriptBOMLocationProp contained pathname search hash username password
|
|
1243 syntax keyword typescriptBOMLocationProp contained origin
|
|
1244 syntax cluster props add=typescriptBOMLocationProp
|
|
1245 hi def link typescriptBOMLocationProp Keyword
|
|
1246 syntax keyword typescriptBOMLocationMethod contained assign reload replace toString nextgroup=typescriptFuncCallArg
|
|
1247 syntax cluster props add=typescriptBOMLocationMethod
|
|
1248 hi def link typescriptBOMLocationMethod Keyword
|
|
1249
|
|
1250 syntax keyword typescriptBOMHistoryProp contained length current next previous state
|
|
1251 syntax keyword typescriptBOMHistoryProp contained scrollRestoration
|
|
1252 syntax cluster props add=typescriptBOMHistoryProp
|
|
1253 hi def link typescriptBOMHistoryProp Keyword
|
|
1254 syntax keyword typescriptBOMHistoryMethod contained back forward go pushState replaceState nextgroup=typescriptFuncCallArg
|
|
1255 syntax cluster props add=typescriptBOMHistoryMethod
|
|
1256 hi def link typescriptBOMHistoryMethod Keyword
|
|
1257
|
726
|
1258 syntax keyword typescriptGlobal containedin=typescriptIdentifierName console nextgroup=typescriptGlobalConsoleDot
|
|
1259 syntax match typescriptGlobalConsoleDot /\./ contained nextgroup=typescriptConsoleMethod,typescriptProp
|
672
|
1260 syntax keyword typescriptConsoleMethod contained count dir error group groupCollapsed nextgroup=typescriptFuncCallArg
|
|
1261 syntax keyword typescriptConsoleMethod contained groupEnd info log time timeEnd trace nextgroup=typescriptFuncCallArg
|
|
1262 syntax keyword typescriptConsoleMethod contained warn nextgroup=typescriptFuncCallArg
|
|
1263 syntax cluster props add=typescriptConsoleMethod
|
|
1264 hi def link typescriptConsoleMethod Keyword
|
|
1265
|
|
1266 syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
|
|
1267 hi def link typescriptXHRGlobal Structure
|
|
1268 syntax keyword typescriptXHRProp contained onreadystatechange readyState response
|
|
1269 syntax keyword typescriptXHRProp contained responseText responseType responseXML status
|
|
1270 syntax keyword typescriptXHRProp contained statusText timeout ontimeout upload withCredentials
|
|
1271 syntax cluster props add=typescriptXHRProp
|
|
1272 hi def link typescriptXHRProp Keyword
|
|
1273 syntax keyword typescriptXHRMethod contained abort getAllResponseHeaders getResponseHeader nextgroup=typescriptFuncCallArg
|
|
1274 syntax keyword typescriptXHRMethod contained open overrideMimeType send setRequestHeader nextgroup=typescriptFuncCallArg
|
|
1275 syntax cluster props add=typescriptXHRMethod
|
|
1276 hi def link typescriptXHRMethod Keyword
|
|
1277
|
|
1278 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder
|
|
1279 syntax keyword typescriptGlobal containedin=typescriptIdentifierName File FileReader
|
|
1280 syntax keyword typescriptGlobal containedin=typescriptIdentifierName FileReaderSync
|
|
1281 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URL nextgroup=typescriptGlobalURLDot,typescriptFuncCallArg
|
|
1282 syntax match typescriptGlobalURLDot /\./ contained nextgroup=typescriptURLStaticMethod,typescriptProp
|
|
1283 syntax keyword typescriptGlobal containedin=typescriptIdentifierName URLUtils
|
|
1284 syntax keyword typescriptFileMethod contained readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
|
|
1285 syntax keyword typescriptFileMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
|
|
1286 syntax cluster props add=typescriptFileMethod
|
|
1287 hi def link typescriptFileMethod Keyword
|
|
1288 syntax keyword typescriptFileReaderProp contained error readyState result
|
|
1289 syntax cluster props add=typescriptFileReaderProp
|
|
1290 hi def link typescriptFileReaderProp Keyword
|
|
1291 syntax keyword typescriptFileReaderMethod contained abort readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
|
|
1292 syntax keyword typescriptFileReaderMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
|
|
1293 syntax cluster props add=typescriptFileReaderMethod
|
|
1294 hi def link typescriptFileReaderMethod Keyword
|
|
1295 syntax keyword typescriptFileListMethod contained item nextgroup=typescriptFuncCallArg
|
|
1296 syntax cluster props add=typescriptFileListMethod
|
|
1297 hi def link typescriptFileListMethod Keyword
|
|
1298 syntax keyword typescriptBlobMethod contained append getBlob getFile nextgroup=typescriptFuncCallArg
|
|
1299 syntax cluster props add=typescriptBlobMethod
|
|
1300 hi def link typescriptBlobMethod Keyword
|
|
1301 syntax keyword typescriptURLUtilsProp contained hash host hostname href origin password
|
|
1302 syntax keyword typescriptURLUtilsProp contained pathname port protocol search searchParams
|
|
1303 syntax keyword typescriptURLUtilsProp contained username
|
|
1304 syntax cluster props add=typescriptURLUtilsProp
|
|
1305 hi def link typescriptURLUtilsProp Keyword
|
|
1306 syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg
|
|
1307 hi def link typescriptURLStaticMethod Keyword
|
|
1308
|
|
1309 syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
|
|
1310 hi def link typescriptCryptoGlobal Structure
|
|
1311 syntax keyword typescriptSubtleCryptoMethod contained encrypt decrypt sign verify nextgroup=typescriptFuncCallArg
|
|
1312 syntax keyword typescriptSubtleCryptoMethod contained digest nextgroup=typescriptFuncCallArg
|
|
1313 syntax cluster props add=typescriptSubtleCryptoMethod
|
|
1314 hi def link typescriptSubtleCryptoMethod Keyword
|
|
1315 syntax keyword typescriptCryptoProp contained subtle
|
|
1316 syntax cluster props add=typescriptCryptoProp
|
|
1317 hi def link typescriptCryptoProp Keyword
|
|
1318 syntax keyword typescriptCryptoMethod contained getRandomValues nextgroup=typescriptFuncCallArg
|
|
1319 syntax cluster props add=typescriptCryptoMethod
|
|
1320 hi def link typescriptCryptoMethod Keyword
|
|
1321
|
|
1322 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Headers Request
|
|
1323 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Response
|
|
1324 syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName fetch nextgroup=typescriptFuncCallArg
|
|
1325 syntax cluster props add=typescriptGlobalMethod
|
|
1326 hi def link typescriptGlobalMethod Structure
|
|
1327 syntax keyword typescriptHeadersMethod contained append delete get getAll has set nextgroup=typescriptFuncCallArg
|
|
1328 syntax cluster props add=typescriptHeadersMethod
|
|
1329 hi def link typescriptHeadersMethod Keyword
|
|
1330 syntax keyword typescriptRequestProp contained method url headers context referrer
|
|
1331 syntax keyword typescriptRequestProp contained mode credentials cache
|
|
1332 syntax cluster props add=typescriptRequestProp
|
|
1333 hi def link typescriptRequestProp Keyword
|
|
1334 syntax keyword typescriptRequestMethod contained clone nextgroup=typescriptFuncCallArg
|
|
1335 syntax cluster props add=typescriptRequestMethod
|
|
1336 hi def link typescriptRequestMethod Keyword
|
|
1337 syntax keyword typescriptResponseProp contained type url status statusText headers
|
|
1338 syntax keyword typescriptResponseProp contained redirected
|
|
1339 syntax cluster props add=typescriptResponseProp
|
|
1340 hi def link typescriptResponseProp Keyword
|
|
1341 syntax keyword typescriptResponseMethod contained clone nextgroup=typescriptFuncCallArg
|
|
1342 syntax cluster props add=typescriptResponseMethod
|
|
1343 hi def link typescriptResponseMethod Keyword
|
|
1344
|
|
1345 syntax keyword typescriptServiceWorkerProp contained controller ready
|
|
1346 syntax cluster props add=typescriptServiceWorkerProp
|
|
1347 hi def link typescriptServiceWorkerProp Keyword
|
|
1348 syntax keyword typescriptServiceWorkerMethod contained register getRegistration nextgroup=typescriptFuncCallArg
|
|
1349 syntax cluster props add=typescriptServiceWorkerMethod
|
|
1350 hi def link typescriptServiceWorkerMethod Keyword
|
|
1351 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Cache
|
|
1352 syntax keyword typescriptCacheMethod contained match matchAll add addAll put delete nextgroup=typescriptFuncCallArg
|
|
1353 syntax keyword typescriptCacheMethod contained keys nextgroup=typescriptFuncCallArg
|
|
1354 syntax cluster props add=typescriptCacheMethod
|
|
1355 hi def link typescriptCacheMethod Keyword
|
|
1356
|
|
1357 syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder
|
|
1358 syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextDecoder
|
|
1359 hi def link typescriptEncodingGlobal Structure
|
|
1360 syntax keyword typescriptEncodingProp contained encoding fatal ignoreBOM
|
|
1361 syntax cluster props add=typescriptEncodingProp
|
|
1362 hi def link typescriptEncodingProp Keyword
|
|
1363 syntax keyword typescriptEncodingMethod contained encode decode nextgroup=typescriptFuncCallArg
|
|
1364 syntax cluster props add=typescriptEncodingMethod
|
|
1365 hi def link typescriptEncodingMethod Keyword
|
|
1366
|
|
1367 syntax keyword typescriptGlobal containedin=typescriptIdentifierName Geolocation
|
|
1368 syntax keyword typescriptGeolocationMethod contained getCurrentPosition watchPosition nextgroup=typescriptFuncCallArg
|
|
1369 syntax keyword typescriptGeolocationMethod contained clearWatch nextgroup=typescriptFuncCallArg
|
|
1370 syntax cluster props add=typescriptGeolocationMethod
|
|
1371 hi def link typescriptGeolocationMethod Keyword
|
|
1372
|
|
1373 syntax keyword typescriptGlobal containedin=typescriptIdentifierName NetworkInformation
|
|
1374 syntax keyword typescriptBOMNetworkProp contained downlink downlinkMax effectiveType
|
|
1375 syntax keyword typescriptBOMNetworkProp contained rtt type
|
|
1376 syntax cluster props add=typescriptBOMNetworkProp
|
|
1377 hi def link typescriptBOMNetworkProp Keyword
|
|
1378
|
|
1379 syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest
|
|
1380 syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg
|
|
1381 syntax cluster props add=typescriptPaymentMethod
|
|
1382 hi def link typescriptPaymentMethod Keyword
|
|
1383 syntax keyword typescriptPaymentProp contained shippingAddress shippingOption result
|
|
1384 syntax cluster props add=typescriptPaymentProp
|
|
1385 hi def link typescriptPaymentProp Keyword
|
|
1386 syntax keyword typescriptPaymentEvent contained onshippingaddresschange onshippingoptionchange
|
|
1387 hi def link typescriptPaymentEvent Keyword
|
|
1388 syntax keyword typescriptPaymentResponseMethod contained complete nextgroup=typescriptFuncCallArg
|
|
1389 syntax cluster props add=typescriptPaymentResponseMethod
|
|
1390 hi def link typescriptPaymentResponseMethod Keyword
|
|
1391 syntax keyword typescriptPaymentResponseProp contained details methodName payerEmail
|
|
1392 syntax keyword typescriptPaymentResponseProp contained payerPhone shippingAddress
|
|
1393 syntax keyword typescriptPaymentResponseProp contained shippingOption
|
|
1394 syntax cluster props add=typescriptPaymentResponseProp
|
|
1395 hi def link typescriptPaymentResponseProp Keyword
|
|
1396 syntax keyword typescriptPaymentAddressProp contained addressLine careOf city country
|
|
1397 syntax keyword typescriptPaymentAddressProp contained country dependentLocality languageCode
|
|
1398 syntax keyword typescriptPaymentAddressProp contained organization phone postalCode
|
|
1399 syntax keyword typescriptPaymentAddressProp contained recipient region sortingCode
|
|
1400 syntax cluster props add=typescriptPaymentAddressProp
|
|
1401 hi def link typescriptPaymentAddressProp Keyword
|
|
1402 syntax keyword typescriptPaymentShippingOptionProp contained id label amount selected
|
|
1403 syntax cluster props add=typescriptPaymentShippingOptionProp
|
|
1404 hi def link typescriptPaymentShippingOptionProp Keyword
|
|
1405
|
|
1406 syntax keyword typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes
|
|
1407 syntax keyword typescriptDOMNodeProp contained firstChild lastChild localName namespaceURI
|
|
1408 syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipal
|
|
1409 syntax keyword typescriptDOMNodeProp contained nodeType nodeValue ownerDocument parentElement
|
|
1410 syntax keyword typescriptDOMNodeProp contained parentNode prefix previousSibling textContent
|
|
1411 syntax cluster props add=typescriptDOMNodeProp
|
|
1412 hi def link typescriptDOMNodeProp Keyword
|
|
1413 syntax keyword typescriptDOMNodeMethod contained appendChild cloneNode compareDocumentPosition nextgroup=typescriptFuncCallArg
|
|
1414 syntax keyword typescriptDOMNodeMethod contained getUserData hasAttributes hasChildNodes nextgroup=typescriptFuncCallArg
|
|
1415 syntax keyword typescriptDOMNodeMethod contained insertBefore isDefaultNamespace isEqualNode nextgroup=typescriptFuncCallArg
|
|
1416 syntax keyword typescriptDOMNodeMethod contained isSameNode isSupported lookupNamespaceURI nextgroup=typescriptFuncCallArg
|
|
1417 syntax keyword typescriptDOMNodeMethod contained lookupPrefix normalize removeChild nextgroup=typescriptFuncCallArg
|
|
1418 syntax keyword typescriptDOMNodeMethod contained replaceChild setUserData nextgroup=typescriptFuncCallArg
|
|
1419 syntax match typescriptDOMNodeMethod contained /contains/
|
|
1420 syntax cluster props add=typescriptDOMNodeMethod
|
|
1421 hi def link typescriptDOMNodeMethod Keyword
|
|
1422 syntax keyword typescriptDOMNodeType contained ELEMENT_NODE ATTRIBUTE_NODE TEXT_NODE
|
|
1423 syntax keyword typescriptDOMNodeType contained CDATA_SECTION_NODEN_NODE ENTITY_REFERENCE_NODE
|
|
1424 syntax keyword typescriptDOMNodeType contained ENTITY_NODE PROCESSING_INSTRUCTION_NODEN_NODE
|
|
1425 syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUMENT_TYPE_NODE
|
|
1426 syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE
|
|
1427 hi def link typescriptDOMNodeType Keyword
|
|
1428
|
|
1429 syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft
|
|
1430 syntax keyword typescriptDOMElemAttrs contained clientTop clientWidth id innerHTML
|
|
1431 syntax keyword typescriptDOMElemAttrs contained length onafterscriptexecute onbeforescriptexecute
|
|
1432 syntax keyword typescriptDOMElemAttrs contained oncopy oncut onpaste onwheel scrollHeight
|
|
1433 syntax keyword typescriptDOMElemAttrs contained scrollLeft scrollTop scrollWidth tagName
|
|
1434 syntax keyword typescriptDOMElemAttrs contained classList className name outerHTML
|
|
1435 syntax keyword typescriptDOMElemAttrs contained style
|
|
1436 hi def link typescriptDOMElemAttrs Keyword
|
|
1437 syntax keyword typescriptDOMElemFuncs contained getAttributeNS getAttributeNode getAttributeNodeNS
|
|
1438 syntax keyword typescriptDOMElemFuncs contained getBoundingClientRect getClientRects
|
|
1439 syntax keyword typescriptDOMElemFuncs contained getElementsByClassName getElementsByTagName
|
|
1440 syntax keyword typescriptDOMElemFuncs contained getElementsByTagNameNS hasAttribute
|
|
1441 syntax keyword typescriptDOMElemFuncs contained hasAttributeNS insertAdjacentHTML
|
|
1442 syntax keyword typescriptDOMElemFuncs contained matches querySelector querySelectorAll
|
|
1443 syntax keyword typescriptDOMElemFuncs contained removeAttribute removeAttributeNS
|
|
1444 syntax keyword typescriptDOMElemFuncs contained removeAttributeNode requestFullscreen
|
|
1445 syntax keyword typescriptDOMElemFuncs contained requestPointerLock scrollIntoView
|
|
1446 syntax keyword typescriptDOMElemFuncs contained setAttribute setAttributeNS setAttributeNode
|
|
1447 syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture supports
|
|
1448 syntax keyword typescriptDOMElemFuncs contained getAttribute
|
|
1449 hi def link typescriptDOMElemFuncs Keyword
|
|
1450
|
|
1451 syntax keyword typescriptDOMDocProp contained activeElement body cookie defaultView
|
|
1452 syntax keyword typescriptDOMDocProp contained designMode dir domain embeds forms head
|
|
1453 syntax keyword typescriptDOMDocProp contained images lastModified links location plugins
|
|
1454 syntax keyword typescriptDOMDocProp contained postMessage readyState referrer registerElement
|
|
1455 syntax keyword typescriptDOMDocProp contained scripts styleSheets title vlinkColor
|
|
1456 syntax keyword typescriptDOMDocProp contained xmlEncoding characterSet compatMode
|
|
1457 syntax keyword typescriptDOMDocProp contained contentType currentScript doctype documentElement
|
|
1458 syntax keyword typescriptDOMDocProp contained documentURI documentURIObject firstChild
|
|
1459 syntax keyword typescriptDOMDocProp contained implementation lastStyleSheetSet namespaceURI
|
|
1460 syntax keyword typescriptDOMDocProp contained nodePrincipal ononline pointerLockElement
|
|
1461 syntax keyword typescriptDOMDocProp contained popupNode preferredStyleSheetSet selectedStyleSheetSet
|
|
1462 syntax keyword typescriptDOMDocProp contained styleSheetSets textContent tooltipNode
|
|
1463 syntax cluster props add=typescriptDOMDocProp
|
|
1464 hi def link typescriptDOMDocProp Keyword
|
|
1465 syntax keyword typescriptDOMDocMethod contained caretPositionFromPoint close createNodeIterator nextgroup=typescriptFuncCallArg
|
|
1466 syntax keyword typescriptDOMDocMethod contained createRange createTreeWalker elementFromPoint nextgroup=typescriptFuncCallArg
|
|
1467 syntax keyword typescriptDOMDocMethod contained getElementsByName adoptNode createAttribute nextgroup=typescriptFuncCallArg
|
|
1468 syntax keyword typescriptDOMDocMethod contained createCDATASection createComment createDocumentFragment nextgroup=typescriptFuncCallArg
|
|
1469 syntax keyword typescriptDOMDocMethod contained createElement createElementNS createEvent nextgroup=typescriptFuncCallArg
|
|
1470 syntax keyword typescriptDOMDocMethod contained createExpression createNSResolver nextgroup=typescriptFuncCallArg
|
|
1471 syntax keyword typescriptDOMDocMethod contained createProcessingInstruction createTextNode nextgroup=typescriptFuncCallArg
|
|
1472 syntax keyword typescriptDOMDocMethod contained enableStyleSheetsForSet evaluate execCommand nextgroup=typescriptFuncCallArg
|
|
1473 syntax keyword typescriptDOMDocMethod contained exitPointerLock getBoxObjectFor getElementById nextgroup=typescriptFuncCallArg
|
|
1474 syntax keyword typescriptDOMDocMethod contained getElementsByClassName getElementsByTagName nextgroup=typescriptFuncCallArg
|
|
1475 syntax keyword typescriptDOMDocMethod contained getElementsByTagNameNS getSelection nextgroup=typescriptFuncCallArg
|
|
1476 syntax keyword typescriptDOMDocMethod contained hasFocus importNode loadOverlay open nextgroup=typescriptFuncCallArg
|
|
1477 syntax keyword typescriptDOMDocMethod contained queryCommandSupported querySelector nextgroup=typescriptFuncCallArg
|
|
1478 syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln nextgroup=typescriptFuncCallArg
|
|
1479 syntax cluster props add=typescriptDOMDocMethod
|
|
1480 hi def link typescriptDOMDocMethod Keyword
|
|
1481
|
|
1482 syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
|
|
1483 syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
|
|
1484 syntax cluster props add=typescriptDOMEventTargetMethod
|
|
1485 hi def link typescriptDOMEventTargetMethod Keyword
|
|
1486 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AnimationEvent
|
|
1487 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AudioProcessingEvent
|
|
1488 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeInputEvent
|
|
1489 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeUnloadEvent
|
|
1490 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BlobEvent
|
|
1491 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ClipboardEvent
|
|
1492 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CloseEvent
|
|
1493 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CompositionEvent
|
|
1494 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CSSFontFaceLoadEvent
|
|
1495 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName CustomEvent
|
|
1496 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceLightEvent
|
|
1497 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceMotionEvent
|
|
1498 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceOrientationEvent
|
|
1499 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DeviceProximityEvent
|
|
1500 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DOMTransactionEvent
|
|
1501 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName DragEvent
|
|
1502 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName EditingBeforeInputEvent
|
|
1503 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ErrorEvent
|
|
1504 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName FocusEvent
|
|
1505 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName GamepadEvent
|
|
1506 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName HashChangeEvent
|
|
1507 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName IDBVersionChangeEvent
|
|
1508 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName KeyboardEvent
|
|
1509 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MediaStreamEvent
|
|
1510 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MessageEvent
|
|
1511 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MouseEvent
|
|
1512 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName MutationEvent
|
|
1513 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName OfflineAudioCompletionEvent
|
|
1514 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PageTransitionEvent
|
|
1515 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PointerEvent
|
|
1516 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName PopStateEvent
|
|
1517 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName ProgressEvent
|
|
1518 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RelatedEvent
|
|
1519 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName RTCPeerConnectionIceEvent
|
|
1520 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SensorEvent
|
|
1521 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName StorageEvent
|
|
1522 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGEvent
|
|
1523 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName SVGZoomEvent
|
|
1524 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TimeEvent
|
|
1525 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TouchEvent
|
|
1526 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TrackEvent
|
|
1527 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName TransitionEvent
|
|
1528 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UIEvent
|
|
1529 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UserProximityEvent
|
|
1530 syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName WheelEvent
|
|
1531 hi def link typescriptDOMEventCons Structure
|
|
1532 syntax keyword typescriptDOMEventProp contained bubbles cancelable currentTarget defaultPrevented
|
|
1533 syntax keyword typescriptDOMEventProp contained eventPhase target timeStamp type isTrusted
|
|
1534 syntax keyword typescriptDOMEventProp contained isReload
|
|
1535 syntax cluster props add=typescriptDOMEventProp
|
|
1536 hi def link typescriptDOMEventProp Keyword
|
|
1537 syntax keyword typescriptDOMEventMethod contained initEvent preventDefault stopImmediatePropagation nextgroup=typescriptEventFuncCallArg
|
|
1538 syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith default nextgroup=typescriptEventFuncCallArg
|
|
1539 syntax cluster props add=typescriptDOMEventMethod
|
|
1540 hi def link typescriptDOMEventMethod Keyword
|
|
1541
|
|
1542 syntax keyword typescriptDOMStorage contained sessionStorage localStorage
|
|
1543 hi def link typescriptDOMStorage Keyword
|
|
1544 syntax keyword typescriptDOMStorageProp contained length
|
|
1545 syntax cluster props add=typescriptDOMStorageProp
|
|
1546 hi def link typescriptDOMStorageProp Keyword
|
|
1547 syntax keyword typescriptDOMStorageMethod contained getItem key setItem removeItem nextgroup=typescriptFuncCallArg
|
|
1548 syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFuncCallArg
|
|
1549 syntax cluster props add=typescriptDOMStorageMethod
|
|
1550 hi def link typescriptDOMStorageMethod Keyword
|
|
1551
|
|
1552 syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
|
|
1553 syntax keyword typescriptDOMFormProp contained enctype length method name target
|
|
1554 syntax cluster props add=typescriptDOMFormProp
|
|
1555 hi def link typescriptDOMFormProp Keyword
|
|
1556 syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nextgroup=typescriptFuncCallArg
|
|
1557 syntax cluster props add=typescriptDOMFormMethod
|
|
1558 hi def link typescriptDOMFormMethod Keyword
|
|
1559
|
|
1560 syntax keyword typescriptDOMStyle contained alignContent alignItems alignSelf animation
|
|
1561 syntax keyword typescriptDOMStyle contained animationDelay animationDirection animationDuration
|
|
1562 syntax keyword typescriptDOMStyle contained animationFillMode animationIterationCount
|
|
1563 syntax keyword typescriptDOMStyle contained animationName animationPlayState animationTimingFunction
|
|
1564 syntax keyword typescriptDOMStyle contained appearance backfaceVisibility background
|
|
1565 syntax keyword typescriptDOMStyle contained backgroundAttachment backgroundBlendMode
|
|
1566 syntax keyword typescriptDOMStyle contained backgroundClip backgroundColor backgroundImage
|
|
1567 syntax keyword typescriptDOMStyle contained backgroundOrigin backgroundPosition backgroundRepeat
|
|
1568 syntax keyword typescriptDOMStyle contained backgroundSize border borderBottom borderBottomColor
|
|
1569 syntax keyword typescriptDOMStyle contained borderBottomLeftRadius borderBottomRightRadius
|
|
1570 syntax keyword typescriptDOMStyle contained borderBottomStyle borderBottomWidth borderCollapse
|
|
1571 syntax keyword typescriptDOMStyle contained borderColor borderImage borderImageOutset
|
|
1572 syntax keyword typescriptDOMStyle contained borderImageRepeat borderImageSlice borderImageSource
|
|
1573 syntax keyword typescriptDOMStyle contained borderImageWidth borderLeft borderLeftColor
|
|
1574 syntax keyword typescriptDOMStyle contained borderLeftStyle borderLeftWidth borderRadius
|
|
1575 syntax keyword typescriptDOMStyle contained borderRight borderRightColor borderRightStyle
|
|
1576 syntax keyword typescriptDOMStyle contained borderRightWidth borderSpacing borderStyle
|
|
1577 syntax keyword typescriptDOMStyle contained borderTop borderTopColor borderTopLeftRadius
|
|
1578 syntax keyword typescriptDOMStyle contained borderTopRightRadius borderTopStyle borderTopWidth
|
|
1579 syntax keyword typescriptDOMStyle contained borderWidth bottom boxDecorationBreak
|
|
1580 syntax keyword typescriptDOMStyle contained boxShadow boxSizing breakAfter breakBefore
|
|
1581 syntax keyword typescriptDOMStyle contained breakInside captionSide caretColor caretShape
|
|
1582 syntax keyword typescriptDOMStyle contained caret clear clip clipPath color columns
|
|
1583 syntax keyword typescriptDOMStyle contained columnCount columnFill columnGap columnRule
|
|
1584 syntax keyword typescriptDOMStyle contained columnRuleColor columnRuleStyle columnRuleWidth
|
|
1585 syntax keyword typescriptDOMStyle contained columnSpan columnWidth content counterIncrement
|
|
1586 syntax keyword typescriptDOMStyle contained counterReset cursor direction display
|
|
1587 syntax keyword typescriptDOMStyle contained emptyCells flex flexBasis flexDirection
|
|
1588 syntax keyword typescriptDOMStyle contained flexFlow flexGrow flexShrink flexWrap
|
|
1589 syntax keyword typescriptDOMStyle contained float font fontFamily fontFeatureSettings
|
|
1590 syntax keyword typescriptDOMStyle contained fontKerning fontLanguageOverride fontSize
|
|
1591 syntax keyword typescriptDOMStyle contained fontSizeAdjust fontStretch fontStyle fontSynthesis
|
|
1592 syntax keyword typescriptDOMStyle contained fontVariant fontVariantAlternates fontVariantCaps
|
|
1593 syntax keyword typescriptDOMStyle contained fontVariantEastAsian fontVariantLigatures
|
|
1594 syntax keyword typescriptDOMStyle contained fontVariantNumeric fontVariantPosition
|
|
1595 syntax keyword typescriptDOMStyle contained fontWeight grad grid gridArea gridAutoColumns
|
|
1596 syntax keyword typescriptDOMStyle contained gridAutoFlow gridAutoPosition gridAutoRows
|
|
1597 syntax keyword typescriptDOMStyle contained gridColumn gridColumnStart gridColumnEnd
|
|
1598 syntax keyword typescriptDOMStyle contained gridRow gridRowStart gridRowEnd gridTemplate
|
|
1599 syntax keyword typescriptDOMStyle contained gridTemplateAreas gridTemplateRows gridTemplateColumns
|
|
1600 syntax keyword typescriptDOMStyle contained height hyphens imageRendering imageResolution
|
|
1601 syntax keyword typescriptDOMStyle contained imageOrientation imeMode inherit justifyContent
|
|
1602 syntax keyword typescriptDOMStyle contained left letterSpacing lineBreak lineHeight
|
|
1603 syntax keyword typescriptDOMStyle contained listStyle listStyleImage listStylePosition
|
|
1604 syntax keyword typescriptDOMStyle contained listStyleType margin marginBottom marginLeft
|
|
1605 syntax keyword typescriptDOMStyle contained marginRight marginTop marks mask maskType
|
|
1606 syntax keyword typescriptDOMStyle contained maxHeight maxWidth minHeight minWidth
|
|
1607 syntax keyword typescriptDOMStyle contained mixBlendMode objectFit objectPosition
|
|
1608 syntax keyword typescriptDOMStyle contained opacity order orphans outline outlineColor
|
|
1609 syntax keyword typescriptDOMStyle contained outlineOffset outlineStyle outlineWidth
|
|
1610 syntax keyword typescriptDOMStyle contained overflow overflowWrap overflowX overflowY
|
|
1611 syntax keyword typescriptDOMStyle contained overflowClipBox padding paddingBottom
|
|
1612 syntax keyword typescriptDOMStyle contained paddingLeft paddingRight paddingTop pageBreakAfter
|
|
1613 syntax keyword typescriptDOMStyle contained pageBreakBefore pageBreakInside perspective
|
|
1614 syntax keyword typescriptDOMStyle contained perspectiveOrigin pointerEvents position
|
|
1615 syntax keyword typescriptDOMStyle contained quotes resize right shapeImageThreshold
|
|
1616 syntax keyword typescriptDOMStyle contained shapeMargin shapeOutside tableLayout tabSize
|
|
1617 syntax keyword typescriptDOMStyle contained textAlign textAlignLast textCombineHorizontal
|
|
1618 syntax keyword typescriptDOMStyle contained textDecoration textDecorationColor textDecorationLine
|
|
1619 syntax keyword typescriptDOMStyle contained textDecorationStyle textIndent textOrientation
|
|
1620 syntax keyword typescriptDOMStyle contained textOverflow textRendering textShadow
|
|
1621 syntax keyword typescriptDOMStyle contained textTransform textUnderlinePosition top
|
|
1622 syntax keyword typescriptDOMStyle contained touchAction transform transformOrigin
|
|
1623 syntax keyword typescriptDOMStyle contained transformStyle transition transitionDelay
|
|
1624 syntax keyword typescriptDOMStyle contained transitionDuration transitionProperty
|
|
1625 syntax keyword typescriptDOMStyle contained transitionTimingFunction unicodeBidi unicodeRange
|
|
1626 syntax keyword typescriptDOMStyle contained userSelect userZoom verticalAlign visibility
|
|
1627 syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBreak
|
|
1628 syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex
|
|
1629 hi def link typescriptDOMStyle Keyword
|
|
1630
|
|
1631
|
|
1632
|
|
1633 let typescript_props = 1
|
|
1634 syntax keyword typescriptAnimationEvent contained animationend animationiteration
|
|
1635 syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent
|
|
1636 syntax keyword typescriptAnimationEvent contained repeatEvent
|
|
1637 syntax cluster events add=typescriptAnimationEvent
|
|
1638 hi def link typescriptAnimationEvent Title
|
|
1639 syntax keyword typescriptCSSEvent contained CssRuleViewRefreshed CssRuleViewChanged
|
|
1640 syntax keyword typescriptCSSEvent contained CssRuleViewCSSLinkClicked transitionend
|
|
1641 syntax cluster events add=typescriptCSSEvent
|
|
1642 hi def link typescriptCSSEvent Title
|
|
1643 syntax keyword typescriptDatabaseEvent contained blocked complete error success upgradeneeded
|
|
1644 syntax keyword typescriptDatabaseEvent contained versionchange
|
|
1645 syntax cluster events add=typescriptDatabaseEvent
|
|
1646 hi def link typescriptDatabaseEvent Title
|
|
1647 syntax keyword typescriptDocumentEvent contained DOMLinkAdded DOMLinkRemoved DOMMetaAdded
|
|
1648 syntax keyword typescriptDocumentEvent contained DOMMetaRemoved DOMWillOpenModalDialog
|
|
1649 syntax keyword typescriptDocumentEvent contained DOMModalDialogClosed unload
|
|
1650 syntax cluster events add=typescriptDocumentEvent
|
|
1651 hi def link typescriptDocumentEvent Title
|
|
1652 syntax keyword typescriptDOMMutationEvent contained DOMAttributeNameChanged DOMAttrModified
|
|
1653 syntax keyword typescriptDOMMutationEvent contained DOMCharacterDataModified DOMContentLoaded
|
|
1654 syntax keyword typescriptDOMMutationEvent contained DOMElementNameChanged DOMNodeInserted
|
|
1655 syntax keyword typescriptDOMMutationEvent contained DOMNodeInsertedIntoDocument DOMNodeRemoved
|
|
1656 syntax keyword typescriptDOMMutationEvent contained DOMNodeRemovedFromDocument DOMSubtreeModified
|
|
1657 syntax cluster events add=typescriptDOMMutationEvent
|
|
1658 hi def link typescriptDOMMutationEvent Title
|
|
1659 syntax keyword typescriptDragEvent contained drag dragdrop dragend dragenter dragexit
|
|
1660 syntax keyword typescriptDragEvent contained draggesture dragleave dragover dragstart
|
|
1661 syntax keyword typescriptDragEvent contained drop
|
|
1662 syntax cluster events add=typescriptDragEvent
|
|
1663 hi def link typescriptDragEvent Title
|
|
1664 syntax keyword typescriptElementEvent contained invalid overflow underflow DOMAutoComplete
|
|
1665 syntax keyword typescriptElementEvent contained command commandupdate
|
|
1666 syntax cluster events add=typescriptElementEvent
|
|
1667 hi def link typescriptElementEvent Title
|
|
1668 syntax keyword typescriptFocusEvent contained blur change DOMFocusIn DOMFocusOut focus
|
|
1669 syntax keyword typescriptFocusEvent contained focusin focusout
|
|
1670 syntax cluster events add=typescriptFocusEvent
|
|
1671 hi def link typescriptFocusEvent Title
|
|
1672 syntax keyword typescriptFormEvent contained reset submit
|
|
1673 syntax cluster events add=typescriptFormEvent
|
|
1674 hi def link typescriptFormEvent Title
|
|
1675 syntax keyword typescriptFrameEvent contained DOMFrameContentLoaded
|
|
1676 syntax cluster events add=typescriptFrameEvent
|
|
1677 hi def link typescriptFrameEvent Title
|
|
1678 syntax keyword typescriptInputDeviceEvent contained click contextmenu DOMMouseScroll
|
|
1679 syntax keyword typescriptInputDeviceEvent contained dblclick gamepadconnected gamepaddisconnected
|
|
1680 syntax keyword typescriptInputDeviceEvent contained keydown keypress keyup MozGamepadButtonDown
|
|
1681 syntax keyword typescriptInputDeviceEvent contained MozGamepadButtonUp mousedown mouseenter
|
|
1682 syntax keyword typescriptInputDeviceEvent contained mouseleave mousemove mouseout
|
|
1683 syntax keyword typescriptInputDeviceEvent contained mouseover mouseup mousewheel MozMousePixelScroll
|
|
1684 syntax keyword typescriptInputDeviceEvent contained pointerlockchange pointerlockerror
|
|
1685 syntax keyword typescriptInputDeviceEvent contained wheel
|
|
1686 syntax cluster events add=typescriptInputDeviceEvent
|
|
1687 hi def link typescriptInputDeviceEvent Title
|
|
1688 syntax keyword typescriptMediaEvent contained audioprocess canplay canplaythrough
|
|
1689 syntax keyword typescriptMediaEvent contained durationchange emptied ended ended loadeddata
|
|
1690 syntax keyword typescriptMediaEvent contained loadedmetadata MozAudioAvailable pause
|
|
1691 syntax keyword typescriptMediaEvent contained play playing ratechange seeked seeking
|
|
1692 syntax keyword typescriptMediaEvent contained stalled suspend timeupdate volumechange
|
|
1693 syntax keyword typescriptMediaEvent contained waiting complete
|
|
1694 syntax cluster events add=typescriptMediaEvent
|
|
1695 hi def link typescriptMediaEvent Title
|
|
1696 syntax keyword typescriptMenuEvent contained DOMMenuItemActive DOMMenuItemInactive
|
|
1697 syntax cluster events add=typescriptMenuEvent
|
|
1698 hi def link typescriptMenuEvent Title
|
|
1699 syntax keyword typescriptNetworkEvent contained datachange dataerror disabled enabled
|
|
1700 syntax keyword typescriptNetworkEvent contained offline online statuschange connectionInfoUpdate
|
|
1701 syntax cluster events add=typescriptNetworkEvent
|
|
1702 hi def link typescriptNetworkEvent Title
|
|
1703 syntax keyword typescriptProgressEvent contained abort error load loadend loadstart
|
|
1704 syntax keyword typescriptProgressEvent contained progress timeout uploadprogress
|
|
1705 syntax cluster events add=typescriptProgressEvent
|
|
1706 hi def link typescriptProgressEvent Title
|
|
1707 syntax keyword typescriptResourceEvent contained cached error load
|
|
1708 syntax cluster events add=typescriptResourceEvent
|
|
1709 hi def link typescriptResourceEvent Title
|
|
1710 syntax keyword typescriptScriptEvent contained afterscriptexecute beforescriptexecute
|
|
1711 syntax cluster events add=typescriptScriptEvent
|
|
1712 hi def link typescriptScriptEvent Title
|
|
1713 syntax keyword typescriptSensorEvent contained compassneedscalibration devicelight
|
|
1714 syntax keyword typescriptSensorEvent contained devicemotion deviceorientation deviceproximity
|
|
1715 syntax keyword typescriptSensorEvent contained orientationchange userproximity
|
|
1716 syntax cluster events add=typescriptSensorEvent
|
|
1717 hi def link typescriptSensorEvent Title
|
|
1718 syntax keyword typescriptSessionHistoryEvent contained pagehide pageshow popstate
|
|
1719 syntax cluster events add=typescriptSessionHistoryEvent
|
|
1720 hi def link typescriptSessionHistoryEvent Title
|
|
1721 syntax keyword typescriptStorageEvent contained change storage
|
|
1722 syntax cluster events add=typescriptStorageEvent
|
|
1723 hi def link typescriptStorageEvent Title
|
|
1724 syntax keyword typescriptSVGEvent contained SVGAbort SVGError SVGLoad SVGResize SVGScroll
|
|
1725 syntax keyword typescriptSVGEvent contained SVGUnload SVGZoom
|
|
1726 syntax cluster events add=typescriptSVGEvent
|
|
1727 hi def link typescriptSVGEvent Title
|
|
1728 syntax keyword typescriptTabEvent contained visibilitychange
|
|
1729 syntax cluster events add=typescriptTabEvent
|
|
1730 hi def link typescriptTabEvent Title
|
|
1731 syntax keyword typescriptTextEvent contained compositionend compositionstart compositionupdate
|
|
1732 syntax keyword typescriptTextEvent contained copy cut paste select text
|
|
1733 syntax cluster events add=typescriptTextEvent
|
|
1734 hi def link typescriptTextEvent Title
|
|
1735 syntax keyword typescriptTouchEvent contained touchcancel touchend touchenter touchleave
|
|
1736 syntax keyword typescriptTouchEvent contained touchmove touchstart
|
|
1737 syntax cluster events add=typescriptTouchEvent
|
|
1738 hi def link typescriptTouchEvent Title
|
|
1739 syntax keyword typescriptUpdateEvent contained checking downloading error noupdate
|
|
1740 syntax keyword typescriptUpdateEvent contained obsolete updateready
|
|
1741 syntax cluster events add=typescriptUpdateEvent
|
|
1742 hi def link typescriptUpdateEvent Title
|
|
1743 syntax keyword typescriptValueChangeEvent contained hashchange input readystatechange
|
|
1744 syntax cluster events add=typescriptValueChangeEvent
|
|
1745 hi def link typescriptValueChangeEvent Title
|
|
1746 syntax keyword typescriptViewEvent contained fullscreen fullscreenchange fullscreenerror
|
|
1747 syntax keyword typescriptViewEvent contained resize scroll
|
|
1748 syntax cluster events add=typescriptViewEvent
|
|
1749 hi def link typescriptViewEvent Title
|
|
1750 syntax keyword typescriptWebsocketEvent contained close error message open
|
|
1751 syntax cluster events add=typescriptWebsocketEvent
|
|
1752 hi def link typescriptWebsocketEvent Title
|
|
1753 syntax keyword typescriptWindowEvent contained DOMWindowCreated DOMWindowClose DOMTitleChanged
|
|
1754 syntax cluster events add=typescriptWindowEvent
|
|
1755 hi def link typescriptWindowEvent Title
|
|
1756 syntax keyword typescriptUncategorizedEvent contained beforeunload message open show
|
|
1757 syntax cluster events add=typescriptUncategorizedEvent
|
|
1758 hi def link typescriptUncategorizedEvent Title
|
|
1759 syntax keyword typescriptServiceWorkerEvent contained install activate fetch
|
|
1760 syntax cluster events add=typescriptServiceWorkerEvent
|
|
1761 hi def link typescriptServiceWorkerEvent Title
|
|
1762 endif
|
|
1763
|
|
1764 " patch
|
|
1765 " patch for generated code
|
|
1766 syntax keyword typescriptGlobal Promise
|
|
1767 \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
|
|
1768 syntax keyword typescriptGlobal Map WeakMap
|
|
1769 \ nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg,typescriptTypeArguments oneline
|
|
1770
|
|
1771 syntax keyword typescriptConstructor contained constructor
|
|
1772 \ nextgroup=@typescriptCallSignature
|
|
1773 \ skipwhite skipempty
|
|
1774
|
|
1775
|
|
1776 syntax cluster memberNextGroup contains=typescriptMemberOptionality,typescriptTypeAnnotation,@typescriptCallSignature
|
|
1777
|
|
1778 syntax match typescriptMember /#\?\K\k*/
|
|
1779 \ nextgroup=@memberNextGroup
|
|
1780 \ contained skipwhite
|
|
1781
|
|
1782 syntax match typescriptMethodAccessor contained /\v(get|set)\s\K/me=e-1
|
|
1783 \ nextgroup=@typescriptMembers
|
|
1784
|
|
1785 syntax cluster typescriptPropertyMemberDeclaration contains=
|
|
1786 \ typescriptClassStatic,
|
|
1787 \ typescriptAccessibilityModifier,
|
|
1788 \ typescriptReadonlyModifier,
|
726
|
1789 \ typescriptAutoAccessor,
|
672
|
1790 \ typescriptMethodAccessor,
|
|
1791 \ @typescriptMembers
|
|
1792 " \ typescriptMemberVariableDeclaration
|
|
1793
|
|
1794 syntax match typescriptMemberOptionality /?\|!/ contained
|
|
1795 \ nextgroup=typescriptTypeAnnotation,@typescriptCallSignature
|
|
1796 \ skipwhite skipempty
|
|
1797
|
|
1798 syntax cluster typescriptMembers contains=typescriptMember,typescriptStringMember,typescriptComputedMember
|
|
1799
|
|
1800 syntax keyword typescriptClassStatic static
|
|
1801 \ nextgroup=@typescriptMembers,typescriptAsyncFuncKeyword,typescriptReadonlyModifier
|
|
1802 \ skipwhite contained
|
|
1803
|
|
1804 syntax keyword typescriptAccessibilityModifier public private protected contained
|
|
1805
|
726
|
1806 syntax keyword typescriptReadonlyModifier readonly override contained
|
|
1807
|
|
1808 syntax keyword typescriptAutoAccessor accessor contained
|
672
|
1809
|
|
1810 syntax region typescriptStringMember contained
|
|
1811 \ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/
|
|
1812 \ nextgroup=@memberNextGroup
|
|
1813 \ skipwhite skipempty
|
|
1814
|
|
1815 syntax region typescriptComputedMember contained matchgroup=typescriptProperty
|
|
1816 \ start=/\[/rs=s+1 end=/]/
|
726
|
1817 \ contains=@typescriptValue,typescriptMember,typescriptMappedIn,typescriptCastKeyword
|
672
|
1818 \ nextgroup=@memberNextGroup
|
|
1819 \ skipwhite skipempty
|
|
1820
|
|
1821 "don't add typescriptMembers to nextgroup, let outer scope match it
|
|
1822 " so we won't match abstract method outside abstract class
|
|
1823 syntax keyword typescriptAbstract abstract
|
|
1824 \ nextgroup=typescriptClassKeyword
|
|
1825 \ skipwhite skipnl
|
|
1826 syntax keyword typescriptClassKeyword class
|
|
1827 \ nextgroup=typescriptClassName,typescriptClassExtends,typescriptClassBlock
|
|
1828 \ skipwhite
|
|
1829
|
|
1830 syntax match typescriptClassName contained /\K\k*/
|
|
1831 \ nextgroup=typescriptClassBlock,typescriptClassExtends,typescriptClassTypeParameter
|
|
1832 \ skipwhite skipnl
|
|
1833
|
|
1834 syntax region typescriptClassTypeParameter
|
|
1835 \ start=/</ end=/>/
|
|
1836 \ contains=@typescriptTypeParameterCluster
|
|
1837 \ nextgroup=typescriptClassBlock,typescriptClassExtends
|
|
1838 \ contained skipwhite skipnl
|
|
1839
|
|
1840 syntax keyword typescriptClassExtends contained extends implements nextgroup=typescriptClassHeritage skipwhite skipnl
|
|
1841
|
|
1842 syntax match typescriptClassHeritage contained /\v(\k|\.|\(|\))+/
|
|
1843 \ nextgroup=typescriptClassBlock,typescriptClassExtends,typescriptMixinComma,typescriptClassTypeArguments
|
|
1844 \ contains=@typescriptValue
|
|
1845 \ skipwhite skipnl
|
|
1846 \ contained
|
|
1847
|
|
1848 syntax region typescriptClassTypeArguments matchgroup=typescriptTypeBrackets
|
|
1849 \ start=/</ end=/>/
|
|
1850 \ contains=@typescriptType
|
|
1851 \ nextgroup=typescriptClassExtends,typescriptClassBlock,typescriptMixinComma
|
|
1852 \ contained skipwhite skipnl
|
|
1853
|
|
1854 syntax match typescriptMixinComma /,/ contained nextgroup=typescriptClassHeritage skipwhite skipnl
|
|
1855
|
|
1856 " we need add arrowFunc to class block for high order arrow func
|
|
1857 " see test case
|
|
1858 syntax region typescriptClassBlock matchgroup=typescriptBraces start=/{/ end=/}/
|
|
1859 \ contains=@typescriptPropertyMemberDeclaration,typescriptAbstract,@typescriptComments,typescriptBlock,typescriptAssign,typescriptDecorator,typescriptAsyncFuncKeyword,typescriptArrowFunc
|
|
1860 \ contained fold
|
|
1861
|
|
1862 syntax keyword typescriptInterfaceKeyword interface nextgroup=typescriptInterfaceName skipwhite
|
|
1863 syntax match typescriptInterfaceName contained /\k\+/
|
|
1864 \ nextgroup=typescriptObjectType,typescriptInterfaceExtends,typescriptInterfaceTypeParameter
|
|
1865 \ skipwhite skipnl
|
|
1866 syntax region typescriptInterfaceTypeParameter
|
|
1867 \ start=/</ end=/>/
|
|
1868 \ contains=@typescriptTypeParameterCluster
|
|
1869 \ nextgroup=typescriptObjectType,typescriptInterfaceExtends
|
|
1870 \ contained
|
|
1871 \ skipwhite skipnl
|
|
1872
|
|
1873 syntax keyword typescriptInterfaceExtends contained extends nextgroup=typescriptInterfaceHeritage skipwhite skipnl
|
|
1874
|
|
1875 syntax match typescriptInterfaceHeritage contained /\v(\k|\.)+/
|
|
1876 \ nextgroup=typescriptObjectType,typescriptInterfaceComma,typescriptInterfaceTypeArguments
|
|
1877 \ skipwhite
|
|
1878
|
|
1879 syntax region typescriptInterfaceTypeArguments matchgroup=typescriptTypeBrackets
|
|
1880 \ start=/</ end=/>/ skip=/\s*,\s*/
|
|
1881 \ contains=@typescriptType
|
|
1882 \ nextgroup=typescriptObjectType,typescriptInterfaceComma
|
|
1883 \ contained skipwhite
|
|
1884
|
|
1885 syntax match typescriptInterfaceComma /,/ contained nextgroup=typescriptInterfaceHeritage skipwhite skipnl
|
|
1886
|
|
1887 "Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnStatement WithStatement LabelledStatement SwitchStatement ThrowStatement TryStatement DebuggerStatement
|
|
1888 syntax cluster typescriptStatement
|
726
|
1889 \ contains=typescriptBlock,typescriptVariable,typescriptUsing,
|
672
|
1890 \ @typescriptTopExpression,typescriptAssign,
|
|
1891 \ typescriptConditional,typescriptRepeat,typescriptBranch,
|
|
1892 \ typescriptLabel,typescriptStatementKeyword,
|
|
1893 \ typescriptFuncKeyword,
|
|
1894 \ typescriptTry,typescriptExceptions,typescriptDebugger,
|
|
1895 \ typescriptExport,typescriptInterfaceKeyword,typescriptEnum,
|
|
1896 \ typescriptModule,typescriptAliasKeyword,typescriptImport
|
|
1897
|
|
1898 syntax cluster typescriptPrimitive contains=typescriptString,typescriptTemplate,typescriptRegexpString,typescriptNumber,typescriptBoolean,typescriptNull,typescriptArray
|
|
1899
|
|
1900 syntax cluster typescriptEventTypes contains=typescriptEventString,typescriptTemplate,typescriptNumber,typescriptBoolean,typescriptNull
|
|
1901
|
|
1902 " top level expression: no arrow func
|
|
1903 " also no func keyword. funcKeyword is contained in statement
|
|
1904 " funcKeyword allows overloading (func without body)
|
|
1905 " funcImpl requires body
|
|
1906 syntax cluster typescriptTopExpression
|
|
1907 \ contains=@typescriptPrimitive,
|
|
1908 \ typescriptIdentifier,typescriptIdentifierName,
|
|
1909 \ typescriptOperator,typescriptUnaryOp,
|
|
1910 \ typescriptParenExp,typescriptRegexpString,
|
|
1911 \ typescriptGlobal,typescriptAsyncFuncKeyword,
|
|
1912 \ typescriptClassKeyword,typescriptTypeCast
|
|
1913
|
|
1914 " no object literal, used in type cast and arrow func
|
|
1915 " TODO: change func keyword to funcImpl
|
|
1916 syntax cluster typescriptExpression
|
|
1917 \ contains=@typescriptTopExpression,
|
|
1918 \ typescriptArrowFuncDef,
|
|
1919 \ typescriptFuncImpl
|
|
1920
|
|
1921 syntax cluster typescriptValue
|
|
1922 \ contains=@typescriptExpression,typescriptObjectLiteral
|
|
1923
|
|
1924 syntax cluster typescriptEventExpression contains=typescriptArrowFuncDef,typescriptParenExp,@typescriptValue,typescriptRegexpString,@typescriptEventTypes,typescriptOperator,typescriptGlobal,jsxRegion
|
|
1925
|
|
1926 syntax keyword typescriptAsyncFuncKeyword async
|
726
|
1927 \ nextgroup=typescriptFuncKeyword,typescriptArrowFuncDef,typescriptArrowFuncTypeParameter
|
672
|
1928 \ skipwhite
|
|
1929
|
|
1930 syntax keyword typescriptAsyncFuncKeyword await
|
726
|
1931 \ nextgroup=@typescriptValue,typescriptUsing
|
672
|
1932 \ skipwhite
|
|
1933
|
726
|
1934 syntax keyword typescriptFuncKeyword function nextgroup=typescriptAsyncFunc,typescriptFuncName,@typescriptCallSignature skipwhite skipempty
|
672
|
1935
|
|
1936 syntax match typescriptAsyncFunc contained /*/
|
|
1937 \ nextgroup=typescriptFuncName,@typescriptCallSignature
|
|
1938 \ skipwhite skipempty
|
|
1939
|
|
1940 syntax match typescriptFuncName contained /\K\k*/
|
|
1941 \ nextgroup=@typescriptCallSignature
|
|
1942 \ skipwhite
|
|
1943
|
|
1944 syntax match typescriptArrowFuncDef contained /\K\k*\s*=>/
|
|
1945 \ contains=typescriptArrowFuncArg,typescriptArrowFunc
|
|
1946 \ nextgroup=@typescriptExpression,typescriptBlock
|
|
1947 \ skipwhite skipempty
|
|
1948
|
726
|
1949 syntax match typescriptArrowFuncDef contained /(\%(\_[^()]\+\|(\_[^()]*)\)*)\_s*=>/
|
|
1950 \ contains=typescriptArrowFuncArg,typescriptArrowFunc,@typescriptCallSignature
|
|
1951 \ nextgroup=@typescriptExpression,typescriptBlock
|
|
1952 \ skipwhite skipempty
|
|
1953
|
|
1954 syntax region typescriptArrowFuncDef contained start=/(\%(\_[^()]\+\|(\_[^()]*)\)*):/ matchgroup=typescriptArrowFunc end=/=>/
|
|
1955 \ contains=typescriptArrowFuncArg,typescriptTypeAnnotation,@typescriptCallSignature
|
672
|
1956 \ nextgroup=@typescriptExpression,typescriptBlock
|
|
1957 \ skipwhite skipempty keepend
|
|
1958
|
726
|
1959 syntax region typescriptArrowFuncTypeParameter start=/</ end=/>/
|
|
1960 \ contains=@typescriptTypeParameterCluster
|
|
1961 \ nextgroup=typescriptArrowFuncDef
|
|
1962 \ contained skipwhite skipnl
|
|
1963
|
672
|
1964 syntax match typescriptArrowFunc /=>/
|
|
1965 syntax match typescriptArrowFuncArg contained /\K\k*/
|
|
1966
|
|
1967 syntax region typescriptReturnAnnotation contained start=/:/ end=/{/me=e-1 contains=@typescriptType nextgroup=typescriptBlock
|
|
1968
|
|
1969
|
726
|
1970 syntax region typescriptFuncImpl contained start=/function\>/ end=/{\|;\|\n/me=e-1
|
672
|
1971 \ contains=typescriptFuncKeyword
|
|
1972 \ nextgroup=typescriptBlock
|
|
1973
|
|
1974 syntax cluster typescriptCallImpl contains=typescriptGenericImpl,typescriptParamImpl
|
|
1975 syntax region typescriptGenericImpl matchgroup=typescriptTypeBrackets
|
|
1976 \ start=/</ end=/>/ skip=/\s*,\s*/
|
|
1977 \ contains=typescriptTypeParameter
|
|
1978 \ nextgroup=typescriptParamImpl
|
|
1979 \ contained skipwhite
|
|
1980 syntax region typescriptParamImpl matchgroup=typescriptParens
|
|
1981 \ start=/(/ end=/)/
|
|
1982 \ contains=typescriptDecorator,@typescriptParameterList,@typescriptComments
|
|
1983 \ nextgroup=typescriptReturnAnnotation,typescriptBlock
|
|
1984 \ contained skipwhite skipnl
|
|
1985
|
|
1986 syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
|
|
1987 \ nextgroup=typescriptFuncCallArg,typescriptTypeArguments
|
|
1988 \ contains=@_semantic,typescriptDotNotation
|
|
1989
|
726
|
1990
|
672
|
1991 hi def link typescriptReserved Error
|
|
1992
|
|
1993 hi def link typescriptEndColons Exception
|
|
1994 hi def link typescriptSymbols Normal
|
|
1995 hi def link typescriptBraces Function
|
|
1996 hi def link typescriptParens Normal
|
|
1997 hi def link typescriptComment Comment
|
|
1998 hi def link typescriptLineComment Comment
|
|
1999 hi def link typescriptDocComment Comment
|
|
2000 hi def link typescriptCommentTodo Todo
|
|
2001 hi def link typescriptMagicComment SpecialComment
|
|
2002 hi def link typescriptRef Include
|
|
2003 hi def link typescriptDocNotation SpecialComment
|
|
2004 hi def link typescriptDocTags SpecialComment
|
|
2005 hi def link typescriptDocNGParam typescriptDocParam
|
|
2006 hi def link typescriptDocParam Function
|
|
2007 hi def link typescriptDocNumParam Function
|
|
2008 hi def link typescriptDocEventRef Function
|
|
2009 hi def link typescriptDocNamedParamType Type
|
|
2010 hi def link typescriptDocParamName Type
|
|
2011 hi def link typescriptDocParamType Type
|
|
2012 hi def link typescriptString String
|
|
2013 hi def link typescriptSpecial Special
|
|
2014 hi def link typescriptStringLiteralType String
|
|
2015 hi def link typescriptTemplateLiteralType String
|
|
2016 hi def link typescriptStringMember String
|
|
2017 hi def link typescriptTemplate String
|
|
2018 hi def link typescriptEventString String
|
|
2019 hi def link typescriptDestructureString String
|
|
2020 hi def link typescriptASCII Special
|
|
2021 hi def link typescriptTemplateSB Label
|
|
2022 hi def link typescriptRegexpString String
|
|
2023 hi def link typescriptGlobal Constant
|
|
2024 hi def link typescriptTestGlobal Function
|
|
2025 hi def link typescriptPrototype Type
|
|
2026 hi def link typescriptConditional Conditional
|
|
2027 hi def link typescriptConditionalElse Conditional
|
|
2028 hi def link typescriptCase Conditional
|
|
2029 hi def link typescriptDefault typescriptCase
|
|
2030 hi def link typescriptBranch Conditional
|
|
2031 hi def link typescriptIdentifier Structure
|
|
2032 hi def link typescriptVariable Identifier
|
726
|
2033 hi def link typescriptUsing Identifier
|
672
|
2034 hi def link typescriptDestructureVariable PreProc
|
|
2035 hi def link typescriptEnumKeyword Identifier
|
|
2036 hi def link typescriptRepeat Repeat
|
|
2037 hi def link typescriptForOperator Repeat
|
|
2038 hi def link typescriptStatementKeyword Statement
|
|
2039 hi def link typescriptMessage Keyword
|
|
2040 hi def link typescriptOperator Identifier
|
|
2041 hi def link typescriptKeywordOp Identifier
|
|
2042 hi def link typescriptCastKeyword Special
|
|
2043 hi def link typescriptType Type
|
|
2044 hi def link typescriptNull Boolean
|
|
2045 hi def link typescriptNumber Number
|
|
2046 hi def link typescriptBoolean Boolean
|
|
2047 hi def link typescriptObjectLabel typescriptLabel
|
|
2048 hi def link typescriptDestructureLabel Function
|
|
2049 hi def link typescriptLabel Label
|
|
2050 hi def link typescriptTupleLable Label
|
|
2051 hi def link typescriptStringProperty String
|
|
2052 hi def link typescriptImport Special
|
|
2053 hi def link typescriptImportType Special
|
|
2054 hi def link typescriptAmbientDeclaration Special
|
|
2055 hi def link typescriptExport Special
|
|
2056 hi def link typescriptExportType Special
|
|
2057 hi def link typescriptModule Special
|
|
2058 hi def link typescriptTry Special
|
|
2059 hi def link typescriptExceptions Special
|
|
2060
|
|
2061 hi def link typescriptMember Function
|
|
2062 hi def link typescriptMethodAccessor Operator
|
|
2063
|
|
2064 hi def link typescriptAsyncFuncKeyword Keyword
|
|
2065 hi def link typescriptObjectAsyncKeyword Keyword
|
|
2066 hi def link typescriptAsyncFor Keyword
|
|
2067 hi def link typescriptFuncKeyword Keyword
|
|
2068 hi def link typescriptAsyncFunc Keyword
|
|
2069 hi def link typescriptArrowFunc Type
|
|
2070 hi def link typescriptFuncName Function
|
726
|
2071 hi def link typescriptFuncCallArg PreProc
|
672
|
2072 hi def link typescriptArrowFuncArg PreProc
|
|
2073 hi def link typescriptFuncComma Operator
|
|
2074
|
|
2075 hi def link typescriptClassKeyword Keyword
|
|
2076 hi def link typescriptClassExtends Keyword
|
|
2077 hi def link typescriptAbstract Special
|
|
2078 hi def link typescriptClassStatic StorageClass
|
|
2079 hi def link typescriptReadonlyModifier Keyword
|
|
2080 hi def link typescriptInterfaceKeyword Keyword
|
|
2081 hi def link typescriptInterfaceExtends Keyword
|
|
2082 hi def link typescriptInterfaceName Function
|
|
2083
|
|
2084 hi def link shellbang Comment
|
|
2085
|
|
2086 hi def link typescriptTypeParameter Identifier
|
|
2087 hi def link typescriptConstraint Keyword
|
|
2088 hi def link typescriptPredefinedType Type
|
|
2089 hi def link typescriptReadonlyArrayKeyword Keyword
|
|
2090 hi def link typescriptUnion Operator
|
|
2091 hi def link typescriptFuncTypeArrow Function
|
|
2092 hi def link typescriptConstructorType Function
|
|
2093 hi def link typescriptTypeQuery Keyword
|
|
2094 hi def link typescriptAccessibilityModifier Keyword
|
726
|
2095 hi def link typescriptAutoAccessor Keyword
|
672
|
2096 hi def link typescriptOptionalMark PreProc
|
|
2097 hi def link typescriptFuncType Special
|
|
2098 hi def link typescriptMappedIn Special
|
|
2099 hi def link typescriptCall PreProc
|
|
2100 hi def link typescriptParamImpl PreProc
|
|
2101 hi def link typescriptConstructSignature Identifier
|
|
2102 hi def link typescriptAliasDeclaration Identifier
|
|
2103 hi def link typescriptAliasKeyword Keyword
|
|
2104 hi def link typescriptUserDefinedType Keyword
|
|
2105 hi def link typescriptTypeReference Identifier
|
|
2106 hi def link typescriptConstructor Keyword
|
|
2107 hi def link typescriptDecorator Special
|
|
2108 hi def link typescriptAssertType Keyword
|
|
2109
|
|
2110 hi link typeScript NONE
|
|
2111
|
|
2112 if exists('s:cpo_save')
|
|
2113 let &cpo = s:cpo_save
|
|
2114 unlet s:cpo_save
|
|
2115 endif
|