• Home
  • Raw
  • Download

Lines Matching refs:componentName

298   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 ` +
342 `as the built-in attribute '${componentName}'.`;
345 if (INNER_COMPONENT_NAMES.has(componentName)) {
346 const message: string = `The struct '${componentName}' cannot have the same name ` +
347 `as the built-in component '${componentName}'.`;
410 const extendResult: ExtendResult = { decoratorName: '', componentName: '' };
420 collectExtend(EXTEND_ATTRIBUTE, extendResult.componentName, node.name.getText());
424 extendResult.componentName, node.name.getText());
499 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
502 `The component '${componentName}' can't have any child.` :
503 `When the component '${componentName}' set '${isCheckType.name}' is '${isCheckType.value}'` +
553 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
556 `The component '${componentName}' can only have a single child component.` :
557 `When the component '${componentName}' set '${isCheckType.name}' is ` +
631 const componentName: string = node.expression.escapedText.toString(); constant
632 return componentName === COMPONENT_FOREACH || componentName === COMPONENT_LAZYFOREACH;
665 const componentName: string = (node.expression as ts.Identifier).escapedText.toString(); constant
668 Array.from(SPECIFIC_CHILD_COMPONENT.get(componentName)).join(' and ');
670 `The component '${componentName}' can only have the child component ${specificChildArray}.`;
799 const componentName: string = node.name.getText(); constant
801 propertyCollection.set(componentName, ComponentSet.properties);
802 stateCollection.set(componentName, ComponentSet.states);
803 linkCollection.set(componentName, ComponentSet.links);
804 propCollection.set(componentName, ComponentSet.props);
805 regularCollection.set(componentName, ComponentSet.regulars);
806 storagePropCollection.set(componentName, ComponentSet.storageProps);
807 storageLinkCollection.set(componentName, ComponentSet.storageLinks);
808 provideCollection.set(componentName, ComponentSet.provides);
809 consumeCollection.set(componentName, ComponentSet.consumes);
810 objectLinkCollection.set(componentName, ComponentSet.objectLinks);
811 localStorageLinkCollection.set(componentName, ComponentSet.localStorageLink);
812 localStoragePropCollection.set(componentName, ComponentSet.localStorageProp);
813 builderParamObjectCollection.set(componentName, ComponentSet.builderParams);
814 builderParamInitialization.set(componentName, ComponentSet.builderParamData);
815 propInitialization.set(componentName, ComponentSet.propData);
1273 export function getLocalStorageCollection(componentName: string, collection: Set<string>): void {
1274 if (localStorageLinkCollection.get(componentName)) {
1275 for (const key of localStorageLinkCollection.get(componentName).keys()) {
1279 if (localStoragePropCollection.get(componentName)) {
1280 for (const key of localStoragePropCollection.get(componentName).keys()) {