Home
last modified time | relevance | path

Searched refs:emptyArray (Results 1 – 25 of 125) sorted by relevance

12345

/third_party/typescript/src/testRunner/unittests/tsserver/
DsyntacticServer.ts51 checkProjectActualFiles(project, emptyArray);
57 checkProjectActualFiles(project, emptyArray);
64 checkProjectActualFiles(project, emptyArray);
68 checkProjectActualFiles(project, emptyArray);
73 checkProjectActualFiles(project, emptyArray);
77 checkProjectActualFiles(project, emptyArray);
81 checkWatchedFiles(host, emptyArray);
82 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
83 checkWatchedDirectories(host, emptyArray, /*recursive*/ false);
139 checkProjectActualFiles(project, emptyArray); // Should not contain atTypes
[all …]
DprojectReferenceErrors.ts38 diagnostics: emptyArray
46 diagnostics: emptyArray
146 syntax: emptyArray,
156 suggestion: emptyArray
163 syntax: emptyArray,
173 suggestion: emptyArray
215 syntax: emptyArray,
225 suggestion: emptyArray
232 syntax: emptyArray,
242 suggestion: emptyArray
DwatchEnvironment.ts68 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
210 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
278 checkWatchedFiles(host, emptyArray);
362 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
403 checkWatchedDirectories(host, emptyArray, /*recursive*/ false);
404 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
520 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
565 checkWatchedDirectories(host, emptyArray, /*recursive*/ false);
566 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
610 checkWatchedDirectories(host, emptyArray, /*recursive*/ false);
[all …]
DpartialSemanticServer.ts49 checkWatchedFiles(host, emptyArray);
50 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
51 checkWatchedDirectories(host, emptyArray, /*recursive*/ false);
278 assert.deepEqual(project.getPackageJsonsForAutoImport(), emptyArray);
DexternalProjects.ts29 checkProjectActualFiles(project, emptyArray);
528 emptyArray : // Since no files opened from this project, its not loaded
588 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project…
657 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project…
658 …checkProjectActualFiles(configuredProjectAt(projectService, 1), emptyArray); // Configured project…
693 …checkProjectActualFiles(configuredProjectAt(projectService, 0), emptyArray); // Configured project…
694 …checkProjectActualFiles(configuredProjectAt(projectService, 1), emptyArray); // Configured project…
827 checkProjectActualFiles(project, emptyArray);
/third_party/node/deps/npm/node_modules/JSONStream/test/
Dempty.js36 var emptyArray = makeReadableStream()
37 emptyArray.pipe(parser1)
38 emptyArray.write('{"docs":[]}')
39 emptyArray.end()
/third_party/typescript/src/server/
DtypingsCache.ts41 if ((arr1 || emptyArray).length === 0 && (arr2 || emptyArray).length === 0) {
117 typings: entry ? entry.typings : emptyArray,
135 return !typeAcquisition || !typeAcquisition.enable ? emptyArray : typings;
Dproject.ts214 typingFiles: SortedReadonlyArray<string> = emptyArray;
387 this.program?.getSourceFiles() || emptyArray,
417 return ts.emptyArray;
428 return addRange(result, this.typingFiles) || ts.emptyArray;
628 return filter(this.projectErrors, diagnostic => !diagnostic.file) || emptyArray;
635 return this.projectErrors || emptyArray;
699 return { emitSkipped: true, diagnostics: emptyArray };
887 return emptyArray;
1055 … readonly Path[] = this.resolutionCache.finishRecordingFilesWithChangedResolutions() || emptyArray;
1226 … const oldExternalFiles = this.externalFiles || emptyArray as SortedReadonlyArray<string>;
[all …]
/third_party/typescript/src/testRunner/unittests/tscWatch/
DprogramUpdates.ts28 changes: emptyArray
48 changes: emptyArray
80 changes: emptyArray
114 changes: emptyArray
308 changes: emptyArray
370 changes: emptyArray
481 changes: emptyArray
670 changes: emptyArray
751 changes: emptyArray
837 changes: emptyArray
[all …]
DwatchEnvironment.ts163 changes: emptyArray
359 changes: emptyArray
378 changes: emptyArray
397 changes: emptyArray
412 changes: emptyArray
Dhelpers.ts171 … ...map(logsBeforeErrors || emptyArray, expected => hostOutputLog(expected, "logBeforeError")),
183 …...map(logsBeforeWatchDiagnostic || emptyArray, expected => hostOutputLog(expected, "logsBeforeWat…
185 … ...map(logsBeforeErrors || emptyArray, expected => hostOutputLog(expected, "logBeforeError")),
197 …...map(logsBeforeWatchDiagnostic || emptyArray, expected => hostOutputLog(expected, "logsBeforeWat…
199 … ...map(logsBeforeErrors || emptyArray, expected => hostOutputLog(expected, "logBeforeError")),
214 emptyArray
DresolutionCache.ts130 checkOutputErrorsIncremental(host, emptyArray);
161 checkOutputErrorsInitial(host, emptyArray);
175 checkOutputErrorsIncremental(host, emptyArray);
450 changes: emptyArray
/third_party/typescript/src/services/refactors/
DgenerateGetAccessorAndSetAccessor.ts28 if (!context.endPosition) return emptyArray;
30 if (!info) return emptyArray;
48 return emptyArray;
DinferFunctionReturnType.ts29 if (!info) return emptyArray;
44 return emptyArray;
/third_party/typescript/src/services/codefixes/
DannotateWithTypeFromJSDoc.ts80 return factory.createTypeReferenceNode("any", emptyArray);
101 …sitNode(node.type, transformJSDocType), factory.createTypeReferenceNode("undefined", emptyArray)]);
105 …e([visitNode(node.type, transformJSDocType), factory.createTypeReferenceNode("null", emptyArray)]);
115 …return factory.createFunctionTypeNode(emptyArray, node.parameters.map(transformJSDocParameter), no…
149 … args = factory.createNodeArray([factory.createTypeReferenceNode("any", emptyArray)]);
DconvertToAsyncFunction.ts68 …ody) ? getReturnStatementsWithPromiseHandlers(functionToConvertRenamed.body, checker) : emptyArray;
220 const numVarsSameName = (originalNames.get(name.text) || emptyArray).length;
227 return emptyArray;
282 …unc ? getTransformationBody(func, possibleNameForVarDecl, argName, node, transformer) : emptyArray;
436 …iseHandler(funcBody, transformer.checker) ? [factory.createReturnStatement(funcBody)] : emptyArray;
465 return emptyArray;
601 …indingPattern: BindingPattern, elements: readonly SynthBindingName[] = emptyArray, types: Type[] =…
/third_party/typescript/src/testRunner/unittests/services/
DlanguageService.ts61 diagnostics: emptyArray,
62 outputFiles: emptyArray,
75 diagnostics: emptyArray,
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/array_literals/
Darray_literal_3.ts25 const emptyArray: any[] = []; constant
26 Assert.isUndefined(emptyArray[0]);
/third_party/typescript/src/testRunner/unittests/tsbuild/
DwatchEnvironment.ts30 checkOutputErrorsInitial(system, emptyArray, /*disableConsoleClears*/ undefined, [
53 checkOutputErrorsIncremental(system, emptyArray);
113 …checkOutputErrorsIncremental(system, emptyArray, /*disableConsoleClears*/ undefined, /*logsBeforeW…
DmoduleResolution.ts58 changes: emptyArray
66 changes: emptyArray
DwatchMode.ts141 changes: emptyArray
151 checkWatchedDirectories(system, emptyArray, /*recursive*/ false);
154 checkOutputErrorsInitial(system, emptyArray);
445 verifyIncrementalErrors("when preserveWatchOutput is not used", emptyArray);
558 …checkWatchedDirectoriesDetailed(host, expectedWatchedDirectories || emptyArray, 1, /*recursive*/ f…
588 checkOutputErrorsInitial(host, emptyArray);
654 checkOutputErrorsIncremental(host, emptyArray);
811 ] : emptyArray;
904 checkOutputErrorsIncremental(host, emptyArray);
949 expectedEditErrors: emptyArray,
[all …]
/third_party/typescript/tests/baselines/reference/
DimplicitAnyWidenToAny.symbols14 var emptyArray = [];
15 >emptyArray : Symbol(emptyArray, Decl(implicitAnyWidenToAny.ts, 4, 3))
DimplicitAnyWidenToAny.js6 var emptyArray = []; variable
35 var emptyArray = []; variable
/third_party/typescript/src/services/
DnavigateTo.ts13 if (!patternMatcher) return emptyArray;
94 return emptyArray;
104 return emptyArray;
/third_party/typescript/src/testRunner/unittests/
DmoduleResolution.ts610 () => emptyArray
637 emptyArray,
674 emptyArray,
711 emptyArray,
749 emptyArray,
802 emptyArray,
865 emptyArray,
906 () => emptyArray
922 () => emptyArray

12345