purescript-0.11.2: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Ide.Reexports

Description

Resolves reexports for psc-ide

Synopsis

Documentation

resolveReexports Source #

Arguments

:: ModuleMap [(ModuleName, DeclarationRef)]

the references to resolve

-> ModuleMap [IdeDeclarationAnn]

Modules to search for the reexported declarations

-> ModuleMap (ReexportResult [IdeDeclarationAnn]) 

Resolves Reexports for the given Modules, by looking up the reexported values from the passed in DeclarationRefs

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 possible failures

reexportHasFailures :: ReexportResult a -> Bool Source #

Whether any Refs couldn't be resolved

data ReexportResult a Source #

Contains the module with resolved reexports, and possible failures

Constructors

ReexportResult