Home
last modified time | relevance | path

Searched refs:completions (Results 1 – 25 of 890) sorted by relevance

12345678910>>...36

/third_party/typescript/tests/cases/fourslash/
DprotoVarInContextualObjectLiteral.ts47 verify.completions({ marker: "1", exact: [proto, p] });
49 verify.completions({ exact: p });
51 verify.completions({ marker: "2", exact: [proto, p] });
53 verify.completions({ exact: p });
55 verify.completions({ marker: "3", exact: [protoQuoted, p] })
57 verify.completions({ exact: p });
59 verify.completions({ marker: "4", exact: [protoQuoted, p] });
61 verify.completions({ exact: p });
63 verify.completions({ marker: "5", exact: [proto, tripleProto, p] });
65 verify.completions({ exact: [tripleProto, p] });
[all …]
DcompletionListWithoutVariableinitializer.ts13 verify.completions({
19 verify.completions({
25 verify.completions({
32 verify.completions({
37 verify.completions({
42 verify.completions({
47 verify.completions({
53 verify.completions({
58 verify.completions({
DcompletionListInFunctionDeclaration.ts6 verify.completions({ marker: "", exact: undefined });
8 verify.completions({ exact: undefined });
10 verify.completions({ exact: undefined });
12 verify.completions({ exact: undefined });
14 verify.completions({ exact: completion.globalTypes });
16 verify.completions({ exact: undefined });
DcompletionsStringsWithTriggerCharacter.ts24 verify.completions({ marker: '1', exact: [
28 verify.completions({ marker: "2", exact: [
32 verify.completions({ marker: "3", exact: [
36 verify.completions({ marker: "4", exact: [
40 verify.completions({ marker: "5", exact: [
44 verify.completions({ marker: "6", exact: [
48 verify.completions({ marker: "7", exact: [
DcommentsExternalModules.ts37 verify.completions({
48 verify.completions({
53 verify.completions({
67 verify.completions({
78 verify.completions(
102 verify.completions({
DcompletionsInExport.ts7 verify.completions({
15 verify.completions({
21 verify.completions({
27 verify.completions({
33 verify.completions({
DcompletionsInExport_moduleBlock.ts11 verify.completions({
19 verify.completions({
25 verify.completions({
31 verify.completions({
37 verify.completions({
DcompletionsImport_filteredByPackageJson_ambient.ts56 verify.completions({
65 verify.completions({
79 verify.completions({
93 verify.completions({
107 verify.completions({
DcompletionsJsxAttribute2.ts24 verify.completions({ marker: "1", exact: ["bar", "aria-foo"] });
25 verify.completions({ marker: "2", exact: ["bar", "aria-foo"] });
26 verify.completions({ marker: "3", exact: ["foo", "aria-foo"] });
27 verify.completions({ marker: "4", exact: ["foo", "bar"] });
DcompletionListInObjectBindingPattern15.ts19 verify.completions({ marker: "1", exact: ["xxx1", "xxx2", "xxx3", "foo"] });
20 verify.completions({ marker: "2", exact: ["prototype", "xxx4", "xxx5", "xxx6"] });
21 verify.completions({ marker: "3", exact: ["xxx3", "foo"] });
22 verify.completions({ marker: "4", exact: ["prototype", "xxx6"] });
DetsCompletionOfComponentPropsInNestUseforChainCallInBuild.ts18 verify.completions({
25 verify.completions({
32 verify.completions({
39 verify.completions({
DcompletionsSelfDeclaring3.ts7 verify.completions({
12 verify.completions({
17 verify.completions({
22 verify.completions({
DcompletionListPrivateNames.ts29 verify.completions({ marker: "1", exact: ["#z", "t", "y"] });
30 verify.completions({ marker: "2", exact: ["#z", "#u", "v"] });
31 verify.completions({ marker: "3", exact: ["#z", "t", "y"] });
32 verify.completions({ marker: "4", exact: ["y"] });
DcompletionListInTypedObjectLiteralsWithPartialPropertyNames.ts11 verify.completions({ marker: "", exact: ["x1", "y1"] });
15 verify.completions({ exact: ["x1", "y1"] });
19 verify.completions({ exact: ["x1", "y1"] })
23 verify.completions({ exact: ["y1"] });
DcompletionListInObjectLiteral5.ts23 verify.completions({ marker: ["1"], excludes: ['obj'], includes: ['o'] });
24 verify.completions({ marker: ["2"], excludes: ['obj1'], includes: ['o', 'obj'] });
25 verify.completions({ marker: ["3"], includes: ['o', 'obj', 'obj1'] });
26 verify.completions({ marker: ["4"], includes: ['o'], excludes: ['obj'], isNewIdentifierLocation: tr…
DcompletionsAtGenericTypeArguments.ts9 verify.completions({ marker: "1", exact: completion.globalTypesPlus(['Foo']) });
10 verify.completions({ marker: "2", exact: completion.globalTypesPlus(['Foo']) });
11 verify.completions({ marker: "3", exact: completion.globalTypesPlus(['Foo']) });
12 verify.completions({ marker: "4", exact: completion.globalTypesPlus(['Foo']) });
DcommentsInheritance.ts223 verify.completions({
257 verify.completions({
295 verify.completions({
328 verify.completions(
364 verify.completions({
394 verify.completions({
443 verify.completions(
492 verify.completions({
526 verify.completions({
560 verify.completions(
DaugmentedTypesModule6.ts11 verify.completions({ marker: "1", includes: "I", excludes: "foo" });
14 verify.completions({ marker: "2", includes: "m3f" });
20 verify.completions({ marker: "5", includes: "foo" });
23 verify.completions({ marker: "6", includes: "foo" });
DcompletionsJsxAttribute.ts23 verify.completions({ marker: "", exact });
25 verify.completions({ exact });
27 verify.completions({ exact: exact[1] });
29 verify.completions({ exact: exact[1] });
DcommentsModules.ts101 verify.completions({
112 verify.completions(
131 verify.completions(
142 verify.completions({ marker, includes: { name, text, documentation } });
159 verify.completions({
DjavaScriptPrototype1.ts25 verify.completions({ includes: ["foo", "bar"].map(name => ({ name, kind: "method" })) });
31 verify.completions({ includes: { name: "length", kind: "property", kindModifiers: "declare" } });
37 verify.completions({ includes: "toFixed", excludes: "substr" });
43 verify.completions({ includes: "substr", excludes: "toFixed" });
DcommentsVariables.ts46 verify.completions(
73 verify.completions({
90 verify.completions({ marker: "10", includes: { name: "i", text: "var i: c", documentation: "instanc…
91 verify.completions({ marker: "11", includes: { name: "i1_i", text: "var i1_i: i1", documentation: "…
/third_party/python/Lib/idlelib/
Dautocomplete_w.py41 self.completions = None
82 i = 0; j = len(self.completions)
85 if self.completions[m] >= s:
89 return min(i, len(self.completions)-1)
97 if self.completions[first][:len(s)] != s:
102 j = len(self.completions)
105 if self.completions[m][:len(s)] != s:
112 return self.completions[first]
115 first_comp = self.completions[first]
116 last_comp = self.completions[last]
[all …]
/third_party/node/deps/npm/node_modules/yargs/lib/
Dcompletion.js16 const completions = []
41 return completionFunction(current, argv, (completions) => {
42 done(completions)
64 completions.push(commandName)
67 completions.push(commandName.replace(/:/g, '\\:') + ':' + desc)
73 if (current.match(/^-/) || (current === '' && completions.length === 0)) {
81 completions.push(`--${key}`)
84completions.push(`--${key.replace(/:/g, '\\:')}:${desc.replace('__yargsString__:', '')}`)
90 done(completions)
/third_party/node/test/parallel/
Dtest-repl-tab-complete-crash.js17 testMe.complete('arguments.', common.mustCall((err, completions) => {
19 assert.deepStrictEqual(completions, [[], 'arguments.']);
25 testMe.complete('undef.', common.mustCall((err, completions) => {
27 assert.deepStrictEqual(completions, [[], 'undef.']);

12345678910>>...36