use of com.perl5.lang.perl.util.processors.PerlArrayImportsCollector in project Perl5-IDEA by Camelcade.
the class PerlArrayUtil method getImportedArraysDescriptors.
/**
* Returns a map of imported arrays names
*
* @param namespaceDefinitionElement element to start looking from
* @return result map
*/
@NotNull
public static List<PerlExportDescriptor> getImportedArraysDescriptors(@NotNull PerlNamespaceDefinitionElement namespaceDefinitionElement) {
PerlImportsCollector collector = new PerlArrayImportsCollector();
PerlUtil.processImportedEntities(namespaceDefinitionElement, collector);
return collector.getResult();
}
Aggregations