|
| 1 | +original file |
| 2 | +----------------------------------- |
| 3 | ++new Date - 1 < 2; |
| 4 | +var abc = 'abc'; |
| 5 | +function abc2() { } |
| 6 | +----------------------------------- |
| 7 | + |
| 8 | +Grammar: TypeScript.tmLanguage |
| 9 | +----------------------------------- |
| 10 | +>+new Date - 1 < 2; |
| 11 | + ^ |
| 12 | + source.ts keyword.operator.arithmetic.ts |
| 13 | + ^^^ |
| 14 | + source.ts new.expr.ts keyword.operator.new.ts |
| 15 | + ^ |
| 16 | + source.ts new.expr.ts |
| 17 | + ^^^^ |
| 18 | + source.ts new.expr.ts entity.name.type.ts |
| 19 | + ^ |
| 20 | + source.ts new.expr.ts |
| 21 | + ^ |
| 22 | + source.ts keyword.operator.arithmetic.ts |
| 23 | + ^ |
| 24 | + source.ts |
| 25 | + ^ |
| 26 | + source.ts constant.numeric.decimal.ts |
| 27 | + ^ |
| 28 | + source.ts |
| 29 | + ^ |
| 30 | + source.ts keyword.operator.relational.ts |
| 31 | + ^ |
| 32 | + source.ts |
| 33 | + ^ |
| 34 | + source.ts constant.numeric.decimal.ts |
| 35 | + ^ |
| 36 | + source.ts punctuation.terminator.statement.ts |
| 37 | +>var abc = 'abc'; |
| 38 | + ^^^ |
| 39 | + source.ts meta.var.expr.ts storage.type.ts |
| 40 | + ^ |
| 41 | + source.ts meta.var.expr.ts |
| 42 | + ^^^ |
| 43 | + source.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts |
| 44 | + ^ |
| 45 | + source.ts meta.var.expr.ts meta.var-single-variable.expr.ts |
| 46 | + ^ |
| 47 | + source.ts meta.var.expr.ts keyword.operator.assignment.ts |
| 48 | + ^ |
| 49 | + source.ts meta.var.expr.ts |
| 50 | + ^ |
| 51 | + source.ts meta.var.expr.ts string.quoted.single.ts punctuation.definition.string.begin.ts |
| 52 | + ^^^ |
| 53 | + source.ts meta.var.expr.ts string.quoted.single.ts |
| 54 | + ^ |
| 55 | + source.ts meta.var.expr.ts string.quoted.single.ts punctuation.definition.string.end.ts |
| 56 | + ^ |
| 57 | + source.ts punctuation.terminator.statement.ts |
| 58 | +>function abc2() { } |
| 59 | + ^^^^^^^^ |
| 60 | + source.ts meta.function.ts storage.type.function.ts |
| 61 | + ^ |
| 62 | + source.ts meta.function.ts |
| 63 | + ^^^^ |
| 64 | + source.ts meta.function.ts meta.definition.function.ts entity.name.function.ts |
| 65 | + ^ |
| 66 | + source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts |
| 67 | + ^ |
| 68 | + source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts |
| 69 | + ^ |
| 70 | + source.ts meta.function.ts |
| 71 | + ^ |
| 72 | + source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts |
| 73 | + ^ |
| 74 | + source.ts meta.function.ts meta.block.ts |
| 75 | + ^ |
| 76 | + source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts |
0 commit comments