purescript-0.8.3.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.Docs.ParseAndBookmark

Synopsis

Documentation

parseAndBookmark :: (MonadError MultipleErrors m, MonadIO m) => [FilePath] -> [(PackageName, FilePath)] -> m ([InPackage Module], [Bookmark]) Source

Given:

  • A list of local source files
  • A list of source files from external dependencies, together with their package names

This function does the following:

  • Parse all of the input and dependency source files
  • Associate each dependency module with its package name, thereby distinguishing these from local modules
  • Collect a list of bookmarks from the whole set of source files
  • Return the parsed modules and the bookmarks