quickjs-hs-0.1.2.4: Wrapper for the QuickJS Javascript Engine
Safe HaskellNone
LanguageHaskell2010

Quickjs.Types

Documentation

data JSValue Source #

Constructors

JSValue 

Fields

Instances

Instances details
Eq JSValue Source # 
Instance details

Defined in Quickjs.Types

Methods

(==) :: JSValue -> JSValue -> Bool #

(/=) :: JSValue -> JSValue -> Bool #

Show JSValue Source # 
Instance details

Defined in Quickjs.Types

Storable JSValue Source # 
Instance details

Defined in Quickjs.Types

newtype JSRuntime Source #

Constructors

JSRuntime 

newtype JSContext Source #

Constructors

JSContext 

class ToCType ty cty where Source #

Methods

toCType :: ty -> cty Source #

Instances

Instances details
Num a => ToCType JSEvalType a Source # 
Instance details

Defined in Quickjs.Types

Methods

toCType :: JSEvalType -> a Source #

Num a => ToCType JSTagEnum a Source # 
Instance details

Defined in Quickjs.Types

Methods

toCType :: JSTagEnum -> a Source #

class FromCType ty cty where Source #

Methods

fromCType :: cty -> Maybe ty Source #

Instances

Instances details
(Eq a, Num a) => FromCType JSTagEnum a Source # 
Instance details

Defined in Quickjs.Types

data JSTypeEnum Source #

Instances

Instances details
Show JSTypeEnum Source # 
Instance details

Defined in Quickjs.Types

data JSEvalType Source #

Constructors

Global 
Module 

Instances

Instances details
Num a => ToCType JSEvalType a Source # 
Instance details

Defined in Quickjs.Types

Methods

toCType :: JSEvalType -> a Source #