| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ide.Plugin.Eval.Types
Synopsis
- locate :: Loc [a] -> [Loc a]
- locate0 :: [a] -> [Loc a]
- data Test
- isProperty :: Test -> Bool
- data Format
- data Language
- data Section = Section {
- sectionName :: Txt
- sectionTests :: [Test]
- sectionLanguage :: Language
- sectionFormat :: Format
- data Sections = Sections {
- nonSetupSections :: [Section]
- setupSections :: [Section]
- hasTests :: Section -> Bool
- hasPropertyTest :: Section -> Bool
- splitSections :: [Section] -> ([Section], [Section])
- type Loc = Located Line
- data Located l a = Located {}
- data Comments = Comments {}
- newtype RawBlockComment = RawBlockComment {}
- newtype RawLineComment = RawLineComment {}
- unLoc :: Located l a -> a
- type Txt = String
- data EvalParams = EvalParams {
- sections :: [Section]
- module_ :: !TextDocumentIdentifier
- evalId :: !EvalId
- data GetEvalComments = GetEvalComments
- nullComments :: Comments -> Bool
Documentation
Instances
isProperty :: Test -> Bool Source #
Constructors
| SingleLine | |
| MultiLine Range |
|
Instances
| FromJSON Format Source # | |
| ToJSON Format Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Generic Format Source # | |
| Show Format Source # | |
| NFData Format Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Eq Format Source # | |
| Ord Format Source # | |
| type Rep Format Source # | |
Defined in Ide.Plugin.Eval.Types type Rep Format = D1 ('MetaData "Format" "Ide.Plugin.Eval.Types" "hls-eval-plugin-1.3.0.0-9ChTxG5D3cAH6eTI9JBEkr" 'False) (C1 ('MetaCons "SingleLine" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultiLine" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) | |
Instances
Constructors
| Section | |
Fields
| |
Instances
| FromJSON Section Source # | |
| ToJSON Section Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Generic Section Source # | |
| Show Section Source # | |
| NFData Section Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Eq Section Source # | |
| type Rep Section Source # | |
Defined in Ide.Plugin.Eval.Types type Rep Section = D1 ('MetaData "Section" "Ide.Plugin.Eval.Types" "hls-eval-plugin-1.3.0.0-9ChTxG5D3cAH6eTI9JBEkr" 'False) (C1 ('MetaCons "Section" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Txt) :*: S1 ('MetaSel ('Just "sectionTests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Test])) :*: (S1 ('MetaSel ('Just "sectionLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Language) :*: S1 ('MetaSel ('Just "sectionFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Format)))) | |
Constructors
| Sections | |
Fields
| |
Instances
| Generic Sections Source # | |
| Show Sections Source # | |
| Eq Sections Source # | |
| type Rep Sections Source # | |
Defined in Ide.Plugin.Eval.Types type Rep Sections = D1 ('MetaData "Sections" "Ide.Plugin.Eval.Types" "hls-eval-plugin-1.3.0.0-9ChTxG5D3cAH6eTI9JBEkr" 'False) (C1 ('MetaCons "Sections" 'PrefixI 'True) (S1 ('MetaSel ('Just "nonSetupSections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Section]) :*: S1 ('MetaSel ('Just "setupSections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Section]))) | |
hasPropertyTest :: Section -> Bool Source #
A thing with a location attached.
Instances
| Functor (Located l) Source # | |
| (FromJSON l, FromJSON a) => FromJSON (Located l a) Source # | |
| (ToJSON a, ToJSON l) => ToJSON (Located l a) Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Generic (Located l a) Source # | |
| (Show l, Show a) => Show (Located l a) Source # | |
| (NFData l, NFData a) => NFData (Located l a) Source # | |
Defined in Ide.Plugin.Eval.Types | |
| (Eq l, Eq a) => Eq (Located l a) Source # | |
| (Ord l, Ord a) => Ord (Located l a) Source # | |
Defined in Ide.Plugin.Eval.Types | |
| type Rep (Located l a) Source # | |
Defined in Ide.Plugin.Eval.Types type Rep (Located l a) = D1 ('MetaData "Located" "Ide.Plugin.Eval.Types" "hls-eval-plugin-1.3.0.0-9ChTxG5D3cAH6eTI9JBEkr" 'False) (C1 ('MetaCons "Located" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 l) :*: S1 ('MetaSel ('Just "located") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) | |
Constructors
| Comments | |
Fields | |
Instances
| Monoid Comments Source # | |
| Semigroup Comments Source # | |
| Generic Comments Source # | |
| Show Comments Source # | |
| NFData Comments Source # | |
Defined in Ide.Plugin.Eval.Types | |
| Eq Comments Source # | |
| Ord Comments Source # | |
Defined in Ide.Plugin.Eval.Types | |
| type Rep Comments Source # | |
Defined in Ide.Plugin.Eval.Types type Rep Comments = D1 ('MetaData "Comments" "Ide.Plugin.Eval.Types" "hls-eval-plugin-1.3.0.0-9ChTxG5D3cAH6eTI9JBEkr" 'False) (C1 ('MetaCons "Comments" 'PrefixI 'True) (S1 ('MetaSel ('Just "lineComments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Range RawLineComment)) :*: S1 ('MetaSel ('Just "blockComments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Range RawBlockComment)))) | |
newtype RawBlockComment Source #
Constructors
| RawBlockComment | |
Fields | |
Instances
newtype RawLineComment Source #
Constructors
| RawLineComment | |
Fields | |
Instances
data EvalParams Source #
Specify the test section to execute
Constructors
| EvalParams | |
Fields
| |
Instances
| FromJSON EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types | |
| ToJSON EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types Methods toJSON :: EvalParams -> Value # toEncoding :: EvalParams -> Encoding # toJSONList :: [EvalParams] -> Value # toEncodingList :: [EvalParams] -> Encoding # | |
| Generic EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types Associated Types type Rep EvalParams :: Type -> Type # | |
| Show EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types Methods showsPrec :: Int -> EvalParams -> ShowS # show :: EvalParams -> String # showList :: [EvalParams] -> ShowS # | |
| Eq EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types | |
| type Rep EvalParams Source # | |
Defined in Ide.Plugin.Eval.Types | |
data GetEvalComments Source #
Constructors
| GetEvalComments |
Instances
| Generic GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types Associated Types type Rep GetEvalComments :: Type -> Type # Methods from :: GetEvalComments -> Rep GetEvalComments x # to :: Rep GetEvalComments x -> GetEvalComments # | |
| Show GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types Methods showsPrec :: Int -> GetEvalComments -> ShowS # show :: GetEvalComments -> String # showList :: [GetEvalComments] -> ShowS # | |
| NFData GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types Methods rnf :: GetEvalComments -> () # | |
| Eq GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types Methods (==) :: GetEvalComments -> GetEvalComments -> Bool # (/=) :: GetEvalComments -> GetEvalComments -> Bool # | |
| Hashable GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types | |
| type Rep GetEvalComments Source # | |
| type RuleResult GetEvalComments Source # | |
Defined in Ide.Plugin.Eval.Types | |
nullComments :: Comments -> Bool Source #