haskell-names-0.4: Name resolution library for Haskell

Safe HaskellNone

Language.Haskell.Names.ModuleSymbols

Synopsis

Documentation

moduleSymbolsSource

Arguments

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

the import table for this module

-> Module l 
-> Symbols 

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

moduleTableSource

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.

getTopDeclSymbolsSource

Arguments

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

the import table for this module

-> ModuleName l 
-> Decl l 
-> [Either (SymValueInfo OrigName) (SymTypeInfo OrigName)]