ghc-tags-core-0.6.0.0: CTags and ETags from Haskell syntax tree.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GhcTags.Ghc

Description

Generate tags from HsModule GhcPs representation.

Synopsis

Documentation

data GhcTag Source #

We can read names from using fields of type IdP (a type family) which for 'Parsed resolved to RdrName

Constructors

GhcTag 

Fields

getGhcTags :: Located GhcPsModule -> GhcTags Source #

Generate tags for a module - simple walk over the syntax tree.

Supported identifiers:

  • module name
  • top level terms
  • local bindings
  • data types
  • record fields
  • type synonyms
  • type classes
  • type class members
  • type class instances
  • type class instance members
  • type families
  • type family instances
  • data type families
  • data type families instances
  • data type family instances constructors