Safe Haskell | None |
---|---|
Language | Haskell98 |
- export :: Export -> Text
- passImportList :: ImportList -> Text -> Bool
- importNames :: Import -> [Text]
- import_ :: Text -> Import
- class Symbol a where
- symbolName :: a -> Text
- symbolQualifiedName :: a -> Text
- symbolDocs :: a -> Maybe Text
- symbolLocation :: a -> Location
- unnamedModuleId :: ModuleLocation -> ModuleId
- sortDeclarations :: [Declaration] -> [Declaration]
- moduleLocals :: Module -> Module
- setDefinedIn :: Module -> Module
- dropExternals :: Module -> Module
- clearDefinedIn :: Module -> Module
- moduleLocalDeclarations :: Module -> [Declaration]
- moduleModuleDeclarations :: Module -> [ModuleDeclaration]
- class Locals a where
- locals :: a -> [Declaration]
- where_ :: a -> [Declaration] -> a
- decl :: Text -> DeclarationInfo -> Declaration
- definedIn :: Declaration -> ModuleId -> Declaration
- declarationLocals :: Declaration -> [Declaration]
- scopes :: Declaration -> [Maybe Text]
- mergeExported :: [ModuleDeclaration] -> [ExportedDeclaration]
- importQualifier :: Maybe Text -> Import -> Bool
- locateProject :: FilePath -> IO (Maybe Project)
- searchProject :: FilePath -> IO (Maybe Project)
- locateSourceDir :: FilePath -> IO (Maybe (Extensions FilePath))
- moduleOpts :: [ModulePackage] -> Module -> [String]
- addDeclaration :: Declaration -> Module -> Module
- unalias :: Module -> Text -> [Text]
- module HsDev.Symbols.Types
- module HsDev.Symbols.Class
- module HsDev.Symbols.Documented
Information
passImportList :: ImportList -> Text -> Bool Source
Check whether name pass import list
importNames :: Import -> [Text] Source
Get import module names - full and synonym
symbolName :: a -> Text Source
symbolQualifiedName :: a -> Text Source
symbolDocs :: a -> Maybe Text Source
symbolLocation :: a -> Location Source
sortDeclarations :: [Declaration] -> [Declaration] Source
moduleLocals :: Module -> Module Source
Bring locals to top
setDefinedIn :: Module -> Module Source
Set all declaration definedIn
to this module
dropExternals :: Module -> Module Source
Drop all declarations, that not defined in this module
clearDefinedIn :: Module -> Module Source
Clear definedIn
information
moduleLocalDeclarations :: Module -> [Declaration] Source
Get declarations with locals
moduleModuleDeclarations :: Module -> [ModuleDeclaration] Source
Get list of declarations as ModuleDeclaration
locals :: a -> [Declaration] Source
where_ :: a -> [Declaration] -> a Source
decl :: Text -> DeclarationInfo -> Declaration Source
definedIn :: Declaration -> ModuleId -> Declaration Source
scopes :: Declaration -> [Maybe Text] Source
Get scopes of Declaration
, where Nothing
is global scope
mergeExported :: [ModuleDeclaration] -> [ExportedDeclaration] Source
Merge ModuleDeclaration
into ExportedDeclaration
Functions
Utility
locateSourceDir :: FilePath -> IO (Maybe (Extensions FilePath)) Source
Locate source dir of file
moduleOpts :: [ModulePackage] -> Module -> [String] Source
Options for GHC of module and project
Modifiers
addDeclaration :: Declaration -> Module -> Module Source
Add declaration to module
Other
Reexportss
module HsDev.Symbols.Types
module HsDev.Symbols.Class
module HsDev.Symbols.Documented