Home
last modified time | relevance | path

Searched refs:getSemanticDiagnostics (Results 1 – 25 of 65) sorted by relevance

123

/third_party/typescript/tests/cases/fourslash/
DjsFileCompilationDuplicateFunctionImplementation.ts15 verify.getSemanticDiagnostics([]);
17 verify.getSemanticDiagnostics([{
25 verify.getSemanticDiagnostics([{
30 verify.getSemanticDiagnostics([]);
DunusedAmbient1.ts19 verify.getSemanticDiagnostics([]);
27 verify.getSemanticDiagnostics([]);
DunusedAmbient2.ts23 verify.getSemanticDiagnostics([]);
38 verify.getSemanticDiagnostics([]);
DgetJavaScriptSyntacticDiagnostics22.ts7 verify.getSemanticDiagnostics([]);
DgetJavaScriptSyntacticDiagnostics21.ts8 verify.getSemanticDiagnostics([]);
DetsCheckCustomComponentNameInBuild.ts21 verify.getSemanticDiagnostics([{ message: "Cannot find name 'MyComponent11'. Did you mean 'MyCompon…
DetsCheckCustomFunctionNameForNestUseInStruct.ts22 verify.getSemanticDiagnostics([{ message: "Property 'test12' does not exist on type 'MyComponent'. …
DetsCheckDecoratorNameForStruct.ts16 verify.getSemanticDiagnostics([{ message: "Cannot find name 'Entry1'. Did you mean 'Entry'?", code:…
DetsCheckStructName.ts15 verify.getSemanticDiagnostics([{message: "The struct name cannot contain reserved tag name: 'Butto…
DetsAdvancedFeatureGenericityCheck.ts27 verify.getSemanticDiagnostics([{ message: "Expected 1 arguments, but got 0.", code: 2554 }]);
DetsCheckCustomComponentPropsOfChainCallInBuild.ts15 verify.getSemanticDiagnostics([{ message: "Property 'test' does not exist on type 'TextAttribute'."…
DetsCheckCustomComponentPropsInBuild.ts21 verify.getSemanticDiagnostics([{ message: "Property 'nud' does not exist on type 'MyComponent'.", c…
DimportTypesDeclarationDiagnosticsNoServerError.ts14 verify.getSemanticDiagnostics([]);
DetsCheckComponentPropsInChainCallInExtendBlock.ts13 verify.getSemanticDiagnostics([{ message: "Property 'func' does not exist on type 'TextAttribute'."…
DetsCheckCustomFunctionParamsForNestUseInStruct.ts22 verify.getSemanticDiagnostics([{ message: "Expected 1 arguments, but got 0.", code: 2554 }])
DgetJavaScriptSyntacticDiagnostics23.ts14 verify.getSemanticDiagnostics([]);
DetsCheckComponentPropsInChainCallInStylesBlock.ts13 verify.getSemanticDiagnostics([{ message: "Property 'func' does not exist on type 'CommonAttribute'…
DsuggestionNoDuplicates.ts10 verify.getSemanticDiagnostics([])
DjsDocAugmentsAndExtends.ts28 verify.getSemanticDiagnostics([{
/third_party/typescript/src/testRunner/unittests/
DreuseProgramStructure.ts235 … const program1Diagnostics = program1.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
236 … const program2Diagnostics = program2.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
246 … const program1Diagnostics = program1.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
247 … const program2Diagnostics = program2.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
488 …const initialProgramDiagnostics = initialProgram.getSemanticDiagnostics(initialProgram.getSourceFi…
513 …const afterNpmInstallProgramDiagnostics = afterNpmInstallProgram.getSemanticDiagnostics(afterNpmIn…
661 … const program1Diagnostics = program1.getSemanticDiagnostics(program1.getSourceFile("f2.ts"));
671 … const program2Diagnostics = program2.getSemanticDiagnostics(program2.getSourceFile("f2.ts"));
700 … const program3Diagnostics = program3.getSemanticDiagnostics(program3.getSourceFile("f2.ts"));
725 … const program4Diagnostics = program4.getSemanticDiagnostics(program4.getSourceFile("f2.ts"));
[all …]
DprogramApi.ts193 const diag = program.getSemanticDiagnostics();
206 assert.isEmpty(program.getSemanticDiagnostics());
222 assert.isEmpty(program.getSemanticDiagnostics());
/third_party/typescript/src/testRunner/unittests/config/
DprojectReferences.ts196 const errs = program.getSemanticDiagnostics(program.getSourceFile("/primary/a.ts"));
266 …assertHasError("Found a type error", program.getSemanticDiagnostics(), Diagnostics.Module_0_has_no…
284 …assertHasError("Issues a useful error", program.getSemanticDiagnostics(), Diagnostics.Output_file_…
306 …assertHasError("Issues a useful error", program.getSemanticDiagnostics(), Diagnostics.Output_file_…
346 …const semanticDiagnostics = program.getSemanticDiagnostics(program.getSourceFile("/alpha/src/a.ts"…
/third_party/typescript/tests/cases/fourslash/server/
DconfigurePlugin.ts20 verify.getSemanticDiagnostics([{ message: "configured error", code: 9999, range: { pos: 0, end: 3, …
22 verify.getSemanticDiagnostics([{ message: "new error", code: 9999, range: { pos: 0, end: 3, fileNam…
/third_party/typescript/src/testRunner/unittests/tsserver/
DcachingFileSystemInformation.ts181 const diags = project.getLanguageService().getSemanticDiagnostics(imported.path);
241 let diags = project.getLanguageService().getSemanticDiagnostics(root.path);
252 diags = project.getLanguageService().getSemanticDiagnostics(root.path);
478 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file1.path).map(diag => diag.…
479 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file2.path).map(diag => diag.…
490 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file1.path).map(diag => diag.…
491 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(file2.path).map(diag => diag.…
698 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(app.path).map(diag => diag.me…
715 …assert.deepEqual(project.getLanguageService().getSemanticDiagnostics(app.path).map(diag => diag.me…
/third_party/typescript/src/compiler/
Dbuilder.ts924 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
1092 … state.program.getSemanticDiagnostics(/*targetSourceFile*/ undefined, cancellationToken),
1126 …function getSemanticDiagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): r… function
1132 … return Debug.checkDefined(state.program).getSemanticDiagnostics(sourceFile, cancellationToken);
1220 getSemanticDiagnostics: notImplemented,
1255getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sou…

123