hls-splice-plugin-1.0.0.1: HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes
Safe HaskellNone
LanguageHaskell2010

Ide.Plugin.Splice.Types

Synopsis

Documentation

data ExpandSpliceParams Source #

Parameter for the addMethods PluginCommand.

Instances

Instances details
Eq ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Show ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Generic ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Associated Types

type Rep ExpandSpliceParams :: Type -> Type #

ToJSON ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

FromJSON ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

type Rep ExpandSpliceParams Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

type Rep ExpandSpliceParams = D1 ('MetaData "ExpandSpliceParams" "Ide.Plugin.Splice.Types" "hls-splice-plugin-1.0.0.1-5DWax7Y8bNt65bFafWxM6n" 'False) (C1 ('MetaCons "ExpandSpliceParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uri) :*: (S1 ('MetaSel ('Just "spliceSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RealSrcSpan) :*: S1 ('MetaSel ('Just "spliceContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpliceContext))))

data SpliceContext Source #

Constructors

Expr 
HsDecl 
Pat 
HsType 

Instances

Instances details
Eq SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Ord SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Read SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Show SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Generic SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Associated Types

type Rep SpliceContext :: Type -> Type #

ToJSON SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

FromJSON SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

type Rep SpliceContext Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

type Rep SpliceContext = D1 ('MetaData "SpliceContext" "Ide.Plugin.Splice.Types" "hls-splice-plugin-1.0.0.1-5DWax7Y8bNt65bFafWxM6n" 'False) ((C1 ('MetaCons "Expr" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HsDecl" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Pat" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HsType" 'PrefixI 'False) (U1 :: Type -> Type)))

data ExpandStyle Source #

Constructors

Inplace 
Commented 

Instances

Instances details
Eq ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Ord ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Read ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Show ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Generic ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

Associated Types

type Rep ExpandStyle :: Type -> Type #

type Rep ExpandStyle Source # 
Instance details

Defined in Ide.Plugin.Splice.Types

type Rep ExpandStyle = D1 ('MetaData "ExpandStyle" "Ide.Plugin.Splice.Types" "hls-splice-plugin-1.0.0.1-5DWax7Y8bNt65bFafWxM6n" 'False) (C1 ('MetaCons "Inplace" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Commented" 'PrefixI 'False) (U1 :: Type -> Type))