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