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