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