quickjs-hs-0.1.2.3: Wrapper for the QuickJS Javascript Engine

Safe HaskellNone
LanguageHaskell2010

Quickjs.Types

Documentation

data JSValue Source #

Constructors

JSValue 

Fields

Instances
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
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
(Eq a, Num a) => FromCType JSTagEnum a Source # 
Instance details

Defined in Quickjs.Types

data JSEvalType Source #

Constructors

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

Defined in Quickjs.Types

Methods

toCType :: JSEvalType -> a Source #