Home
last modified time | relevance | path

Searched full:diagnostics (Results 1 – 21 of 21) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/src/compiler/
DCompiler.ts38 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/
DGetTscDiagnostics.ts21 * 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);
DTransformTscDiagnostics.ts22 strictDiagnostics.forEach((diagnostics, file) => {
25 diagnostics.map((x) => {
DTypeScriptDiagnosticsExtractor.ts19 * 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/
DCompiler.ts21 import { TSCCompiledProgramWithDiagnostics } from '../lib/ts-diagnostics/TSCCompiledProgram';
29 const diagnostics = ts.getPreEmitDiagnostics(program); constant
30 logTscDiagnostic(diagnostics, Logger.info);
DCommandLineParser.ts232 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/
DRunArkTSLinter.ts21 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.
DSdkTSCCompiledProgram.ts18 import type { TSCCompiledProgram } from '../../lib/ts-diagnostics/TSCCompiledProgram';
41 * Updates all diagnostics in TSC compilation program after the incremental build.
DSdkTypeScriptDiagnosticsExtractor.ts19 * Returns diagnostics which appear in strict compilation mode only
40 // return diagnostics which weren't detected in non-strict mode
DLintParameter.ts26 diagnostics: ts.Diagnostic[]; property
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/functions/
DLogTscDiagnostic.ts18 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/
DLogTscDiagnostics.ts20 export function logTscDiagnostics(diagnostics: readonly ts.Diagnostic[], logLevel: LogLevel): void {
21 for (const diagnostic of diagnostics) {
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2diagnostics).forEach((e=>{_.printDiagnostic(e)}))}(r.fileNames.concat(l.CmdOptions.getIncludedFile… property
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/
DLinterConfig.ts17 import type { TSCCompiledProgram } from './ts-diagnostics/TSCCompiledProgram';
DLinterRunner.ts30 import { getTscDiagnostics } from './ts-diagnostics/GetTscDiagnostics';
31 import { transformTscDiagnostics } from './ts-diagnostics/TransformTscDiagnostics';
DTypeScriptLinter.ts825 // 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/
Dtoolchain.gni33 # Use absolute file paths in the compiler diagnostics and __FILE__ macro
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dlda.const.yaml25 diagnostics on constant array definition error.
71 Check that compiler and/or verifier produce meaningful diagnostics
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.const.yaml25 diagnostics on constant array definition error.
72 Check that compiler and/or verifier produce meaningful diagnostics
/arkcompiler/toolchain/build/config/compiler/
DBUILD.gn336 cflags += [ "-fcolor-diagnostics" ]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D13_modules.rst1621 If an unhandled error or exception occur, then proper diagnostics is displayed.