module Language.LSP.Protocol.Types.CodeAction where
import Data.Text qualified as T
import Language.LSP.Protocol.Internal.Types
import Language.LSP.Protocol.Types.LspEnum
codeActionKindSubsumes :: CodeActionKind -> CodeActionKind -> Bool
codeActionKindSubsumes :: CodeActionKind -> CodeActionKind -> Bool
codeActionKindSubsumes CodeActionKind
parent CodeActionKind
child = forall a. LspEnum a => a -> EnumBaseType a
toEnumBaseType CodeActionKind
parent Text -> Text -> Bool
`T.isPrefixOf` forall a. LspEnum a => a -> EnumBaseType a
toEnumBaseType CodeActionKind
child