Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 23 of 23) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dcomponent_map.ts124 Object.keys(COMPONENT_MAP).forEach((componentName) => {
125 INNER_COMPONENT_NAMES.add(componentName);
126 JS_BIND_COMPONENTS.add(componentName);
127 if (!COMPONENT_MAP[componentName].atomic) {
128 BUILDIN_CONTAINER_COMPONENT.add(componentName);
130 AUTOMIC_COMPONENT.add(componentName);
132 if (COMPONENT_MAP[componentName].single) {
133 SINGLE_CHILD_COMPONENT.add(componentName);
135 if (COMPONENT_MAP[componentName].children) {
136 SPECIFIC_CHILD_COMPONENT.set(componentName,
[all …]
Dvalidate_ui_syntax.ts298 const componentName: string = component.getText(); constant
305 componentCollection.customComponents.add(componentName);
310 componentCollection.entryComponent = componentName;
316 componentCollection.previewComponent.push(componentName);
322 componentCollection.customDialogs.add(componentName);
326 storedFileInfo.getCurrentArkTsFile().recycleComponents.add(componentName);
332 const message: string = `The struct '${componentName}' use invalid decorator.`;
337 const message: string = `The struct '${componentName}' should use decorator '@Component'.`;
340 if (BUILDIN_STYLE_NAMES.has(componentName)) {
341 const message: string = `The struct '${componentName}' cannot have the same name ` +
[all …]
Dprocess_ui_syntax.ts362 const componentName: string = isCustomDialogControllerPropertyAssignment(item, log);
363 if (componentName !== null) {
365 item as ts.PropertyAssignment, componentName);
381 const componentName: string = getName(node.initializer); constant
382 if (componentCollection.customDialogs.has(componentName)) {
383 return componentName;
402 node: ts.PropertyAssignment, componentName: string): ts.PropertyAssignment {
405 processCustomDialogControllerBuilder(parent, node.initializer, componentName));
410 node: ts.CallExpression, componentName: string): ts.ArrowFunction {
411 …const newExp: ts.Expression = createCustomComponentNewExpression(node, componentName, false, false…
[all …]
Dprocess_import.ts323 let componentName: string;
390 const componentName: string = node.name.getText(); constant
401 } else if (asNameFromParent.has(componentName)) {
402 … setDependencies(asNameFromParent.get(componentName), ComponentSet.links, ComponentSet.properties,
409 setDependencies(componentName, ComponentSet.links, ComponentSet.properties, ComponentSet.props,
Dprocess_component_build.ts637 const componentName: string = res.identifierNode.getText(); constant
655 isTransition, undefined, immutableStatements, componentName);
661 isTransition, undefined, immutableStatements, componentName);
732 nameResult: NameResult, immutableStatements: ts.Statement[], componentName: string): void {
736 innerCompStatements.push(createComponentCreationStatement(node, newStatements, componentName,
742 componentName: string, isGlobalBuilder: boolean = false, isTransition: boolean = false,
769 ts.factory.createIdentifier(componentName));
2441 const componentName: string = identifierNode.escapedText.toString(); constant
2442 …if (EXTEND_ATTRIBUTE.has(componentName) && [...EXTEND_ATTRIBUTE.get(componentName)].includes(propN…
2448 if (animatableExtendAttribute.has(componentName) &&
[all …]
Dprocess_custom_component.ts195 export function isRecycle(componentName: string): boolean {
196 return storedFileInfo.getCurrentArkTsFile().recycleComponents.has(componentName);
207 function componentAttributes(componentName: string): ts.Statement {
211 ts.factory.createIdentifier(componentName),
Dprocess_component_member.ts309 function createControllerSet(node: ts.PropertyDeclaration, componentName: ts.Identifier,
311 if (componentCollection.customDialogs.has(componentName.getText()) && node.type &&
769 function addCustomComponentId(node: ts.NewExpression, componentName: string,
780 if (componentName === name) {
Dprocess_component_class.ts784 function validateHasController(componentName: ts.Identifier, checkController: ControllerType,
790 pos: componentName.pos
Dutils.ts876 componentName: string; property
Dets_checker.ts790 compName: isExtendFunction(node, { decoratorName: '', componentName: '' })});
/developtools/ace_js2bundle/ace-loader/test/lite/
Dtest.js23 function getJsBundle(componentName) { argument
27 `${componentName}`,
28 `${componentName}.js`
35 function getExpectedObj(componentName) { argument
37 const filepath = path.join(__dirname, "expected", `${componentName}.js`);
60 function expectActual(componentName) { argument
61 const actualStr = getJsBundle(componentName);
65 getExpectedObj(componentName)
/developtools/ace_js2bundle/ace-loader/test/rich/
Dtest.js25 function getActualString(componentName) { argument
26 … filePath = path.join(__dirname, 'testcase/build/pages', `${componentName}`, `${componentName}.js`…
32 function getExpectJSON(componentName) { argument
34 const filepath = path.join(__dirname, 'expected', `${componentName}.js`);
71 $app_define$ = function(componentName, deps, factory) { argument
72 if (components[componentName]) {
73 throw new Error(`${componentName} is defined repeatly`);
81 components[componentName] = $app_module$.exports;
/developtools/ace_js2bundle/ace-loader/test/card/
Dtest.js25 function getActualJSON(componentName, filaName) { argument
26 …const filePath = path.join(__dirname,"testcase/build/pages",`${componentName}`, filaName + `.json`…
35 function getExpectJSON(componentName, filaName) { argument
36 const filePath = path.join(__dirname, "expected", `${componentName}`, filaName + `.json`);
/developtools/ace_ets2bundle/compiler/
Dbuild_declarations_file.js148 const componentName = node.name.getText().replace(/Interface$/, '');
149 const result = validateComponentMembers(node, componentName);
157 if (addTSInterfaceSet.includes(componentName)) {
160 ….createExpressionWithTypeArguments(ts.factory.createIdentifier('TS' + componentName + 'Interface'),
173 function validateComponentMembers(node, componentName) { argument
181 if (componentName === callSignName) {
/developtools/profiler/host/smartperf/trace_streamer/
DREADME.md101 * @ componentName: 第三方插件名称
104 …TraceStreamer_Plugin_Out_SendData(const char* pluginData, int len, const std::string componentName)
/developtools/smartperf_host/trace_streamer/
DREADME.md101 * @ componentName: 第三方插件名称
104 …TraceStreamer_Plugin_Out_SendData(const char* pluginData, int len, const std::string componentName)
/developtools/profiler/host/smartperf/trace_streamer/src/rpc/
Drpc_server.cpp81 std::string componentName = comPonentStr.at(m + 1); in TraceStreamer_Init_ThirdParty_Config() local
82 … TS_LOGE("comPonentStr[m] = %d, comPonentStr[m + 1] = %s", componentId, componentName.c_str()); in TraceStreamer_Init_ThirdParty_Config()
83 …_thirdPartyConfig.insert((std::map<int32_t, std::string>::value_type(componentId, componentName))); in TraceStreamer_Init_ThirdParty_Config()
Dwasm_func.h46 …eStreamer_Plugin_Out_Filter(const char* pluginData, int32_t len, const std::string& componentName);
Dwasm_func.cpp95 …ceStreamer_Plugin_Out_Filter(const char* pluginData, int32_t len, const std::string& componentName) in TraceStreamer_Plugin_Out_Filter() argument
100 if (itor->second == componentName) { in TraceStreamer_Plugin_Out_Filter()
/developtools/smartperf_host/trace_streamer/src/rpc/
Dwasm_func.h46 …eStreamer_Plugin_Out_Filter(const char* pluginData, int32_t len, const std::string& componentName);
Drpc_server.cpp96 std::string componentName = comPonentStr.at(m + 1); in TraceStreamer_Init_ThirdParty_Config() local
97 … TS_LOGE("comPonentStr[m] = %d, comPonentStr[m + 1] = %s", componentId, componentName.c_str()); in TraceStreamer_Init_ThirdParty_Config()
98 …_thirdPartyConfig.insert((std::map<int32_t, std::string>::value_type(componentId, componentName))); in TraceStreamer_Init_ThirdParty_Config()
Dwasm_func.cpp114 …ceStreamer_Plugin_Out_Filter(const char* pluginData, int32_t len, const std::string& componentName) in TraceStreamer_Plugin_Out_Filter() argument
119 if (itor->second == componentName) { in TraceStreamer_Plugin_Out_Filter()
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/doc/
DTraceStreamerSDK.md225 `componentName: 第三方插件名称。`
230 …TraceStreamer_Plugin_Out_SendData(const char* pluginData, int len, const std::string componentName)