ghc-lib-parser-8.10.1.20200412: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

Json

Synopsis

Documentation

data JsonDoc where Source #

Simple data type to represent JSON documents.

class ToJson a where Source #

Methods

json :: a -> JsonDoc Source #

Instances
ToJson SrcSpan Source # 
Instance details

Defined in SrcLoc

Methods

json :: SrcSpan -> JsonDoc Source #

ToJson RealSrcSpan Source # 
Instance details

Defined in SrcLoc

ToJson Severity Source # 
Instance details

Defined in ErrUtils

ToJson WarnReason Source # 
Instance details

Defined in CmdLineParser

ToJson WarnReason Source # 
Instance details

Defined in DynFlags