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