binaryen-0.0.6.0: Haskell bindings to binaryen
Safe HaskellNone
LanguageHaskell2010

Binaryen.Expression

Description

Expressions.

See https://github.com/WebAssembly/binaryen/blob/master/src/binaryen-c.h for API documentation.

This module is intended to be imported qualified.

Documentation

newtype Expression Source #

Constructors

Expression (Ptr Expression) 

Instances

Instances details
Eq Expression Source # 
Instance details

Defined in Binaryen.Expression

Methods

(==) :: Expression -> Expression -> Bool

(/=) :: Expression -> Expression -> Bool

Show Expression Source # 
Instance details

Defined in Binaryen.Expression

Methods

showsPrec :: Int -> Expression -> ShowS

show :: Expression -> String

showList :: [Expression] -> ShowS

Storable Expression Source # 
Instance details

Defined in Binaryen.Expression

Methods

sizeOf :: Expression -> Int

alignment :: Expression -> Int

peekElemOff :: Ptr Expression -> Int -> IO Expression

pokeElemOff :: Ptr Expression -> Int -> Expression -> IO ()

peekByteOff :: Ptr b -> Int -> IO Expression

pokeByteOff :: Ptr b -> Int -> Expression -> IO ()

peek :: Ptr Expression -> IO Expression

poke :: Ptr Expression -> Expression -> IO ()

constInt32 :: Module -> Int32 -> IO Expression Source #

constInt64 :: Module -> Int64 -> IO Expression Source #

constVec128 :: Module -> Ptr Word8 -> IO Expression Source #

block :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #

loop :: Module -> Ptr CChar -> Expression -> IO Expression Source #

break :: Module -> Ptr CChar -> Expression -> Expression -> IO Expression Source #

switch :: Module -> Ptr (Ptr CChar) -> Index -> Ptr CChar -> Expression -> Expression -> IO Expression Source #

call :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #

returnCall :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #

globalGet :: Module -> Ptr CChar -> Type -> IO Expression Source #

globalSet :: Module -> Ptr CChar -> Expression -> IO Expression Source #

load :: Module -> Word32 -> Int8 -> Word32 -> Word32 -> Type -> Expression -> IO Expression Source #

store :: Module -> Word32 -> Word32 -> Word32 -> Expression -> Expression -> Type -> IO Expression Source #

atomicLoad :: Module -> Word32 -> Word32 -> Type -> Expression -> IO Expression Source #

atomicStore :: Module -> Word32 -> Word32 -> Expression -> Expression -> Type -> IO Expression Source #

simdLoad :: Module -> Op -> Word32 -> Word32 -> Expression -> IO Expression Source #

dataDrop :: Module -> Word32 -> IO Expression Source #

refFunc :: Module -> Ptr CChar -> Type -> IO Expression Source #

throw :: Module -> Ptr CChar -> Ptr Expression -> Index -> IO Expression Source #

brOnExn :: Module -> Ptr CChar -> Ptr CChar -> Expression -> IO Expression Source #

print :: Expression -> IO () Source #

blockGetName :: Expression -> IO (Ptr CChar) Source #

loopGetName :: Expression -> IO (Ptr CChar) Source #

breakGetName :: Expression -> IO (Ptr CChar) Source #

switchGetName :: Expression -> Index -> IO (Ptr CChar) Source #

callGetTarget :: Expression -> IO (Ptr CChar) Source #

globalGetGetName :: Expression -> IO (Ptr CChar) Source #

globalSetGetName :: Expression -> IO (Ptr CChar) Source #

constGetValueV128 :: Expression -> Ptr Word8 -> IO () Source #

simdShuffleGetMask :: Expression -> Ptr Word8 -> IO () Source #

refFuncGetFunc :: Expression -> IO (Ptr CChar) Source #

throwGetEvent :: Expression -> IO (Ptr CChar) Source #

brOnExnGetEvent :: Expression -> IO (Ptr CChar) Source #

brOnExnGetName :: Expression -> IO (Ptr CChar) Source #