Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data DecodeState Source #
Instances
MonadState DecodeState DecodeAST Source # | |
Defined in LLVM.Internal.DecodeAST get :: DecodeAST DecodeState # put :: DecodeState -> DecodeAST () # state :: (DecodeState -> (a, DecodeState)) -> DecodeAST a # |
DecodeAST | |
|
Instances
runDecodeAST :: DecodeAST a -> IO a Source #
localScope :: DecodeAST a -> DecodeAST a Source #
getName :: (Ptr a -> IO CString) -> Ptr a -> (DecodeState -> NameMap a) -> DecodeAST Word -> DecodeAST Name Source #
getValueName :: DescendentOf Value v => Ptr v -> (DecodeState -> NameMap v) -> DecodeAST Word -> DecodeAST Name Source #
getLocalName :: DescendentOf Value v => Ptr v -> DecodeAST Name Source #
getGlobalName :: DescendentOf GlobalValue v => Ptr v -> DecodeAST Name Source #