purescript-0.10.5: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.Ide.Reexports

Description

Resolves reexports for psc-ide

Synopsis

Documentation

resolveReexports Source #

Arguments

:: Map ModuleName [IdeDeclarationAnn]

Modules to search for the reexported declarations

-> (Module, [(ModuleName, DeclarationRef)])

The module to resolve reexports for, aswell as the references to resolve

-> ReexportResult Module 

Resolves Reexports for a given Module, by looking up the reexported values from the passed in Map

prettyPrintReexportResult Source #

Arguments

:: (a -> Text)

Formatter for the resolved result

-> ReexportResult a

The Result to be pretty printed

-> Text 

Uses the passed formatter to format the resolved module, and adds eventual failures

reexportHasFailures :: ReexportResult a -> Bool Source #

Whether any Refs couldn't be resolved

data ReexportResult a Source #

Contains the module with resolved reexports, and eventual failures

Constructors

ReexportResult