Safe Haskell | None |
---|---|
Language | Haskell98 |
- export :: Export -> Text
- passThingSpec :: Text -> ThingPart -> Bool
- passImportSpec :: Declaration -> ImportSpec -> Bool
- imported :: Declaration -> ImportList -> Bool
- exported :: Declaration -> Export -> Bool
- importNames :: Import -> [Text]
- import_ :: Text -> Import
- class Symbol a where
- 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
- 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))
- standaloneInfo :: [PackageConfig] -> Module -> Info
- moduleOpts :: [PackageConfig] -> Module -> [String]
- addDeclaration :: Declaration -> Module -> Module
- unalias :: Module -> Text -> [Text]
- setTag :: Ord t => t -> Inspected i t a -> Inspected i t a
- hasTag :: Ord t => t -> Inspected i t a -> Bool
- removeTag :: Ord t => t -> Inspected i t a -> Inspected i t a
- dropTags :: Inspected i t a -> Inspected i t a
- module HsDev.Symbols.Types
- module HsDev.Symbols.Class
- module HsDev.Symbols.Documented
Information
passImportSpec :: Declaration -> ImportSpec -> Bool Source #
Does declaration pass import-list spec
imported :: Declaration -> ImportList -> Bool Source #
Check whether declaration passes 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
dropExternals :: Module -> Module Source #
Drop all declarations, that not defined in this module
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 #
declarationLocals :: Declaration -> [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
importQualifier :: Maybe Text -> Import -> Bool Source #
Imported module can be accessed via qualifier
Utility
locateSourceDir :: FilePath -> IO (Maybe (Extensions FilePath)) Source #
Locate source dir of file
standaloneInfo :: [PackageConfig] -> Module -> Info Source #
moduleOpts :: [PackageConfig] -> Module -> [String] Source #
Options for GHC of module and project
Modifiers
addDeclaration :: Declaration -> Module -> Module Source #
Add declaration to module
Other
Tags
Reexportss
module HsDev.Symbols.Types
module HsDev.Symbols.Class
module HsDev.Symbols.Documented