| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Language.PureScript.Ide.SourceFile
Description
Getting declarations from PureScript sourcefiles
Documentation
parseModuleFromFile :: (MonadIO m, MonadError PscIdeError m) => FilePath -> m Module Source #
getDeclarations :: Module -> [Declaration] Source #
getImports :: Module -> [Declaration] Source #
getImportsForFile :: (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 #