original file ----------------------------------- function foo(this: number, x: number) { } ----------------------------------- Grammar: TypeScript.tmLanguage ----------------------------------- >function foo(this: number, x: number) { ^^^^^^^^ source.ts meta.function.ts storage.type.function.ts ^ source.ts meta.function.ts ^^^ source.ts meta.function.ts meta.definition.function.ts entity.name.function.ts ^ source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts ^^^^ source.ts meta.function.ts meta.parameters.ts variable.parameter.ts variable.language.this.ts ^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts ^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts ^^^^^^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts ^ source.ts meta.function.ts meta.parameters.ts punctuation.separator.parameter.ts ^ source.ts meta.function.ts meta.parameters.ts ^ source.ts meta.function.ts meta.parameters.ts variable.parameter.ts ^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts ^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts ^^^^^^ source.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts ^ source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts ^ source.ts meta.function.ts ^ source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts > ^ source.ts meta.function.ts meta.block.ts >} ^ source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts