Home
last modified time | relevance | path

Searched refs:StringConstant (Results 1 – 16 of 16) sorted by relevance

/interface/sdk_c/build-tools/capi_parser/
Dreadme.md4 文件下的StringConstant.LIB_CLG_PATH、StringConstant.REPLACE_WAREHOUSE、StringConstant.INCLUDE_LIB;
5 StringConstant.LIB_CLG_PATH:共享库(本地的)
7 StringConstant.INCLUDE_LIB:# 拉到本地仓的三方库路径
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
Dparser.ts24 import { StringConstant } from '../../utils/Constant';
41 …return name.endsWith(StringConstant.DTS_EXTENSION) || name.endsWith(StringConstant.DETS_EXTENSION);
62 const fileContent: string = fs.readFileSync(filePath, StringConstant.UTF8);
67 .replace(new RegExp(StringConstant.DTS_EXTENSION, 'g'), StringConstant.TS_EXTENSION)
68 .replace(new RegExp(StringConstant.DETS_EXTENSION, 'g'), StringConstant.ETS_EXTENSION);
73 sourceFileInfo.setIsStruct(filePath.endsWith(StringConstant.ETS_EXTENSION));
75 currentApiMap.set(StringConstant.SELF, [sourceFileInfo]);
108 const currentMapValue: object | undefined = currentMap.get(StringConstant.SELF);
DNodeProcessor.ts48 import { StringConstant, EventConstant } from '../../utils/Constant';
71 currentMap.set(StringConstant.SELF, references);
72 parentMap.set(StringConstant.REFERENCE, currentMap);
138 const methodInfos: BasicApiInfo[] = currentMap.get(StringConstant.SELF) as BasicApiInfo[];
145 currentMap.set(StringConstant.SELF, apiInfos);
226 … if (returnValues.length === 1 && returnValues[0].startsWith(StringConstant.PROMISE_METHOD_KEY)) {
227 methodInfo.setSync(StringConstant.PROMISE_METHOD_KEY_CHANGE);
233 … if (paramType.length === 1 && paramType[0].startsWith(StringConstant.ASYNC_CALLBACK_METHOD_KEY)) {
234 methodInfo.setSync(StringConstant.ASYNC_CALLBACK_METHOD_KEY_CHANGE);
275 …exportDefaultInfo.setApiName(StringConstant.EXPORT_DEFAULT + exportDefaultNode.expression.getText(…
[all …]
DResultsProcess.ts19 import { StringConstant } from '../../utils/Constant';
64 if (apiKey === StringConstant.SELF) {
68 return apiInfoMap.get(StringConstant.SELF) as BasicApiInfo[];
/interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/
Dparser.py24 from utils.constants import StringConstant, RegularExpressions
133 … '{}{}'.format(StringConstant.REPLACE_WAREHOUSE.value, '\\'))
137 StringConstant.REPLACE_WAREHOUSE.value)
237 generating_tables.generate_excel(result_list_total, StringConstant.RESULT_HEAD_NAME.value,
246 std_include = StringConstant.STD_INCLUDE.value
248 shutil.copytree(StringConstant.INCLUDE_LIB.value, std_include)
253 for dir_path, _, _ in os.walk(StringConstant.CREATE_LIB_PATH.value):
259 std_include = StringConstant.SELF_INCLUDE_OLD.value
261 std_include = StringConstant.SELF_INCLUDE_NEW.value
263 std_include = StringConstant.SELF_INCLUDE.value
[all …]
Dparse_include.py25 from utils.constants import StringConstant
382 libclang_path = StringConstant.LIB_CLG_PATH.value
/interface/sdk_c/build-tools/capi_parser/src/
Dmain.py44 if os.path.exists(constants.StringConstant.SYSROOT.value):
45 shutil.rmtree(constants.StringConstant.SYSROOT.value)
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dcheck_hump.ts18 import { StringConstant } from '../../../utils/Constant';
77 if (apiKey === StringConstant.SELF) {
81 return apiInfoMap.get(StringConstant.SELF) as BasicApiInfo[];
168 const fileApiInfo: BasicApiInfo = (fileInfo.get(StringConstant.SELF) as BasicApiInfo[])[0];
190 …const basename: string = path.basename(filePath).replace(new RegExp(StringConstant.DTS_EXTENSION, …
Dts_check_plugin.ts28 import { StringConstant } from '../../../utils/Constant';
84 const fileContent: string = fs.readFileSync(fileName, StringConstant.UTF8);
/interface/sdk-js/build-tools/dts_parser/test/testCase/
DrunTest.ts21 import { StringConstant } from '../../src/utils/Constant';
48 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
76 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
109 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
137 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
/interface/sdk-js/build-tools/dts_parser/src/utils/
DFileUtils.ts20 import { StringConstant } from '../utils/Constant';
45 if (dir.name === StringConstant.NOT_SCAN_DIR) {
DConstant.ts16 export enum StringConstant { enum
/interface/sdk_c/build-tools/capi_parser/src/utils/
Dconstants.py21 class StringConstant(enum.Enum): class
/interface/sdk-js/build-tools/dts_parser/src/typedef/parser/
DResultsInfo.ts17 import { StringConstant } from '../../utils/Constant';
50 …this.isStageModelOnly = jsDocInfo.getModelLimitation().toLowerCase() === StringConstant.STAGE_MODE…
52 …this.isFaModelOnly = jsDocInfo.getModelLimitation().toLowerCase() === StringConstant.FA_MODEL_ONLY;
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/statistics/
DStatistics.ts33 import { StringConstant, NumberConstant } from '../../utils/Constant';
71 if (apiKey === StringConstant.SELF) {
78 …const apiInfos: BasicApiInfo[] | BasicApiInfoMap | undefined = apiInfoMap.get(StringConstant.SELF);
156 if (basicApiInfo.getApiName() === StringConstant.CONSTRUCTOR_API_NAME) {
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/
Ddiff.ts18 import { StringConstant } from '../../utils/Constant';
210 if (apiKey === StringConstant.SELF) {
214 const apiInfos: BasicApiInfo[] = apiInfoMap.get(StringConstant.SELF) as BasicApiInfo[];