haskell-language-server-2.7.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Plugin.SemanticTokens.Types

Synopsis

Documentation

data HsSemanticTokenType Source #

Instances

Instances details
Semigroup HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Bounded HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Enum HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Generic HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Associated Types

type Rep HsSemanticTokenType :: Type -> Type #

Show HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Eq HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Ord HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Lift HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep HsSemanticTokenType Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep HsSemanticTokenType = D1 ('MetaData "HsSemanticTokenType" "Ide.Plugin.SemanticTokens.Types" "haskell-language-server-2.7.0.0-2oUnW5nYLZr1ZEP5BrOqIa-hls-semantic-tokens-plugin" 'False) (((C1 ('MetaCons "TVariable" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TFunction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TDataConstructor" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TTypeVariable" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TClassMethod" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TPatternSynonym" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TTypeConstructor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TClass" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TTypeSynonym" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "TTypeFamily" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TRecordField" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TOperator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TModule" 'PrefixI 'False) (U1 :: Type -> Type)))))

data SemanticTokensConfig Source #

SemanticTokensConfig_ is a configuration for the semantic tokens plugin. it contains map between the hs semantic token type and default token type.

Constructors

STC 

Fields

Instances

Instances details
Generic SemanticTokensConfig Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Associated Types

type Rep SemanticTokensConfig :: Type -> Type #

Show SemanticTokensConfig Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Default SemanticTokensConfig Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep SemanticTokensConfig Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep SemanticTokensConfig = D1 ('MetaData "SemanticTokensConfig" "Ide.Plugin.SemanticTokens.Types" "haskell-language-server-2.7.0.0-2oUnW5nYLZr1ZEP5BrOqIa-hls-semantic-tokens-plugin" 'False) (C1 ('MetaCons "STC" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stFunction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: (S1 ('MetaSel ('Just "stVariable") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: S1 ('MetaSel ('Just "stDataConstructor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes))) :*: (S1 ('MetaSel ('Just "stTypeVariable") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: (S1 ('MetaSel ('Just "stClassMethod") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: S1 ('MetaSel ('Just "stPatternSynonym") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes)))) :*: ((S1 ('MetaSel ('Just "stTypeConstructor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: (S1 ('MetaSel ('Just "stClass") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: S1 ('MetaSel ('Just "stTypeSynonym") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes))) :*: ((S1 ('MetaSel ('Just "stTypeFamily") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: S1 ('MetaSel ('Just "stRecordField") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes)) :*: (S1 ('MetaSel ('Just "stModule") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes) :*: S1 ('MetaSel ('Just "stOperator") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SemanticTokenTypes))))))

data SemanticTokenOriginal tokenType Source #

Constructors

SemanticTokenOriginal 

Fields

Instances

Instances details
Show tokenType => Show (SemanticTokenOriginal tokenType) Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Eq tokenType => Eq (SemanticTokenOriginal tokenType) Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Methods

(==) :: SemanticTokenOriginal tokenType -> SemanticTokenOriginal tokenType -> Bool #

(/=) :: SemanticTokenOriginal tokenType -> SemanticTokenOriginal tokenType -> Bool #

Ord tokenType => Ord (SemanticTokenOriginal tokenType) Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

data Loc Source #

Constructors

Loc 

Fields

Instances

Instances details
Show Loc Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Methods

showsPrec :: Int -> Loc -> ShowS #

show :: Loc -> String #

showList :: [Loc] -> ShowS #

Eq Loc Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Methods

(==) :: Loc -> Loc -> Bool #

(/=) :: Loc -> Loc -> Bool #

Ord Loc Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Methods

compare :: Loc -> Loc -> Ordering #

(<) :: Loc -> Loc -> Bool #

(<=) :: Loc -> Loc -> Bool #

(>) :: Loc -> Loc -> Bool #

(>=) :: Loc -> Loc -> Bool #

max :: Loc -> Loc -> Loc #

min :: Loc -> Loc -> Loc #

data GetSemanticTokens Source #

Constructors

GetSemanticTokens 

Instances

Instances details
Generic GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Associated Types

type Rep GetSemanticTokens :: Type -> Type #

Show GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

NFData GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Methods

rnf :: GetSemanticTokens -> () #

Eq GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

Hashable GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

type Rep GetSemanticTokens = D1 ('MetaData "GetSemanticTokens" "Ide.Plugin.SemanticTokens.Types" "haskell-language-server-2.7.0.0-2oUnW5nYLZr1ZEP5BrOqIa-hls-semantic-tokens-plugin" 'False) (C1 ('MetaCons "GetSemanticTokens" 'PrefixI 'False) (U1 :: Type -> Type))
type RuleResult GetSemanticTokens Source # 
Instance details

Defined in Ide.Plugin.SemanticTokens.Types

showRange :: Range -> String Source #