Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data HsSemanticTokenType
- data SemanticTokensConfig = STC {
- stFunction :: !SemanticTokenTypes
- stVariable :: !SemanticTokenTypes
- stDataConstructor :: !SemanticTokenTypes
- stTypeVariable :: !SemanticTokenTypes
- stClassMethod :: !SemanticTokenTypes
- stPatternSynonym :: !SemanticTokenTypes
- stTypeConstructor :: !SemanticTokenTypes
- stClass :: !SemanticTokenTypes
- stTypeSynonym :: !SemanticTokenTypes
- stTypeFamily :: !SemanticTokenTypes
- stRecordField :: !SemanticTokenTypes
- stModule :: !SemanticTokenTypes
- stOperator :: !SemanticTokenTypes
- data SemanticTokenOriginal tokenType = SemanticTokenOriginal {
- _tokenType :: tokenType
- _loc :: Loc
- _name :: String
- data Loc = Loc {
- _line :: UInt
- _startChar :: UInt
- _len :: UInt
- data GetSemanticTokens = GetSemanticTokens
- type RangeSemanticTokenTypeList = [(Range, HsSemanticTokenType)]
- newtype RangeHsSemanticTokenTypes = RangeHsSemanticTokenTypes {}
- showRangeToken :: (Range, HsSemanticTokenType) -> String
- showRange :: Range -> String
- data HieFunMaskKind kind where
- data SemanticLog
- type SemanticTokenId = Text
Documentation
data HsSemanticTokenType Source #
TVariable | |
TFunction | |
TDataConstructor | |
TTypeVariable | |
TClassMethod | |
TPatternSynonym | |
TTypeConstructor | |
TClass | |
TTypeSynonym | |
TTypeFamily | |
TRecordField | |
TOperator | |
TModule |
Instances
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.
STC | |
|
Instances
data SemanticTokenOriginal tokenType Source #
SemanticTokenOriginal | |
|
Instances
Loc | |
|
data GetSemanticTokens Source #
Instances
type RangeSemanticTokenTypeList = [(Range, HsSemanticTokenType)] Source #
newtype RangeHsSemanticTokenTypes Source #
Instances
Show RangeHsSemanticTokenTypes Source # | |
Defined in Ide.Plugin.SemanticTokens.Types showsPrec :: Int -> RangeHsSemanticTokenTypes -> ShowS # show :: RangeHsSemanticTokenTypes -> String # showList :: [RangeHsSemanticTokenTypes] -> ShowS # | |
NFData RangeHsSemanticTokenTypes Source # | |
Defined in Ide.Plugin.SemanticTokens.Types rnf :: RangeHsSemanticTokenTypes -> () # |
showRangeToken :: (Range, HsSemanticTokenType) -> String Source #
data HieFunMaskKind kind where Source #
data SemanticLog Source #
LogShake Log | |
LogDependencyError PluginError | |
LogNoAST FilePath | |
LogConfig SemanticTokensConfig | |
LogMsg String | |
LogNoVF | |
LogSemanticTokensDeltaMisMatch Text (Maybe Text) |
Instances
Pretty SemanticLog Source # | |
Defined in Ide.Plugin.SemanticTokens.Types pretty :: SemanticLog -> Doc ann # prettyList :: [SemanticLog] -> Doc ann # |
type SemanticTokenId = Text Source #