Lines Matching refs:componentName
295 const componentName: string = component.getText(); constant
302 componentCollection.customComponents.add(componentName);
307 componentCollection.entryComponent = componentName;
313 componentCollection.previewComponent.push(componentName);
319 componentCollection.customDialogs.add(componentName);
323 storedFileInfo.getCurrentArkTsFile().recycleComponents.add(componentName);
329 const message: string = `The struct '${componentName}' use invalid decorator.`;
334 const message: string = `The struct '${componentName}' should use decorator '@Component'.`;
337 if (BUILDIN_STYLE_NAMES.has(componentName)) {
338 const message: string = `The struct '${componentName}' cannot have the same name ` +
339 `as the built-in attribute '${componentName}'.`;
342 if (INNER_COMPONENT_NAMES.has(componentName)) {
343 const message: string = `The struct '${componentName}' cannot have the same name ` +
344 `as the built-in component '${componentName}'.`;
415 const extendResult: ExtendResult = { decoratorName: '', componentName: '' };
425 collectExtend(EXTEND_ATTRIBUTE, extendResult.componentName, node.name.getText());
429 extendResult.componentName, node.name.getText());
618 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
621 `The component '${componentName}' can't have any child.` :
622 `When the component '${componentName}' set '${isCheckType.name}' is '${isCheckType.value}'` +
672 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
675 `The component '${componentName}' can only have a single child component.` :
676 `When the component '${componentName}' set '${isCheckType.name}' is ` +
750 const componentName: string = node.expression.escapedText.toString(); constant
751 return componentName === COMPONENT_FOREACH || componentName === COMPONENT_LAZYFOREACH;
784 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
787 Array.from(SPECIFIC_CHILD_COMPONENT.get(componentName)).join(' and ');
789 `The component '${componentName}' can only have the child component ${specificChildArray}.`;
918 const componentName: string = node.name.getText(); constant
920 propertyCollection.set(componentName, ComponentSet.properties);
921 stateCollection.set(componentName, ComponentSet.states);
922 linkCollection.set(componentName, ComponentSet.links);
923 propCollection.set(componentName, ComponentSet.props);
924 regularCollection.set(componentName, ComponentSet.regulars);
925 storagePropCollection.set(componentName, ComponentSet.storageProps);
926 storageLinkCollection.set(componentName, ComponentSet.storageLinks);
927 provideCollection.set(componentName, ComponentSet.provides);
928 consumeCollection.set(componentName, ComponentSet.consumes);
929 objectLinkCollection.set(componentName, ComponentSet.objectLinks);
930 localStorageLinkCollection.set(componentName, ComponentSet.localStorageLink);
931 localStoragePropCollection.set(componentName, ComponentSet.localStorageProp);
932 builderParamObjectCollection.set(componentName, ComponentSet.builderParams);
933 builderParamInitialization.set(componentName, ComponentSet.builderParamData);
934 propInitialization.set(componentName, ComponentSet.propData);
1315 export function getLocalStorageCollection(componentName: string, collection: Set<string>): void {
1316 if (localStorageLinkCollection.get(componentName)) {
1317 for (const key of localStorageLinkCollection.get(componentName).keys()) {
1321 if (localStoragePropCollection.get(componentName)) {
1322 for (const key of localStoragePropCollection.get(componentName).keys()) {