--- source: tests/langs/mod.rs expression: inscope_parts --- - n: 2 l: "import 'some/package';\n" m: " ^^^^^^^^^^^^ " - n: 3 l: "import { promisify } from 'util';\n" m: " ^^^^ " - n: 11 l: "let color: string = \"blue\";\n" m: " ^^^^ " - n: 13 l: "let x: [string, number] = [\"hello\", 10];\n" m: " ^^^^^ " - n: 21 l: "notSure = \"maybe a string instead\";\n" m: " ^^^^^^^^^^^^^^^^^^^^^^ " - n: 26 l: " console.log(\"This is my warning message\");\n" m: " ^^^^^^^^^^^^^^^^^^^^^^^^^^ " - n: 29 l: " throw new Error('This is an error');\n" m: " ^^^^^^^^^^^^^^^^ " - n: 33 l: " console.log('finally');\n" m: " ^^^^^^^ " - n: 52 l: "let someValue: any = \"this is a string\";\n" m: " ^^^^^^^^^^^^^^^^ " - n: 110 l: " return \"Hello, \" + this.greeting;\n" m: " ^^^^^^^ " - n: 119 l: " console.log(`${this.name} moved ${distanceInMeters}m.`);\n" m: " ^^^^^^^ " - n: 119 l: " console.log(`${this.name} moved ${distanceInMeters}m.`);\n" m: " ^^ " - n: 126 l: " console.log(\"Slithering...\");\n" m: " ^^^^^^^^^^^^^ " - n: 134 l: " console.log(\"Swimming...\");\n" m: " ^^^^^^^^^^^ " - n: 139 l: " console.log('swimming');\n" m: " ^^^^^^^^ " - n: 181 l: " console.log(\"Department name: \" + this.name);\n" m: " ^^^^^^^^^^^^^^^^^ " - n: 228 l: "type Easing = \"ease-in\" | \"ease-out\" | \"ease-in-out\";\n" m: " ^^^^^^^ " - n: 228 l: "type Easing = \"ease-in\" | \"ease-out\" | \"ease-in-out\";\n" m: " ^^^^^^^^ " - n: 228 l: "type Easing = \"ease-in\" | \"ease-out\" | \"ease-in-out\";\n" m: " ^^^^^^^^^^^ " - n: 244 l: " kind: \"square\";\n" m: " ^^^^^^ " - n: 248 l: " kind: \"rectangle\";\n" m: " ^^^^^^^^^ " - n: 266 l: " T extends string ? \"string\" :\n" m: " ^^^^^^ " - n: 267 l: " T extends number ? \"number\" :\n" m: " ^^^^^^ " - n: 268 l: " T extends boolean ? \"boolean\" :\n" m: " ^^^^^^^ " - n: 269 l: " T extends undefined ? \"undefined\" :\n" m: " ^^^^^^^^^ " - n: 270 l: " T extends Function ? \"function\" :\n" m: " ^^^^^^^^ " - n: 271 l: " \"object\";\n" m: " ^^^^^^ " - n: 286 l: " return \"Hello, \" + this.greeting;\n" m: " ^^^^^^^ " - n: 311 l: " const result = await fetch('https://api.example.com/food');\n" m: " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " - n: 327 l: "let x4 = \"hello\" as const;\n" m: " ^^^^^ " - n: 330 l: "type World = \"world\";\n" m: " ^^^^^ " - n: 331 l: "type Greeting = `hello ${World}`;\n" m: " ^^^^^^ " - n: 334 l: "String.raw`Hi\\n${2+3}!`;\n" m: " ^^ " - n: 334 l: "String.raw`Hi\\n${2+3}!`;\n" m: " ^ " - n: 337 l: "let multiline = `This is a\n" m: " ^^^^^^^^^^^" - n: 338 l: "multiline\n" m: ^^^^^^^^^^^ - n: 339 l: "string`;\n" m: "^^^^^^ "