|
| 1 | +original file |
| 2 | +----------------------------------- |
| 3 | +const a = new Array<{}>(); |
| 4 | +// syntax highlighting wrong from here on out, due to '{}' |
| 5 | + |
| 6 | +class Thing { |
| 7 | + render() { |
| 8 | + |
| 9 | + } |
| 10 | +} |
| 11 | +----------------------------------- |
| 12 | + |
| 13 | +>const a = new Array<{}>(); |
| 14 | + ^^^^^ |
| 15 | + source.tsx meta.var.expr.tsx storage.type.tsx |
| 16 | + ^ |
| 17 | + source.tsx meta.var.expr.tsx |
| 18 | + ^ |
| 19 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx variable.other.readwrite.tsx |
| 20 | + ^ |
| 21 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx |
| 22 | + ^ |
| 23 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx keyword.operator.assignment.tsx |
| 24 | + ^ |
| 25 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx |
| 26 | + ^^^ |
| 27 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx keyword.operator.new.tsx |
| 28 | + ^ |
| 29 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx |
| 30 | + ^^^^^ |
| 31 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx meta.type.parameters.tsx entity.name.type.tsx |
| 32 | + ^ |
| 33 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.begin.tsx |
| 34 | + ^ |
| 35 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx meta.type.parameters.tsx meta.object.type.tsx punctuation.definition.block.tsx |
| 36 | + ^ |
| 37 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx meta.type.parameters.tsx meta.object.type.tsx punctuation.definition.block.tsx |
| 38 | + ^ |
| 39 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx new.expr.tsx meta.type.parameters.tsx punctuation.definition.typeparameters.end.tsx |
| 40 | + ^ |
| 41 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx meta.brace.round.tsx |
| 42 | + ^ |
| 43 | + source.tsx meta.var.expr.tsx meta.var-single-variable.expr.tsx meta.brace.round.tsx |
| 44 | + ^^^ |
| 45 | + source.tsx |
| 46 | +>// syntax highlighting wrong from here on out, due to '{}' |
| 47 | + ^^ |
| 48 | + source.tsx comment.line.double-slash.tsx punctuation.definition.comment.tsx |
| 49 | + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 50 | + source.tsx comment.line.double-slash.tsx |
| 51 | +> |
| 52 | + ^^ |
| 53 | + source.tsx |
| 54 | +>class Thing { |
| 55 | + ^^^^^ |
| 56 | + source.tsx meta.declaration.object.tsx storage.type.class.tsx |
| 57 | + ^ |
| 58 | + source.tsx meta.declaration.object.tsx |
| 59 | + ^^^^^ |
| 60 | + source.tsx meta.declaration.object.tsx meta.object.name.tsx entity.name.class.tsx |
| 61 | + ^ |
| 62 | + source.tsx meta.declaration.object.tsx |
| 63 | + ^ |
| 64 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx punctuation.definition.block.tsx |
| 65 | + ^^ |
| 66 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx |
| 67 | +> render() { |
| 68 | + ^^^^ |
| 69 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx |
| 70 | + ^^^^^^ |
| 71 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx entity.name.function.tsx |
| 72 | + ^ |
| 73 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.parameters.tsx punctuation.definition.parameters.begin.tsx |
| 74 | + ^ |
| 75 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.parameters.tsx punctuation.definition.parameters.end.tsx |
| 76 | + ^ |
| 77 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx |
| 78 | + ^ |
| 79 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.block.tsx punctuation.definition.block.tsx |
| 80 | + ^^ |
| 81 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.block.tsx |
| 82 | +> |
| 83 | + ^^ |
| 84 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.block.tsx |
| 85 | +> } |
| 86 | + ^^^^ |
| 87 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.block.tsx |
| 88 | + ^ |
| 89 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx meta.method.declaration.tsx meta.block.tsx punctuation.definition.block.tsx |
| 90 | + ^^ |
| 91 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx |
| 92 | +>} |
| 93 | + ^ |
| 94 | + source.tsx meta.declaration.object.tsx meta.object.body.tsx punctuation.definition.block.tsx |
0 commit comments