| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/compiler/ |
| D | Compiler.ts | 38 const diagnostics = ts.getPreEmitDiagnostics(program); constant 40 logTscDiagnostics(diagnostics, LogLevel.ERROR); 48 const diagnostics: ts.Diagnostic[] = []; constant 55 diagnostics.push(diagnostic); 61 diagnostics.push(...ts.getConfigFileParsingDiagnostics(parsedConfigFile)); 64 if (diagnostics.length > 0) { 67 logTscDiagnostics(diagnostics, LogLevel.ERROR);
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ts-diagnostics/ |
| D | GetTscDiagnostics.ts | 21 * Extracts TSC diagnostics emitted by strict checks. 33 const diagnostics = tscDiagnosticsLinter.getStrictDiagnostics(file.fileName); constant 34 if (diagnostics.length > 0) { 35 strictDiagnostics.set(path.normalize(file.fileName), diagnostics);
|
| D | TransformTscDiagnostics.ts | 22 strictDiagnostics.forEach((diagnostics, file) => { 25 diagnostics.map((x) => {
|
| D | TypeScriptDiagnosticsExtractor.ts | 19 * Returns diagnostics which appear in strict compilation mode only 41 // return diagnostics which weren't detected in non-strict mode
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/cli/ |
| D | Compiler.ts | 21 import { TSCCompiledProgramWithDiagnostics } from '../lib/ts-diagnostics/TSCCompiledProgram'; 29 const diagnostics = ts.getPreEmitDiagnostics(program); constant 30 logTscDiagnostic(diagnostics, Logger.info);
|
| D | CommandLineParser.ts | 232 const diagnostics: ts.Diagnostic[] = []; constant 237 diagnostics.push(diagnostic); 243 diagnostics.push(...ts.getConfigFileParsingDiagnostics(opts.parsedConfigFile)); 246 if (diagnostics.length > 0) { 249 logTscDiagnostic(diagnostics, Logger.info);
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/sdk/linter_1_1/ |
| D | RunArkTSLinter.ts | 21 import { getTscDiagnostics } from '../../lib/ts-diagnostics/GetTscDiagnostics'; 57 const diagnostics: ts.Diagnostic[] = []; constant 87 diagnostics, 97 return diagnostics; 108 lintParameter.diagnostics.push(...currentDiagnostics); 155 // Get diagnostics from old run.
|
| D | SdkTSCCompiledProgram.ts | 18 import type { TSCCompiledProgram } from '../../lib/ts-diagnostics/TSCCompiledProgram'; 41 * Updates all diagnostics in TSC compilation program after the incremental build.
|
| D | SdkTypeScriptDiagnosticsExtractor.ts | 19 * Returns diagnostics which appear in strict compilation mode only 40 // return diagnostics which weren't detected in non-strict mode
|
| D | LintParameter.ts | 26 diagnostics: ts.Diagnostic[]; property
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/functions/ |
| D | LogTscDiagnostic.ts | 18 export function logTscDiagnostic(diagnostics: readonly ts.Diagnostic[], log: (message: string) => v… 19 diagnostics.forEach((diagnostic) => {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/utils/ |
| D | LogTscDiagnostics.ts | 20 export function logTscDiagnostics(diagnostics: readonly ts.Diagnostic[], logLevel: LogLevel): void { 21 for (const diagnostic of diagnostics) {
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …diagnostics).forEach((e=>{_.printDiagnostic(e)}))}(r.fileNames.concat(l.CmdOptions.getIncludedFile… property
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ |
| D | LinterConfig.ts | 17 import type { TSCCompiledProgram } from './ts-diagnostics/TSCCompiledProgram';
|
| D | LinterRunner.ts | 30 import { getTscDiagnostics } from './ts-diagnostics/GetTscDiagnostics'; 31 import { transformTscDiagnostics } from './ts-diagnostics/TransformTscDiagnostics';
|
| D | TypeScriptLinter.ts | 825 // Filter out non-initializable property decorators from strict diagnostics. 843 // Filter out strict diagnostics within the given range with the given code.
|
| /arkcompiler/toolchain/build/toolchain/ |
| D | toolchain.gni | 33 # Use absolute file paths in the compiler diagnostics and __FILE__ macro
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | lda.const.yaml | 25 diagnostics on constant array definition error. 71 Check that compiler and/or verifier produce meaningful diagnostics
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | lda.const.yaml | 25 diagnostics on constant array definition error. 72 Check that compiler and/or verifier produce meaningful diagnostics
|
| /arkcompiler/toolchain/build/config/compiler/ |
| D | BUILD.gn | 336 cflags += [ "-fcolor-diagnostics" ]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
| D | 13_modules.rst | 1621 If an unhandled error or exception occur, then proper diagnostics is displayed.
|