ghc-tags-core-0.2.0.0: a library to work with tags created from Haskell parsed tree

Safe HaskellNone
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 (HsModule GhcPs) -> GhcTags Source #

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

Supported identifiers:

  • top level terms
  • data types
  • record fields
  • type synonyms
  • type classes
  • type class members
  • type class instances
  • type families
  • type family instances
  • data type families
  • data type families instances
  • data type family instances constructors