Home
last modified time | relevance | path

Searched refs:replacementSpan (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/typescript/tests/cases/fourslash/
DcompletionListStringParenthesizedType.ts27 { 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 …]
DcompletionsWithStringReplacementMode1.ts27 { 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 …]
DcompletionsStringsWithTriggerCharacter.ts25 { 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 …]
DcompletionListInvalidMemberNames.ts17 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 …]
DcompletionListForStringUnion.ts7 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 }
DcompletionListStringParenthesizedExpression.ts17 { 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 }
DcompletionForStringLiteral.ts11 { 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] }
DcompletionForStringLiteralNonrelativeImport14.ts33 replacementSpan: {
41 replacementSpan: {
56 replacementSpan: {
64 replacementSpan: {
78 replacementSpan: {
86 replacementSpan: {
DcompletionsTriggerCharacter.ts37 { 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] }
DcompletionForStringLiteral14.ts10 const replacementSpan = test.ranges()[0] constant
14 { name: "a", replacementSpan },
15 { name: "b", replacementSpan },
16 { name: "c", replacementSpan }
DcompletionForStringLiteral2.ts18 { name: "foo", replacementSpan: replacementSpan0 },
19 { name: "bar", replacementSpan: replacementSpan0 },
20 { name: "some other name", replacementSpan: replacementSpan0 }
25 replacementSpan: test.ranges()[1]
DcompletionForStringLiteral_mappedTypeMembers.ts11 const replacementSpan = test.ranges()[0]; constant
15 { name: "a", replacementSpan },
16 { name: "b", replacementSpan }
DcompletionListAfterStringLiteralTypeWithNoSubstitutionTemplateLiteral.ts6 const replacementSpan = test.ranges()[0] constant
8 { name: "one", replacementSpan },
9 { name: "two", replacementSpan }
DcompletionForStringLiteralInIndexedAccess01.ts10 const replacementSpan = test.ranges()[0] constant
12 { name: "foo", replacementSpan },
13 { name: "bar", replacementSpan }
DcompletionForQuotedPropertyInPropertyAssignment1.ts14 const replacementSpan = test.ranges()[0] constant
18 { name: "jspm", replacementSpan },
19 { name: "jspm:browser", replacementSpan }
DcompletionForQuotedPropertyInPropertyAssignment2.ts20 const replacementSpan = test.ranges()[0] constant
24 { name: "jspm", replacementSpan },
25 { name: "jspm:browser", replacementSpan }
DcompletionForQuotedPropertyInPropertyAssignment4.ts14 const replacementSpan = test.ranges()[0] constant
18 { name: "jspm", replacementSpan },
19 { name: "jspm:browser", replacementSpan }
DcompletionForQuotedPropertyInPropertyAssignment3.ts18 const replacementSpan = test.ranges()[0] constant
22 { name: "jspm", replacementSpan },
23 { name: "jspm:browser", replacementSpan }
DcompletionsTuple.ts6 const replacementSpan = test.ranges()[0]; constant
10 { name: "0", insertText: '[0]', replacementSpan },
11 { name: "1", insertText: '[1]', replacementSpan },
DcompletionForStringLiteral4.ts20 const replacementSpan = test.ranges()[0] constant
22 { name: "other1", replacementSpan },
23 { name: "other2", replacementSpan }
DcompletionsKeyof.ts14 { name: "a", replacementSpan: test.ranges()[0] }
20 { name: "a", replacementSpan: test.ranges()[1] },
21 { name: "b", replacementSpan: test.ranges()[1] },
DcompletionsElementAccessNumeric.ts18 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…
DcompletionListInvalidMemberNames_escapeQuote.ts6 const replacementSpan = test.ranges()[0]; constant
9 exact: { name: `"'`, insertText: `["\\"'"]`, replacementSpan },
15 exact: { name: `"'`, insertText: `['"\\'']`, replacementSpan },
DcompletionForStringLiteral3.ts13 { name: "A", replacementSpan: test.ranges()[0] },
14 { name: "B", replacementSpan: test.ranges()[0] },
15 { name: "C", replacementSpan: test.ranges()[0] }
DcompletionForStringLiteral7.ts10 name, replacementSpan: test.ranges()[0]
13 name, replacementSpan: test.ranges()[1]
16 name, replacementSpan: test.ranges()[2]

1234