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