function extractMacroNamespaceSymbolsAsyncWorker(namespaceName) {

        const collectMacroSymbols = namespaceDescriptors => {
            const symbols = [];
            for (const descriptor of Object.values(namespaceDescriptors)) {
                const refers = descriptor.macroRefers;
                if (!refers) {
                    continue;
                }
                for (const symbol of Object.keys(refers)) {
                    const ns = refers[symbol];
                    if (ns == namespaceName) {
                        symbols.push(symbol);
                    }
                }
            }
            return dirac.deduplicate(symbols);
        };

        return dirac.extractNamespacesAsync().then(collectMacroSymbols);
    }
// we can at least collect macro symbols referred to via :refer
we can at least collect macro symbols referred to via :refer
we can at least collect macro symbols referred to via : refer
function extractMacroNamespaceSymbolsAsyncWorker(namespaceName) {
        const collectMacroSymbols = namespaceDescriptors => {
            const symbols = [];
            for (const descriptor of Object.values(namespaceDescriptors)) {
                const refers = descriptor.macroRefers;
                if (!refers) {
                    continue;
                }
                for (const symbol of Object.keys(refers)) {
                    const ns = refers[symbol];
                    if (ns == namespaceName) {
                        symbols.push(symbol);
                    }
                }
            }
            return dirac.deduplicate(symbols);
        };
        return dirac.extractNamespacesAsync().then(collectMacroSymbols);
    }
function extractMacroNamespaceSymbolsAsyncWorker ( namespaceName ) { const collectMacroSymbols = namespaceDescriptors => { const symbols = [ ] ; for ( const descriptor of Object . values ( namespaceDescriptors ) ) { const refers = descriptor . macroRefers ; if ( ! refers ) { continue ; } for ( const symbol of Object . keys ( refers ) ) { const ns = refers [ symbol ] ; if ( ns == namespaceName ) { symbols . push ( symbol ) ; } } } return dirac . deduplicate ( symbols ) ; } ; return dirac . extractNamespacesAsync ( ) . then ( collectMacroSymbols ) ; }
we can at least collect macro symbols referred to via :refer
we can at least collect macro symbols referred to via : refer