{-# LANGUAGE TemplateHaskell #-}
module Language.LSP.Types.StaticRegistrationOptions where
import Data.Aeson.TH
import Data.Text (Text)
import Language.LSP.Types.Utils
data StaticRegistrationOptions =
StaticRegistrationOptions
{ StaticRegistrationOptions -> Maybe Text
_id :: Maybe Text
} deriving (ReadPrec [StaticRegistrationOptions]
ReadPrec StaticRegistrationOptions
Int -> ReadS StaticRegistrationOptions
ReadS [StaticRegistrationOptions]
(Int -> ReadS StaticRegistrationOptions)
-> ReadS [StaticRegistrationOptions]
-> ReadPrec StaticRegistrationOptions
-> ReadPrec [StaticRegistrationOptions]
-> Read StaticRegistrationOptions
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS StaticRegistrationOptions
readsPrec :: Int -> ReadS StaticRegistrationOptions
$creadList :: ReadS [StaticRegistrationOptions]
readList :: ReadS [StaticRegistrationOptions]
$creadPrec :: ReadPrec StaticRegistrationOptions
readPrec :: ReadPrec StaticRegistrationOptions
$creadListPrec :: ReadPrec [StaticRegistrationOptions]
readListPrec :: ReadPrec [StaticRegistrationOptions]
Read,Int -> StaticRegistrationOptions -> ShowS
[StaticRegistrationOptions] -> ShowS
StaticRegistrationOptions -> String
(Int -> StaticRegistrationOptions -> ShowS)
-> (StaticRegistrationOptions -> String)
-> ([StaticRegistrationOptions] -> ShowS)
-> Show StaticRegistrationOptions
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StaticRegistrationOptions -> ShowS
showsPrec :: Int -> StaticRegistrationOptions -> ShowS
$cshow :: StaticRegistrationOptions -> String
show :: StaticRegistrationOptions -> String
$cshowList :: [StaticRegistrationOptions] -> ShowS
showList :: [StaticRegistrationOptions] -> ShowS
Show,StaticRegistrationOptions -> StaticRegistrationOptions -> Bool
(StaticRegistrationOptions -> StaticRegistrationOptions -> Bool)
-> (StaticRegistrationOptions -> StaticRegistrationOptions -> Bool)
-> Eq StaticRegistrationOptions
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool
== :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool
$c/= :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool
/= :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool
Eq)
deriveJSON lspOptions ''StaticRegistrationOptions