| Safe Haskell | None |
|---|
Language.Haskell.Names.ModuleSymbols
- moduleSymbols :: (Eq l, Data l) => Table -> Module l -> Symbols
- moduleTable :: (Eq l, Data l) => Table -> Module l -> Table
- getTopDeclSymbols :: forall l. (Eq l, Data l) => Table -> ModuleName l -> Decl l -> [Either (SymValueInfo OrigName) (SymTypeInfo OrigName)]
Documentation
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
Compute module's global table. It contains both the imported entities and the global entities defined in this module.
Arguments
| :: forall l . (Eq l, Data l) | |
| => Table | the import table for this module |
| -> ModuleName l | |
| -> Decl l | |
| -> [Either (SymValueInfo OrigName) (SymTypeInfo OrigName)] |