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