Home
last modified time | relevance | path

Searched refs:resourcePath (Results 1 – 12 of 12) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dpre_process.ts38 if (/\.ets$/.test(this.resourcePath)) {
41 const result: ReplaceResult = sourceReplace(source, this.resourcePath);
44 this.resourcePath, this.resourceQuery));
45 newContent = parseVisual(this.resourcePath, this.resourceQuery, newContent, log, source);
51 return processSystemApi(source, false, this.resourcePath);
Dresult_process.ts39 source = processSystemApi(source, true, this.resourcePath);
40 if (/\.(ets|ts)$/.test(this.resourcePath)) {
51 …ilityConfig.projectAbilityPath).concat(abilityConfig.testRunnerFile).includes(this.resourcePath)) {
57 generateSourceFilesToTemporary(this.resourcePath, source, map, projectConfig, logger);
61 generateSourceFilesInHar(this.resourcePath, source, '.js', projectConfig);
Dprocess_visual.ts99 export function parseVisual(resourcePath: string, resourceQuery: string, content: string,
101 let code: string | null = getParsedContent(content, resourcePath, log);
105 const result: ReplaceResult = sourceReplace(code, resourcePath);
108 const resultLog: LogInfo[] = validateUISyntax(source, code, resourcePath, resourceQuery);
111 generateSourceMapForNewAndOriEtsFile(resourcePath, source);
245 function generateSourceMapForNewAndOriEtsFile(resourcePath: string, content: string) {
250 file: resourcePath
266 source: resourcePath,
273 const visualMapName: string = path.parse(resourcePath).name + SUPERVISUAL_SOURCEMAP_EXT;
274 const visualDirPath: string = path.parse(resourcePath).dir;
Dprocess_har_writejs.ts20 generateSourceFilesInHar(this.resourcePath, source, '.js', projectConfig);
Dprocess_source_file.ts27 writeFileSyncByString(this.resourcePath, source, projectConfig, logger);
Dutils.ts93 resourcePath: string = null): void {
98 … fastBuild ? loader.error('\u001b[31m' + getMessage(item.fileName || resourcePath, item, true)) :
99 loader.emitError(getMessage(item.fileName || loader.resourcePath, item));
102 … fastBuild ? loader.warn('\u001b[33m' + getMessage(item.fileName || resourcePath, item, true)) :
103 loader.emitWarning(getMessage(item.fileName || loader.resourcePath, item));
106 … fastBuild ? loader.info('\u001b[34m' + getMessage(item.fileName || resourcePath, item, true)) :
107 loader.emitWarning(getMessage(loader.resourcePath, item));
/developtools/ace_js2bundle/ace-loader/src/
Dloader-gen.js186 …let jsFileName = this.resourcePath.replace(process.env.aceSuperVisualPath, process.env.projectPath)
192 jsonLoaders('template', undefined, true, 'template'), this.resourcePath)
194 jsonLoaders('style', undefined, true, 'style'), this.resourcePath)
196 jsonLoaders('json', undefined, true, 'json'), this.resourcePath)
205 output += `$app_bootstrap$('@app-component/${getNameByPath(this.resourcePath)}'`
230 source: that.resourcePath
231 }), that.resourcePath)
239 source: that.resourcePath
240 }), that.resourcePath)
244 $app_define$('@app-component/${getNameByPath(that.resourcePath)}', [],
Dcard-loader.js36 const resourcePath = this.resourcePath
37 const fileName = resourcePath.replace(path.extname(resourcePath).toString(), '')
39 output += 'var card_template =' + getRequireString(this, jsonLoaders('template'), resourcePath)
63 const compResourcepath = path.join(resourcePath, '..', item.src)
Dmodule-script.js21 source = parseRequireModule(source, this.resourcePath);
/developtools/global_resource_tool/include/
Dresource_append.h40 bool ScanResources(const std::string &resourcePath, const std::string &outputPath);
41 bool ScanSubResources(const FileEntry entry, const std::string &resourcePath,
43 bool ScanSubLimitkeyResources(const FileEntry entry, const std::string &resourcePath,
45 bool ScanIegalResources(const std::string &resourcePath, const std::string &outputPath);
/developtools/global_resource_tool/src/
Dresource_append.cpp111 bool ResourceAppend::ScanResources(const string &resourcePath, const string &outputPath) in ScanResources() argument
113 if (!ResourceUtil::FileExist(resourcePath)) { in ScanResources()
114 …ePath = FileEntry::FilePath(outputPath).Append(ResourceUtil::GenerateHash(resourcePath)).GetPath(); in ScanResources()
122 FileEntry entry(resourcePath); in ScanResources()
128 return ScanSingleFile(resourcePath, outputPath); in ScanResources()
131 return ScanSubResources(entry, resourcePath, outputPath); in ScanResources()
134 bool ResourceAppend::ScanSubResources(const FileEntry entry, const string &resourcePath, const stri… in ScanSubResources() argument
150 return ScanIegalResources(resourcePath, outputPath); in ScanSubResources()
153 return ScanSubLimitkeyResources(entry, resourcePath, outputPath); in ScanSubResources()
156 bool ResourceAppend::ScanSubLimitkeyResources(const FileEntry entry, const string &resourcePath, in ScanSubLimitkeyResources() argument
[all …]
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcomponent_validator.js1141 function validateAttr(resourcePath, attrName, attrValue, out, tagName, nodeLoc, relativePath) { argument
1175 if (!resourcePath) {
1179 resourcePath = resourcePath.substring(0, resourcePath.lastIndexOf(path.sep) + 1)
1180 attrValue = path.resolve(resourcePath, attrValue)