Safe Haskell | None |
---|---|
Language | Haskell98 |
The module should not depend on the Interpreter module. It is an internal module and should not be used if expecting a stable API.
- initialState :: Facts -> Container Text -> InterpreterState
- getModulename :: RIdentifier -> Text
- extractPrism :: Doc -> Prism' a b -> a -> InterpreterMonad b
- popScope :: InterpreterMonad ()
- pushScope :: CurContainerDesc -> InterpreterMonad ()
- getScopeName :: InterpreterMonad Text
- scopeName :: CurContainerDesc -> Text
- moduleName :: CurContainerDesc -> Text
- getScope :: InterpreterMonad CurContainerDesc
- getCurContainer :: InterpreterMonad CurContainer
- rcurcontainer :: Resource -> CurContainerDesc
- getPuppetPaths :: InterpreterMonad PuppetDirPaths
- getNodeName :: InterpreterMonad NodeName
- isIgnoredModule :: Text -> InterpreterMonad Bool
- checkStrict :: Doc -> Doc -> InterpreterMonad ()
- isExternalModule :: InterpreterMonad Bool
- warn :: MonadWriter InterpreterWriter m => Doc -> m ()
- debug :: MonadWriter InterpreterWriter m => Doc -> m ()
- logWriter :: MonadWriter InterpreterWriter m => Priority -> Doc -> m ()
- isEmpty :: (Eq x, Monoid x) => x -> Bool
- safeDecodeUtf8 :: ByteString -> InterpreterMonad Text
- dropInitialColons :: Text -> Text
- normalizeRIdentifier :: Text -> Text -> RIdentifier
Documentation
:: Facts | |
-> Container Text | Server settings |
-> InterpreterState |
getModulename :: RIdentifier -> Text Source
extractPrism :: Doc -> Prism' a b -> a -> InterpreterMonad b Source
popScope :: InterpreterMonad () Source
pushScope :: CurContainerDesc -> InterpreterMonad () Source
getScopeName :: InterpreterMonad Text Source
scopeName :: CurContainerDesc -> Text Source
moduleName :: CurContainerDesc -> Text Source
isIgnoredModule :: Text -> InterpreterMonad Bool Source
:: Doc | The warning message. |
-> Doc | The error message. |
-> InterpreterMonad () |
Throws an error if we are in strict mode A warning in permissive mode
warn :: MonadWriter InterpreterWriter m => Doc -> m () Source
debug :: MonadWriter InterpreterWriter m => Doc -> m () Source
logWriter :: MonadWriter InterpreterWriter m => Priority -> Doc -> m () Source
safeDecodeUtf8 :: ByteString -> InterpreterMonad Text Source
dropInitialColons :: Text -> Text Source
normalizeRIdentifier :: Text -> Text -> RIdentifier Source