Searched refs:getSemanticDiagnostics (Results 1 – 25 of 65) sorted by relevance
123
/third_party/typescript/tests/cases/fourslash/ |
D | jsFileCompilationDuplicateFunctionImplementation.ts | 15 verify.getSemanticDiagnostics([]); 17 verify.getSemanticDiagnostics([{ 25 verify.getSemanticDiagnostics([{ 30 verify.getSemanticDiagnostics([]);
|
D | unusedAmbient1.ts | 19 verify.getSemanticDiagnostics([]); 27 verify.getSemanticDiagnostics([]);
|
D | unusedAmbient2.ts | 23 verify.getSemanticDiagnostics([]); 38 verify.getSemanticDiagnostics([]);
|
D | getJavaScriptSyntacticDiagnostics22.ts | 7 verify.getSemanticDiagnostics([]);
|
D | getJavaScriptSyntacticDiagnostics21.ts | 8 verify.getSemanticDiagnostics([]);
|
D | etsCheckCustomComponentNameInBuild.ts | 21 verify.getSemanticDiagnostics([{ message: "Cannot find name 'MyComponent11'. Did you mean 'MyCompon…
|
D | etsCheckCustomFunctionNameForNestUseInStruct.ts | 22 verify.getSemanticDiagnostics([{ message: "Property 'test12' does not exist on type 'MyComponent'. …
|
D | etsCheckDecoratorNameForStruct.ts | 16 verify.getSemanticDiagnostics([{ message: "Cannot find name 'Entry1'. Did you mean 'Entry'?", code:…
|
D | etsCheckStructName.ts | 15 verify.getSemanticDiagnostics([{message: "The struct name cannot contain reserved tag name: 'Butto…
|
D | etsAdvancedFeatureGenericityCheck.ts | 27 verify.getSemanticDiagnostics([{ message: "Expected 1 arguments, but got 0.", code: 2554 }]);
|
D | etsCheckCustomComponentPropsOfChainCallInBuild.ts | 15 verify.getSemanticDiagnostics([{ message: "Property 'test' does not exist on type 'TextAttribute'."…
|
D | etsCheckCustomComponentPropsInBuild.ts | 21 verify.getSemanticDiagnostics([{ message: "Property 'nud' does not exist on type 'MyComponent'.", c…
|
D | importTypesDeclarationDiagnosticsNoServerError.ts | 14 verify.getSemanticDiagnostics([]);
|
D | etsCheckComponentPropsInChainCallInExtendBlock.ts | 13 verify.getSemanticDiagnostics([{ message: "Property 'func' does not exist on type 'TextAttribute'."…
|
D | etsCheckCustomFunctionParamsForNestUseInStruct.ts | 22 verify.getSemanticDiagnostics([{ message: "Expected 1 arguments, but got 0.", code: 2554 }])
|
D | getJavaScriptSyntacticDiagnostics23.ts | 14 verify.getSemanticDiagnostics([]);
|
D | etsCheckComponentPropsInChainCallInStylesBlock.ts | 13 verify.getSemanticDiagnostics([{ message: "Property 'func' does not exist on type 'CommonAttribute'…
|
D | suggestionNoDuplicates.ts | 10 verify.getSemanticDiagnostics([])
|
D | jsDocAugmentsAndExtends.ts | 28 verify.getSemanticDiagnostics([{
|
/third_party/typescript/src/testRunner/unittests/ |
D | reuseProgramStructure.ts | 235 … 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 …]
|
D | programApi.ts | 193 const diag = program.getSemanticDiagnostics(); 206 assert.isEmpty(program.getSemanticDiagnostics()); 222 assert.isEmpty(program.getSemanticDiagnostics());
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | projectReferences.ts | 196 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/ |
D | configurePlugin.ts | 20 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/ |
D | cachingFileSystemInformation.ts | 181 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/ |
D | builder.ts | 924 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, 1255 …getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sou…
|
123