Home
last modified time | relevance | path

Searched refs:errorInfo (Results 1 – 7 of 7) sorted by relevance

/interface/sdk-js/build-tools/api_check_plugin/src/
Dcheck_deprecated.js27 let errorInfo = "";
37 if (errorInfo !== "") {
38 errorInfo += `,${note}`;
40 errorInfo += note;
47 if (errorInfo !== "") {
48 errorInfo += `,${note}`;
50 errorInfo += note;
56 if (errorInfo !== "") {
57 errorInfo += `,${note}`;
59 errorInfo += note;
[all …]
Dcheck_permission.js33 let errorInfo = "";
43 if (errorInfo !== "") {
44 errorInfo += `,${item}`;
46 errorInfo += item;
54 if (errorInfo !== "") {
55 errorInfo += `,${permissionNote}`;
57 errorInfo += permissionNote;
66 addAPICheckErrorLogs(node, sourcefile, fileName, error_type.UNKNOW_PERMISSION, errorInfo);
Dcheck_decorator.js32 let errorInfo = "";
40 if (errorInfo !== "") {
41 errorInfo += `,${apiDecorator}`;
43 errorInfo += apiDecorator;
50 errorInfo += `.`;
51 addAPICheckErrorLogs(node, sourcefile, fileName, error_type.UNKNOW_DECORATOR, errorInfo);
Dcheck_syscap.js47 let errorInfo = "";
52 if (errorInfo !== "") {
53 errorInfo += `,${syscapNote}`;
55 errorInfo += syscapNote;
57 … addAPICheckErrorLogs(node, sourcefile, fileName, error_type.UNKNOW_SYSCAP, errorInfo);
Dcheck_hump.js23 let errorInfo = '';
28 errorInfo = `This moduleName [${node.escapedText.toString()}] should be used by large hump.`;
34 errorInfo = `This moduleName [${node.escapedText.toString()}] should be used by small hump.`;
37 if (errorInfo !== '') {
38 addAPICheckErrorLogs(node, sourcefile, fileName, error_type.NAMING_ERRORS, errorInfo);
Dcompile_info.js18 function addAPICheckErrorLogs(node, sourcefile, fileName, errorType, errorInfo) { argument
34 `${posOfNode.character + 1}): ${errorInfo}`;
Dcheck_spelling.js64 …const errorInfo = `Error words in [${nodeText}]: {${errorWords}}.Do you want to spell it as [${sug…
65 addAPICheckErrorLogs(node, sourcefile, fileName, error_type.MISSPELL_WORDS, errorInfo);