capnp-0.12.0.0: Cap'n Proto for Haskell
Safe HaskellNone
LanguageHaskell2010

Capnp.Gen.Capnp.Compat.Json.New

Documentation

data Value Source #

Instances

Instances details
TypedStruct Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasTypeId Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

typeId :: Word64 Source #

AllocateList Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type ListAllocHint Value Source #

Methods

newList :: RWCtx m s => ListAllocHint Value -> Message ('Mut s) -> m (Raw ('Mut s) (List Value)) Source #

Allocate Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type AllocHint Value Source #

Methods

new :: RWCtx m s => AllocHint Value -> Message ('Mut s) -> m (Raw ('Mut s) Value) Source #

HasUnion Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

data Which Value Source #

data RawWhich mut Value Source #

Methods

unionField :: Field 'Slot Value Word16 Source #

internalWhich :: forall m (mut :: Mutability). ReadCtx m mut => Word16 -> Raw mut Value -> m (RawWhich mut Value) Source #

HasVariant "boolean" 'Slot Value Bool Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "call" 'Slot Value Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "null" 'Slot Value () Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "number" 'Slot Value Double Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "string" 'Slot Value Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "value" 'Slot Value'Field Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "array" 'Slot Value (List Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "object" 'Slot Value (List Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "params" 'Slot Value'Call (List Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateListAlloc Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Marshal Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

marshalInto :: RWCtx m s => Raw ('Mut s) Value -> Parsed Value -> m () Source #

EstimateAlloc Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Parse Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

parse :: ReadCtx m 'Const => Raw 'Const Value -> m (Parsed Value) Source #

encode :: RWCtx m s => Message ('Mut s) -> Parsed Value -> m (Raw ('Mut s) Value) Source #

Eq (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Eq (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Generic (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed (Which Value)) :: Type -> Type #

Generic (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed Value) :: Type -> Type #

Methods

from :: Parsed Value -> Rep (Parsed Value) x #

to :: Rep (Parsed Value) x -> Parsed Value #

Marshal (Which Value) (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

marshalInto :: RWCtx m s => Raw ('Mut s) (Which Value) -> Parsed (Which Value) -> m () Source #

Parse (Which Value) (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

parse :: ReadCtx m 'Const => Raw 'Const (Which Value) -> m (Parsed (Which Value)) Source #

encode :: RWCtx m s => Message ('Mut s) -> Parsed (Which Value) -> m (Raw ('Mut s) (Which Value)) Source #

type ReprFor Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Parsed Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type ListAllocHint Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint Value = ()
data Which Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data RawWhich mut_ Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed (Which Value)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json.New" "capnp-0.12.0.0-9jnlPOdOYzy7ssULfTgYnR" 'False) (C1 ('MetaCons "Value" 'PrefixI 'True) (S1 ('MetaSel ('Just "union'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed (Which Value)))))
data Parsed (Which Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Value'Field Source #

Instances

Instances details
TypedStruct Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasTypeId Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

typeId :: Word64 Source #

AllocateList Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type ListAllocHint Value'Field Source #

Methods

newList :: RWCtx m s => ListAllocHint Value'Field -> Message ('Mut s) -> m (Raw ('Mut s) (List Value'Field)) Source #

Allocate Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type AllocHint Value'Field Source #

Methods

new :: RWCtx m s => AllocHint Value'Field -> Message ('Mut s) -> m (Raw ('Mut s) Value'Field) Source #

HasField "name" 'Slot Value'Field Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "value" 'Slot Value'Field Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasVariant "object" 'Slot Value (List Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateListAlloc Value'Field (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Marshal Value'Field (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

marshalInto :: RWCtx m s => Raw ('Mut s) Value'Field -> Parsed Value'Field -> m () Source #

EstimateAlloc Value'Field (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Parse Value'Field (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Eq (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Generic (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed Value'Field) :: Type -> Type #

type ReprFor Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Parsed Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type ListAllocHint Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value'Field) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json.New" "capnp-0.12.0.0-9jnlPOdOYzy7ssULfTgYnR" 'False) (C1 ('MetaCons "Value'Field" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Value))))

data Value'Call Source #

Instances

Instances details
TypedStruct Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasTypeId Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

typeId :: Word64 Source #

AllocateList Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type ListAllocHint Value'Call Source #

Methods

newList :: RWCtx m s => ListAllocHint Value'Call -> Message ('Mut s) -> m (Raw ('Mut s) (List Value'Call)) Source #

Allocate Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type AllocHint Value'Call Source #

Methods

new :: RWCtx m s => AllocHint Value'Call -> Message ('Mut s) -> m (Raw ('Mut s) Value'Call) Source #

HasVariant "call" 'Slot Value Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "function" 'Slot Value'Call Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "params" 'Slot Value'Call (List Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateListAlloc Value'Call (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Marshal Value'Call (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

marshalInto :: RWCtx m s => Raw ('Mut s) Value'Call -> Parsed Value'Call -> m () Source #

EstimateAlloc Value'Call (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Parse Value'Call (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Eq (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Generic (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed Value'Call) :: Type -> Type #

type ReprFor Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Parsed Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type ListAllocHint Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed Value'Call) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json.New" "capnp-0.12.0.0-9jnlPOdOYzy7ssULfTgYnR" 'False) (C1 ('MetaCons "Value'Call" 'PrefixI 'True) (S1 ('MetaSel ('Just "function") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Text)) :*: S1 ('MetaSel ('Just "params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed (List Value)))))

data FlattenOptions Source #

Instances

Instances details
TypedStruct FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasTypeId FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

typeId :: Word64 Source #

AllocateList FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type ListAllocHint FlattenOptions Source #

Allocate FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type AllocHint FlattenOptions Source #

Methods

new :: RWCtx m s => AllocHint FlattenOptions -> Message ('Mut s) -> m (Raw ('Mut s) FlattenOptions) Source #

HasField "prefix" 'Slot FlattenOptions Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateListAlloc FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Marshal FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateAlloc FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Parse FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Eq (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Generic (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed FlattenOptions) :: Type -> Type #

type ReprFor FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Parsed FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type ListAllocHint FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed FlattenOptions) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json.New" "capnp-0.12.0.0-9jnlPOdOYzy7ssULfTgYnR" 'False) (C1 ('MetaCons "FlattenOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Text))))

data DiscriminatorOptions Source #

Instances

Instances details
TypedStruct DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasTypeId DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Methods

typeId :: Word64 Source #

AllocateList DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Allocate DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type AllocHint DiscriminatorOptions Source #

HasField "name" 'Slot DiscriminatorOptions Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

HasField "valueName" 'Slot DiscriminatorOptions Text Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateListAlloc DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Marshal DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

EstimateAlloc DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Parse DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Eq (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Show (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Generic (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

Associated Types

type Rep (Parsed DiscriminatorOptions) :: Type -> Type #

type ReprFor DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

data Parsed DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type ListAllocHint DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type AllocHint DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json.New

type Rep (Parsed DiscriminatorOptions) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json.New" "capnp-0.12.0.0-9jnlPOdOYzy7ssULfTgYnR" 'False) (C1 ('MetaCons "DiscriminatorOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Text)) :*: S1 ('MetaSel ('Just "valueName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Parsed Text))))