original file ----------------------------------- function foo(x, y){ if(x < y || (x > (y))){ } return 'of the jedi'; } ----------------------------------- Grammar: TypeScript.tmLanguage ----------------------------------- >function foo(x, y){ ^^^^^^^^ 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 ^ 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 punctuation.definition.parameters.end.ts ^ source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts > if(x < y || (x > (y))){ ^^^^ source.ts meta.function.ts meta.block.ts ^^ source.ts meta.function.ts meta.block.ts keyword.control.conditional.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts keyword.operator.relational.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts ^ source.ts meta.function.ts meta.block.ts ^^ source.ts meta.function.ts meta.block.ts keyword.operator.logical.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts keyword.operator.relational.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts meta.brace.round.ts ^ source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts > } ^^^^ source.ts meta.function.ts meta.block.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts > return 'of the jedi'; ^^^^ source.ts meta.function.ts meta.block.ts ^^^^^^ source.ts meta.function.ts meta.block.ts keyword.control.flow.ts ^ source.ts meta.function.ts meta.block.ts ^ source.ts meta.function.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.begin.ts ^^^^^^^^^^^ source.ts meta.function.ts meta.block.ts string.quoted.single.ts ^ source.ts meta.function.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.end.ts ^ source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts >} ^ source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts