|
| 1 | +original file |
| 2 | +----------------------------------- |
| 3 | +interface I { |
| 4 | + x: number extends number |
| 5 | + ? string |
| 6 | + : boolean; |
| 7 | +} |
| 8 | +----------------------------------- |
| 9 | + |
| 10 | +Grammar: TypeScript.tmLanguage |
| 11 | +----------------------------------- |
| 12 | +>interface I { |
| 13 | + ^^^^^^^^^ |
| 14 | + source.ts meta.interface.ts storage.type.interface.ts |
| 15 | + ^ |
| 16 | + source.ts meta.interface.ts |
| 17 | + ^ |
| 18 | + source.ts meta.interface.ts entity.name.type.interface.ts |
| 19 | + ^ |
| 20 | + source.ts meta.interface.ts |
| 21 | + ^ |
| 22 | + source.ts meta.interface.ts punctuation.definition.block.ts |
| 23 | +> x: number extends number |
| 24 | + ^^^^ |
| 25 | + source.ts meta.interface.ts |
| 26 | + ^ |
| 27 | + source.ts meta.interface.ts meta.field.declaration.ts meta.definition.property.ts variable.object.property.ts |
| 28 | + ^ |
| 29 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.type.annotation.ts |
| 30 | + ^ |
| 31 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 32 | + ^^^^^^ |
| 33 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts |
| 34 | + ^ |
| 35 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 36 | + ^^^^^^^ |
| 37 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts storage.modifier.ts |
| 38 | + ^ |
| 39 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 40 | + ^^^^^^ |
| 41 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts |
| 42 | +> ? string |
| 43 | + ^^^^^^^^ |
| 44 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 45 | + ^ |
| 46 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.ternary.ts |
| 47 | + ^ |
| 48 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 49 | + ^^^^^^ |
| 50 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts |
| 51 | +> : boolean; |
| 52 | + ^^^^^^^^ |
| 53 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 54 | + ^ |
| 55 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts keyword.operator.ternary.ts |
| 56 | + ^ |
| 57 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts |
| 58 | + ^^^^^^^ |
| 59 | + source.ts meta.interface.ts meta.field.declaration.ts meta.type.annotation.ts support.type.primitive.ts |
| 60 | + ^ |
| 61 | + source.ts meta.interface.ts punctuation.terminator.statement.ts |
| 62 | +>} |
| 63 | + ^ |
| 64 | + source.ts meta.interface.ts punctuation.definition.block.ts |
0 commit comments