ghc-tags-plugin-0.1.4.0: A compiler plugin which generates tags file from GHC syntax tree.

Safe HaskellNone
LanguageHaskell2010

Plugin.GhcTags.Generate

Description

Interface for generating tags for a parsed module.

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 
Instances
Show GhcTag Source # 
Instance details

Defined in Plugin.GhcTags.Generate

data TagField Source #

Unit of data associated with a tag. Vim natively supports `file:` and `kind:` tags but it can display any other tags too.

Constructors

TagField 

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