{-# LINE 1 "src/Magic/Data.hsc" #-}
-- AUTO-GENERATED FILE, DO NOT EDIT.  GENERATED BY utils/genconsts.hs
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE PatternSynonyms #-}
{- |
   Module     : Magic.Data
   Copyright  : Copyright (C) 2005 John Goerzen
   License    : BSD-3-Clause

   Maintainer : Philippe <philippedev101\@gmail.com>
   Stability  : provisional
   Portability: portable

The t'MagicFlags' bit-mask, mapping the C @libmagic@ @MAGIC_*@ constants to
Haskell. Flags are combined with @('<>')@, tested with 'hasFlag', and narrowed
with 'removeFlags'; the empty set ('mempty') is 'MagicNone'.
-}

module Magic.Data
  ( MagicFlags(..)
  , hasFlag
  , removeFlags
  , pattern MagicNone
  , pattern MagicDebug
  , pattern MagicSymlink
  , pattern MagicCompress
  , pattern MagicDevices
  , pattern MagicMimeType
  , pattern MagicMimeEncoding
  , pattern MagicMime
  , pattern MagicContinue
  , pattern MagicCheck
  , pattern MagicPreserveAtime
  , pattern MagicRaw
  , pattern MagicError
  , pattern MagicApple
  , pattern MagicExtension
  , pattern MagicCompressTransp
  , pattern MagicNoCompressFork
  , pattern MagicNodesc
  , pattern MagicNoCheckCompress
  , pattern MagicNoCheckTar
  , pattern MagicNoCheckSoft
  , pattern MagicNoCheckApptype
  , pattern MagicNoCheckElf
  , pattern MagicNoCheckText
  , pattern MagicNoCheckCdf
  , pattern MagicNoCheckCsv
  , pattern MagicNoCheckTokens
  , pattern MagicNoCheckEncoding
  , pattern MagicNoCheckJson
  , pattern MagicNoCheckSimh
  , pattern MagicNoCheckBuiltin
  ) where



import Control.DeepSeq (NFData(rnf))
import Data.Bits ((.&.), (.|.), complement, popCount)
import Data.List (intercalate)
import Foreign.C.Types (CInt)
import GHC.Generics (Generic)

-- | A set of @libmagic@ flags, represented as the underlying C bit-mask.
-- Combine flags with @('<>')@, start from 'mempty' (no flags), test
-- membership with 'hasFlag', and narrow with 'removeFlags'. The
-- v'MagicFlags' constructor is an escape hatch for passing a raw mask;
-- prefer the pattern synonyms below.
--
-- @since 2.0.0
newtype MagicFlags = MagicFlags CInt
  deriving (MagicFlags -> MagicFlags -> Bool
(MagicFlags -> MagicFlags -> Bool)
-> (MagicFlags -> MagicFlags -> Bool) -> Eq MagicFlags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: MagicFlags -> MagicFlags -> Bool
== :: MagicFlags -> MagicFlags -> Bool
$c/= :: MagicFlags -> MagicFlags -> Bool
/= :: MagicFlags -> MagicFlags -> Bool
Eq, Eq MagicFlags
Eq MagicFlags =>
(MagicFlags -> MagicFlags -> Ordering)
-> (MagicFlags -> MagicFlags -> Bool)
-> (MagicFlags -> MagicFlags -> Bool)
-> (MagicFlags -> MagicFlags -> Bool)
-> (MagicFlags -> MagicFlags -> Bool)
-> (MagicFlags -> MagicFlags -> MagicFlags)
-> (MagicFlags -> MagicFlags -> MagicFlags)
-> Ord MagicFlags
MagicFlags -> MagicFlags -> Bool
MagicFlags -> MagicFlags -> Ordering
MagicFlags -> MagicFlags -> MagicFlags
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: MagicFlags -> MagicFlags -> Ordering
compare :: MagicFlags -> MagicFlags -> Ordering
$c< :: MagicFlags -> MagicFlags -> Bool
< :: MagicFlags -> MagicFlags -> Bool
$c<= :: MagicFlags -> MagicFlags -> Bool
<= :: MagicFlags -> MagicFlags -> Bool
$c> :: MagicFlags -> MagicFlags -> Bool
> :: MagicFlags -> MagicFlags -> Bool
$c>= :: MagicFlags -> MagicFlags -> Bool
>= :: MagicFlags -> MagicFlags -> Bool
$cmax :: MagicFlags -> MagicFlags -> MagicFlags
max :: MagicFlags -> MagicFlags -> MagicFlags
$cmin :: MagicFlags -> MagicFlags -> MagicFlags
min :: MagicFlags -> MagicFlags -> MagicFlags
Ord, (forall x. MagicFlags -> Rep MagicFlags x)
-> (forall x. Rep MagicFlags x -> MagicFlags) -> Generic MagicFlags
forall x. Rep MagicFlags x -> MagicFlags
forall x. MagicFlags -> Rep MagicFlags x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. MagicFlags -> Rep MagicFlags x
from :: forall x. MagicFlags -> Rep MagicFlags x
$cto :: forall x. Rep MagicFlags x -> MagicFlags
to :: forall x. Rep MagicFlags x -> MagicFlags
Generic)

instance NFData MagicFlags where rnf :: MagicFlags -> ()
rnf (MagicFlags CInt
x) = CInt
x CInt -> () -> ()
forall a b. a -> b -> b
`seq` ()

-- | Flags combine by bitwise-or.
instance Semigroup MagicFlags where
  MagicFlags CInt
a <> :: MagicFlags -> MagicFlags -> MagicFlags
<> MagicFlags CInt
b = CInt -> MagicFlags
MagicFlags (CInt
a CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.|. CInt
b)

-- | 'mempty' is the empty flag set ('MagicNone').
instance Monoid MagicFlags where
  mempty :: MagicFlags
mempty = CInt -> MagicFlags
MagicFlags CInt
0

-- | Prints the set flags by name (e.g. @MagicMimeType <> MagicError@), or
-- @MagicNone@ when empty. Any bits not corresponding to a known flag are
-- shown as a raw @MagicFlags n@ term.
instance Show MagicFlags where
  showsPrec :: Int -> MagicFlags -> ShowS
showsPrec Int
p MagicFlags
fs =
    case [String]
names of
      []  -> String -> ShowS
showString String
"MagicNone"
      [String
n] -> String -> ShowS
showString String
n
      [String]
_   -> Bool -> ShowS -> ShowS
showParen (Int
p Int -> Int -> Bool
forall a. Ord a => a -> a -> Bool
> Int
6) (String -> ShowS
showString (String -> [String] -> String
forall a. [a] -> [[a]] -> [a]
intercalate String
" <> " [String]
names))
    where
      MagicFlags CInt
raw = MagicFlags
fs
      set :: [(String, CInt)]
set      = [ (String
n, CInt
v) | (String
n, MagicFlags CInt
v) <- [(String, MagicFlags)]
allNamedFlags, CInt -> Int
forall a. Bits a => a -> Int
popCount CInt
v Int -> Int -> Bool
forall a. Eq a => a -> a -> Bool
== Int
1, CInt
raw CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.&. CInt
v CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
== CInt
v ]
      covered :: CInt
covered  = ((String, CInt) -> CInt -> CInt)
-> CInt -> [(String, CInt)] -> CInt
forall a b. (a -> b -> b) -> b -> [a] -> b
forall (t :: * -> *) a b.
Foldable t =>
(a -> b -> b) -> b -> t a -> b
foldr (\(String
_, CInt
v) CInt
acc -> CInt
v CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.|. CInt
acc) (CInt
0 :: CInt) [(String, CInt)]
set
      leftover :: CInt
leftover = CInt
raw CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.&. CInt -> CInt
forall a. Bits a => a -> a
complement CInt
covered
      names :: [String]
names    = ((String, CInt) -> String) -> [(String, CInt)] -> [String]
forall a b. (a -> b) -> [a] -> [b]
map (String, CInt) -> String
forall a b. (a, b) -> a
fst [(String, CInt)]
set [String] -> [String] -> [String]
forall a. [a] -> [a] -> [a]
++ [ String
"MagicFlags " String -> ShowS
forall a. [a] -> [a] -> [a]
++ CInt -> String
forall a. Show a => a -> String
show CInt
leftover | CInt
leftover CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= (CInt
0 :: CInt) ]

-- | @'hasFlag' fs flag@ is 'True' when every bit of @flag@ is set in @fs@.
-- Works for composite flags too (e.g. @fs \`hasFlag\` 'MagicMime'@). Note
-- that @fs \`hasFlag\` 'MagicNone'@ is always 'True' (the empty set is a
-- subset of everything).
--
-- @since 2.0.0
hasFlag :: MagicFlags -> MagicFlags -> Bool
hasFlag :: MagicFlags -> MagicFlags -> Bool
hasFlag (MagicFlags CInt
x) (MagicFlags CInt
m) = CInt
x CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.&. CInt
m CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
== CInt
m

-- | @'removeFlags' fs drop@ clears every bit of @drop@ from @fs@ (set
-- difference), e.g. @flags \`removeFlags\` 'MagicError'@.
--
-- @since 2.0.0
removeFlags :: MagicFlags -> MagicFlags -> MagicFlags
removeFlags :: MagicFlags -> MagicFlags -> MagicFlags
removeFlags (MagicFlags CInt
a) (MagicFlags CInt
b) = CInt -> MagicFlags
MagicFlags (CInt
a CInt -> CInt -> CInt
forall a. Bits a => a -> a -> a
.&. CInt -> CInt
forall a. Bits a => a -> a
complement CInt
b)

-- | No special handling; return a textual description (the default). This is 'mempty'.
pattern MagicNone :: MagicFlags
pattern $bMagicNone :: MagicFlags
$mMagicNone :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNone = MagicFlags (0)
{-# LINE 118 "src/Magic/Data.hsc" #-}

-- | Print debugging messages to stderr.
pattern MagicDebug :: MagicFlags
pattern $bMagicDebug :: MagicFlags
$mMagicDebug :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicDebug = MagicFlags (1)
{-# LINE 122 "src/Magic/Data.hsc" #-}

-- | Follow symbolic links.
pattern MagicSymlink :: MagicFlags
pattern $bMagicSymlink :: MagicFlags
$mMagicSymlink :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicSymlink = MagicFlags (2)
{-# LINE 126 "src/Magic/Data.hsc" #-}

-- | Look inside compressed files.
pattern MagicCompress :: MagicFlags
pattern $bMagicCompress :: MagicFlags
$mMagicCompress :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicCompress = MagicFlags (4)
{-# LINE 130 "src/Magic/Data.hsc" #-}

-- | Look at the contents of block or character special devices.
pattern MagicDevices :: MagicFlags
pattern $bMagicDevices :: MagicFlags
$mMagicDevices :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicDevices = MagicFlags (8)
{-# LINE 134 "src/Magic/Data.hsc" #-}

-- | Return a MIME type string instead of a textual description.
pattern MagicMimeType :: MagicFlags
pattern $bMagicMimeType :: MagicFlags
$mMagicMimeType :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicMimeType = MagicFlags (16)
{-# LINE 138 "src/Magic/Data.hsc" #-}

-- | Return the MIME encoding (character set) instead of a textual description.
pattern MagicMimeEncoding :: MagicFlags
pattern $bMagicMimeEncoding :: MagicFlags
$mMagicMimeEncoding :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicMimeEncoding = MagicFlags (1024)
{-# LINE 142 "src/Magic/Data.hsc" #-}

-- | Return both the MIME type and the encoding (@'MagicMimeType' '<>' 'MagicMimeEncoding'@).
pattern MagicMime :: MagicFlags
pattern $bMagicMime :: MagicFlags
$mMagicMime :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicMime = MagicFlags (1040)
{-# LINE 146 "src/Magic/Data.hsc" #-}

-- | Return all matches, not just the first.
pattern MagicContinue :: MagicFlags
pattern $bMagicContinue :: MagicFlags
$mMagicContinue :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicContinue = MagicFlags (32)
{-# LINE 150 "src/Magic/Data.hsc" #-}

-- | Check the magic database for consistency and report problems.
pattern MagicCheck :: MagicFlags
pattern $bMagicCheck :: MagicFlags
$mMagicCheck :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicCheck = MagicFlags (64)
{-# LINE 154 "src/Magic/Data.hsc" #-}

-- | Preserve the access time of examined files.
pattern MagicPreserveAtime :: MagicFlags
pattern $bMagicPreserveAtime :: MagicFlags
$mMagicPreserveAtime :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicPreserveAtime = MagicFlags (128)
{-# LINE 158 "src/Magic/Data.hsc" #-}

-- | Do not translate unprintable characters to octal escapes.
pattern MagicRaw :: MagicFlags
pattern $bMagicRaw :: MagicFlags
$mMagicRaw :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicRaw = MagicFlags (256)
{-# LINE 162 "src/Magic/Data.hsc" #-}

-- | Treat errors while examining a file as real errors instead of embedding them in the result.
pattern MagicError :: MagicFlags
pattern $bMagicError :: MagicFlags
$mMagicError :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicError = MagicFlags (512)
{-# LINE 166 "src/Magic/Data.hsc" #-}

-- | Return the Apple creator and type.
pattern MagicApple :: MagicFlags
pattern $bMagicApple :: MagicFlags
$mMagicApple :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicApple = MagicFlags (2048)
{-# LINE 170 "src/Magic/Data.hsc" #-}

-- | Return a slash-separated list of valid file extensions for the detected type.
pattern MagicExtension :: MagicFlags
pattern $bMagicExtension :: MagicFlags
$mMagicExtension :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicExtension = MagicFlags (16777216)
{-# LINE 174 "src/Magic/Data.hsc" #-}

-- | Report on the compressed contents only, without mentioning the compression itself (transparent decompression).
pattern MagicCompressTransp :: MagicFlags
pattern $bMagicCompressTransp :: MagicFlags
$mMagicCompressTransp :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicCompressTransp = MagicFlags (33554432)
{-# LINE 178 "src/Magic/Data.hsc" #-}

-- | Do not allow decompression that requires forking a helper process.
pattern MagicNoCompressFork :: MagicFlags
pattern $bMagicNoCompressFork :: MagicFlags
$mMagicNoCompressFork :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCompressFork = MagicFlags (67108864)
{-# LINE 182 "src/Magic/Data.hsc" #-}

-- | Composite of 'MagicExtension', 'MagicMime' and 'MagicApple': return identifiers rather than a textual description.
pattern MagicNodesc :: MagicFlags
pattern $bMagicNodesc :: MagicFlags
$mMagicNodesc :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNodesc = MagicFlags (16780304)
{-# LINE 186 "src/Magic/Data.hsc" #-}

-- | Do not look inside compressed files.
pattern MagicNoCheckCompress :: MagicFlags
pattern $bMagicNoCheckCompress :: MagicFlags
$mMagicNoCheckCompress :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckCompress = MagicFlags (4096)
{-# LINE 190 "src/Magic/Data.hsc" #-}

-- | Do not examine tar archives.
pattern MagicNoCheckTar :: MagicFlags
pattern $bMagicNoCheckTar :: MagicFlags
$mMagicNoCheckTar :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckTar = MagicFlags (8192)
{-# LINE 194 "src/Magic/Data.hsc" #-}

-- | Do not consult the magic database entries (soft magic).
pattern MagicNoCheckSoft :: MagicFlags
pattern $bMagicNoCheckSoft :: MagicFlags
$mMagicNoCheckSoft :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckSoft = MagicFlags (16384)
{-# LINE 198 "src/Magic/Data.hsc" #-}

-- | Do not check for an application type (e.g. EMX).
pattern MagicNoCheckApptype :: MagicFlags
pattern $bMagicNoCheckApptype :: MagicFlags
$mMagicNoCheckApptype :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckApptype = MagicFlags (32768)
{-# LINE 202 "src/Magic/Data.hsc" #-}

-- | Do not examine ELF details.
pattern MagicNoCheckElf :: MagicFlags
pattern $bMagicNoCheckElf :: MagicFlags
$mMagicNoCheckElf :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckElf = MagicFlags (65536)
{-# LINE 206 "src/Magic/Data.hsc" #-}

-- | Do not examine text files.
pattern MagicNoCheckText :: MagicFlags
pattern $bMagicNoCheckText :: MagicFlags
$mMagicNoCheckText :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckText = MagicFlags (131072)
{-# LINE 210 "src/Magic/Data.hsc" #-}

-- | Do not examine CDF (Microsoft Compound Document) files.
pattern MagicNoCheckCdf :: MagicFlags
pattern $bMagicNoCheckCdf :: MagicFlags
$mMagicNoCheckCdf :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckCdf = MagicFlags (262144)
{-# LINE 214 "src/Magic/Data.hsc" #-}

-- | Do not examine CSV files.
pattern MagicNoCheckCsv :: MagicFlags
pattern $bMagicNoCheckCsv :: MagicFlags
$mMagicNoCheckCsv :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckCsv = MagicFlags (524288)
{-# LINE 218 "src/Magic/Data.hsc" #-}

-- | Do not look for known text tokens.
pattern MagicNoCheckTokens :: MagicFlags
pattern $bMagicNoCheckTokens :: MagicFlags
$mMagicNoCheckTokens :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckTokens = MagicFlags (1048576)
{-# LINE 222 "src/Magic/Data.hsc" #-}

-- | Do not check text encodings.
pattern MagicNoCheckEncoding :: MagicFlags
pattern $bMagicNoCheckEncoding :: MagicFlags
$mMagicNoCheckEncoding :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckEncoding = MagicFlags (2097152)
{-# LINE 226 "src/Magic/Data.hsc" #-}

-- | Do not examine JSON files.
pattern MagicNoCheckJson :: MagicFlags
pattern $bMagicNoCheckJson :: MagicFlags
$mMagicNoCheckJson :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckJson = MagicFlags (4194304)
{-# LINE 230 "src/Magic/Data.hsc" #-}

-- | Do not examine SIMH tape files.
pattern MagicNoCheckSimh :: MagicFlags
pattern $bMagicNoCheckSimh :: MagicFlags
$mMagicNoCheckSimh :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckSimh = MagicFlags (8388608)
{-# LINE 234 "src/Magic/Data.hsc" #-}

-- | Disable all built-in tests; consult only the magic database.
pattern MagicNoCheckBuiltin :: MagicFlags
pattern $bMagicNoCheckBuiltin :: MagicFlags
$mMagicNoCheckBuiltin :: forall {r}. MagicFlags -> ((# #) -> r) -> ((# #) -> r) -> r
MagicNoCheckBuiltin = MagicFlags (16756736)
{-# LINE 238 "src/Magic/Data.hsc" #-}

-- Every named flag, used by the 'Show' instance to print flags by name.
allNamedFlags :: [(String, MagicFlags)]
allNamedFlags :: [(String, MagicFlags)]
allNamedFlags =
  [ (String
"MagicNone", MagicFlags
MagicNone)
  , (String
"MagicDebug", MagicFlags
MagicDebug)
  , (String
"MagicSymlink", MagicFlags
MagicSymlink)
  , (String
"MagicCompress", MagicFlags
MagicCompress)
  , (String
"MagicDevices", MagicFlags
MagicDevices)
  , (String
"MagicMimeType", MagicFlags
MagicMimeType)
  , (String
"MagicMimeEncoding", MagicFlags
MagicMimeEncoding)
  , (String
"MagicMime", MagicFlags
MagicMime)
  , (String
"MagicContinue", MagicFlags
MagicContinue)
  , (String
"MagicCheck", MagicFlags
MagicCheck)
  , (String
"MagicPreserveAtime", MagicFlags
MagicPreserveAtime)
  , (String
"MagicRaw", MagicFlags
MagicRaw)
  , (String
"MagicError", MagicFlags
MagicError)
  , (String
"MagicApple", MagicFlags
MagicApple)
  , (String
"MagicExtension", MagicFlags
MagicExtension)
  , (String
"MagicCompressTransp", MagicFlags
MagicCompressTransp)
  , (String
"MagicNoCompressFork", MagicFlags
MagicNoCompressFork)
  , (String
"MagicNodesc", MagicFlags
MagicNodesc)
  , (String
"MagicNoCheckCompress", MagicFlags
MagicNoCheckCompress)
  , (String
"MagicNoCheckTar", MagicFlags
MagicNoCheckTar)
  , (String
"MagicNoCheckSoft", MagicFlags
MagicNoCheckSoft)
  , (String
"MagicNoCheckApptype", MagicFlags
MagicNoCheckApptype)
  , (String
"MagicNoCheckElf", MagicFlags
MagicNoCheckElf)
  , (String
"MagicNoCheckText", MagicFlags
MagicNoCheckText)
  , (String
"MagicNoCheckCdf", MagicFlags
MagicNoCheckCdf)
  , (String
"MagicNoCheckCsv", MagicFlags
MagicNoCheckCsv)
  , (String
"MagicNoCheckTokens", MagicFlags
MagicNoCheckTokens)
  , (String
"MagicNoCheckEncoding", MagicFlags
MagicNoCheckEncoding)
  , (String
"MagicNoCheckJson", MagicFlags
MagicNoCheckJson)
  , (String
"MagicNoCheckSimh", MagicFlags
MagicNoCheckSimh)
  , (String
"MagicNoCheckBuiltin", MagicFlags
MagicNoCheckBuiltin)
  ]