Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
parseModuleFromFile :: (Applicative m, MonadIO m, MonadError PscIdeError m) => FilePath -> m Module Source
getDeclarations :: Module -> [Declaration] Source
getImports :: Module -> [Declaration] Source
getImportsForFile :: (Applicative m, MonadIO m, MonadError PscIdeError m) => FilePath -> m [ModuleImport] Source
getPositionedImports :: Module -> [Declaration] Source
getDeclPosition :: Module -> String -> Maybe SourceSpan Source
goToDefinition :: String -> FilePath -> IO (Maybe SourceSpan) Source