Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
parseYamlHook :: forall b. (ReifiesBackend b, ToDbBackend b) => Maybe (Ref Table) -> Value -> Parser (YamlHook b) #
data YamlHookOnFailure #
Instances
builtinHooks :: forall b. (ReifiesBackend b, ToDbBackend b) => Map Text (Object -> Parser (HookProgram b)) #
newtype YamlPreprocessor b #
Instances
Eq (YamlPreprocessor b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs (==) :: YamlPreprocessor b -> YamlPreprocessor b -> Bool # (/=) :: YamlPreprocessor b -> YamlPreprocessor b -> Bool # | |
Show (YamlPreprocessor b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs showsPrec :: Int -> YamlPreprocessor b -> ShowS # show :: YamlPreprocessor b -> String # showList :: [YamlPreprocessor b] -> ShowS # | |
ToJSON (YamlPreprocessor b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs toJSON :: YamlPreprocessor b -> Value # toEncoding :: YamlPreprocessor b -> Encoding # toJSONList :: [YamlPreprocessor b] -> Value # toEncodingList :: [YamlPreprocessor b] -> Encoding # | |
FromJSON (YamlPreprocessor b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs parseJSON :: Value -> Parser (YamlPreprocessor b) # parseJSONList :: Value -> Parser [YamlPreprocessor b] # |
builtinPreprocessors :: Map Text (Object -> Parser (SpecPreprocessor b)) #
newtype YamlSpecProgram b #
Instances
Eq (YamlSpecProgram b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs (==) :: YamlSpecProgram b -> YamlSpecProgram b -> Bool # (/=) :: YamlSpecProgram b -> YamlSpecProgram b -> Bool # | |
Show (YamlSpecProgram b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs showsPrec :: Int -> YamlSpecProgram b -> ShowS # show :: YamlSpecProgram b -> String # showList :: [YamlSpecProgram b] -> ShowS # | |
ToJSON (YamlSpecProgram b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs toJSON :: YamlSpecProgram b -> Value # toEncoding :: YamlSpecProgram b -> Encoding # toJSONList :: [YamlSpecProgram b] -> Value # toEncodingList :: [YamlSpecProgram b] -> Encoding # | |
(ReifiesBackend b, ToDbBackend b) => FromJSON (YamlSpecProgram b) # | |
Defined in Napkin.Spec.Yaml.Types.Programs parseJSON :: Value -> Parser (YamlSpecProgram b) # parseJSONList :: Value -> Parser [YamlSpecProgram b] # |
builtinSpecPrograms :: forall b. (ReifiesBackend b, ToDbBackend b) => Map Text (Object -> Parser (SpecProgram b)) #