/third_party/typescript/tests/cases/fourslash/ |
D | completionListStringParenthesizedType.ts | 27 { name: "a", replacementSpan: r1 }, 28 { name: "b", replacementSpan: r1 }, 29 { name: "c", replacementSpan: r1 } 35 { name: "a", replacementSpan: r2 }, 36 { name: "b", replacementSpan: r2 }, 37 { name: "c", replacementSpan: r2 } 43 { name: "a", replacementSpan: r3 }, 44 { name: "b", replacementSpan: r3 }, 45 { name: "c", replacementSpan: r3 } 51 { name: "a", replacementSpan: r4 }, [all …]
|
D | completionsWithStringReplacementMode1.ts | 27 { name: "login.title", replacementSpan: test.ranges()[0] }, 28 { name: "login.description", replacementSpan: test.ranges()[0] }, 29 { name: "login.sendEmailAgree", replacementSpan: test.ranges()[0] }, 30 { name: "login.termsOfUse", replacementSpan: test.ranges()[0] }, 31 { name: "login.privacyPolicy", replacementSpan: test.ranges()[0] }, 32 { name: "login.sendEmailButton", replacementSpan: test.ranges()[0] }, 33 { name: "login.emailInputPlaceholder", replacementSpan: test.ranges()[0] }, 34 { name: "login.errorWrongEmailTitle", replacementSpan: test.ranges()[0] }, 35 { name: "login.errorWrongEmailDescription", replacementSpan: test.ranges()[0] }, 36 { name: "login.errorGeneralEmailTitle", replacementSpan: test.ranges()[0] }, [all …]
|
D | completionsStringsWithTriggerCharacter.ts | 25 { name: "a/b", replacementSpan: test.ranges()[0] }, 26 { name: "b/a", replacementSpan: test.ranges()[0] } 29 { name: "a@b", replacementSpan: test.ranges()[1] }, 30 { name: "b@a", replacementSpan: test.ranges()[1] } 33 { name: "a.b", replacementSpan: test.ranges()[2] }, 34 { name: "b.a", replacementSpan: test.ranges()[2] } 37 { name: "a'b", replacementSpan: test.ranges()[3] }, 38 { name: "b'a", replacementSpan: test.ranges()[3] } 41 { name: "a`b", replacementSpan: test.ranges()[4] }, 42 { name: "b`a", replacementSpan: test.ranges()[4] } [all …]
|
D | completionListInvalidMemberNames.ts | 17 const replacementSpan = test.ranges()[0]; constant 21 { name: "foo ", replacementSpan: replacementSpan1 }, 22 { name: "bar", replacementSpan: replacementSpan1 }, 23 { name: "break", replacementSpan: replacementSpan1 }, 24 { name: "any", replacementSpan: replacementSpan1 }, 25 { name: "#", replacementSpan: replacementSpan1 }, 26 { name: "$", replacementSpan: replacementSpan1 }, 27 { name: "b", replacementSpan: replacementSpan1 }, 28 { name: "1b", replacementSpan: replacementSpan1 }, 33 { name: "foo ", insertText: '["foo "]', replacementSpan }, [all …]
|
D | completionListForStringUnion.ts | 7 const replacementSpan = test.ranges()[0] constant 9 { name: "bar", replacementSpan }, 10 { name: "baz", replacementSpan } 13 replacementSpan.end++ 16 { name: "bar", replacementSpan }, 17 { name: "baz", replacementSpan } 20 replacementSpan.end += 2 23 { name: "bar", replacementSpan }, 24 { name: "baz", replacementSpan }
|
D | completionListStringParenthesizedExpression.ts | 17 { name: "a", replacementSpan: r1 }, 18 { name: "b", replacementSpan: r1 }, 19 { name: "c", replacementSpan: r1 } 25 { name: "a", replacementSpan: r2 }, 26 { name: "b", replacementSpan: r2 }, 27 { name: "c", replacementSpan: r2 } 33 { name: "a", replacementSpan: r3 }, 34 { name: "b", replacementSpan: r3 }, 35 { name: "c", replacementSpan: r3 }
|
D | completionForStringLiteral.ts | 11 { name: "Option 1", replacementSpan: test.ranges()[0] }, 12 { name: "Option 2", replacementSpan: test.ranges()[0] }, 13 { name: "Option 3", replacementSpan: test.ranges()[0] } 16 { name: "Option 1", replacementSpan: test.ranges()[1] }, 17 { name: "Option 2", replacementSpan: test.ranges()[1] }, 18 { name: "Option 3", replacementSpan: test.ranges()[1] }
|
D | completionForStringLiteralNonrelativeImport14.ts | 33 replacementSpan: { 41 replacementSpan: { 56 replacementSpan: { 64 replacementSpan: { 78 replacementSpan: { 86 replacementSpan: {
|
D | completionsTriggerCharacter.ts | 37 { name: "a", replacementSpan: test.ranges()[0] }, 38 { name: "b", replacementSpan: test.ranges()[0] } 43 { name: "a", replacementSpan: test.ranges()[1] }, 44 { name: "b", replacementSpan: test.ranges()[1] } 49 { name: "a", replacementSpan: test.ranges()[2] }, 50 { name: "b", replacementSpan: test.ranges()[2] }
|
D | completionForStringLiteral14.ts | 10 const replacementSpan = test.ranges()[0] constant 14 { name: "a", replacementSpan }, 15 { name: "b", replacementSpan }, 16 { name: "c", replacementSpan }
|
D | completionForStringLiteral2.ts | 18 { name: "foo", replacementSpan: replacementSpan0 }, 19 { name: "bar", replacementSpan: replacementSpan0 }, 20 { name: "some other name", replacementSpan: replacementSpan0 } 25 replacementSpan: test.ranges()[1]
|
D | completionForStringLiteral_mappedTypeMembers.ts | 11 const replacementSpan = test.ranges()[0]; constant 15 { name: "a", replacementSpan }, 16 { name: "b", replacementSpan }
|
D | completionListAfterStringLiteralTypeWithNoSubstitutionTemplateLiteral.ts | 6 const replacementSpan = test.ranges()[0] constant 8 { name: "one", replacementSpan }, 9 { name: "two", replacementSpan }
|
D | completionForStringLiteralInIndexedAccess01.ts | 10 const replacementSpan = test.ranges()[0] constant 12 { name: "foo", replacementSpan }, 13 { name: "bar", replacementSpan }
|
D | completionForQuotedPropertyInPropertyAssignment1.ts | 14 const replacementSpan = test.ranges()[0] constant 18 { name: "jspm", replacementSpan }, 19 { name: "jspm:browser", replacementSpan }
|
D | completionForQuotedPropertyInPropertyAssignment2.ts | 20 const replacementSpan = test.ranges()[0] constant 24 { name: "jspm", replacementSpan }, 25 { name: "jspm:browser", replacementSpan }
|
D | completionForQuotedPropertyInPropertyAssignment4.ts | 14 const replacementSpan = test.ranges()[0] constant 18 { name: "jspm", replacementSpan }, 19 { name: "jspm:browser", replacementSpan }
|
D | completionForQuotedPropertyInPropertyAssignment3.ts | 18 const replacementSpan = test.ranges()[0] constant 22 { name: "jspm", replacementSpan }, 23 { name: "jspm:browser", replacementSpan }
|
D | completionsTuple.ts | 6 const replacementSpan = test.ranges()[0]; constant 10 { name: "0", insertText: '[0]', replacementSpan }, 11 { name: "1", insertText: '[1]', replacementSpan },
|
D | completionForStringLiteral4.ts | 20 const replacementSpan = test.ranges()[0] constant 22 { name: "other1", replacementSpan }, 23 { name: "other2", replacementSpan }
|
D | completionsKeyof.ts | 14 { name: "a", replacementSpan: test.ranges()[0] } 20 { name: "a", replacementSpan: test.ranges()[1] }, 21 { name: "b", replacementSpan: test.ranges()[1] },
|
D | completionsElementAccessNumeric.ts | 18 const replacementSpan = test.ranges()[0]; constant 23 …{name: "0", insertText: "[0]", replacementSpan, documentation: "The first label", text: "(property… 24 …{name: "1", insertText: "[1]", replacementSpan, documentation: "The second label", text: "(propert…
|
D | completionListInvalidMemberNames_escapeQuote.ts | 6 const replacementSpan = test.ranges()[0]; constant 9 exact: { name: `"'`, insertText: `["\\"'"]`, replacementSpan }, 15 exact: { name: `"'`, insertText: `['"\\'']`, replacementSpan },
|
D | completionForStringLiteral3.ts | 13 { name: "A", replacementSpan: test.ranges()[0] }, 14 { name: "B", replacementSpan: test.ranges()[0] }, 15 { name: "C", replacementSpan: test.ranges()[0] }
|
D | completionForStringLiteral7.ts | 10 name, replacementSpan: test.ranges()[0] 13 name, replacementSpan: test.ranges()[1] 16 name, replacementSpan: test.ranges()[2]
|