haskell-names-0.9.9: Name resolution library for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Names.ModuleSymbols

Synopsis

Documentation

moduleSymbols Source #

Arguments

:: (Eq l, Data l) 
=> Table

the import table for this module

-> Module l 
-> [Symbol] 

Compute the symbols that are defined in the given module.

The import table is needed to resolve possible top-level record wildcard bindings, such as

A {..} = foo

moduleTable Source #

Arguments

:: (Eq l, Data l) 
=> Table

the import table for this module

-> Module l 
-> Table 

Compute module's global table. It contains both the imported entities and the global entities defined in this module.

getTopDeclSymbols Source #

Arguments

:: (Eq l, Data l) 
=> Table

the import table for this module

-> ModuleName l 
-> Decl l 
-> [Symbol]