capnp-0.17.0.0: Cap'n Proto for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Capnp.Gen.Capnp.Compat.Json

Documentation

data Value Source #

Instances

Instances details
Allocate Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type AllocHint Value Source #

Methods

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

AllocateList Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type ListAllocHint Value Source #

Methods

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

HasTypeId Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

typeId :: Word64 Source #

TypedStruct Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

HasUnion Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

data Which Value Source #

data RawWhich Value mut Source #

Methods

unionField :: Field 'Slot Value Word16 Source #

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateAlloc Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateListAlloc Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Marshal Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

Parse Value (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Generic (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Methods

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

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

Show (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

Eq (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

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

type AllocHint Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type AllocHint Value = ()
type ListAllocHint Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Parsed Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data RawWhich Value mut_ Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Which Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ReprFor Value Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed Value) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed Value) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json" "capnp-0.17.0.0-KnW61yXmCDxBdeB4uIxK8L" '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

data Value'Field Source #

Instances

Instances details
Allocate Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type AllocHint Value'Field Source #

Methods

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

AllocateList Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type ListAllocHint Value'Field Source #

Methods

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

HasTypeId Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

typeId :: Word64 Source #

TypedStruct Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

Generic (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Show (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Eq (Parsed Value'Field) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type AllocHint Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ListAllocHint Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Parsed Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ReprFor Value'Field Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed Value'Field) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json" "capnp-0.17.0.0-KnW61yXmCDxBdeB4uIxK8L" '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
Allocate Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type AllocHint Value'Call Source #

Methods

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

AllocateList Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type ListAllocHint Value'Call Source #

Methods

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

HasTypeId Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

typeId :: Word64 Source #

TypedStruct Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

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

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

Defined in Capnp.Gen.Capnp.Compat.Json

Generic (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Show (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Eq (Parsed Value'Call) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type AllocHint Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ListAllocHint Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Parsed Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ReprFor Value'Call Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed Value'Call) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json" "capnp-0.17.0.0-KnW61yXmCDxBdeB4uIxK8L" '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
Allocate FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type AllocHint FlattenOptions Source #

Methods

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

AllocateList FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type ListAllocHint FlattenOptions Source #

HasTypeId FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

typeId :: Word64 Source #

TypedStruct FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateAlloc FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateListAlloc FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Marshal FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Parse FlattenOptions (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Generic (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Show (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Eq (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type AllocHint FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ListAllocHint FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Parsed FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ReprFor FlattenOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed FlattenOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

data DiscriminatorOptions Source #

Instances

Instances details
Allocate DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

type AllocHint DiscriminatorOptions Source #

AllocateList DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

HasTypeId DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Methods

typeId :: Word64 Source #

TypedStruct DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

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

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateAlloc DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

EstimateListAlloc DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Marshal DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Parse DiscriminatorOptions (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Generic (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Associated Types

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

Show (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

Eq (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type AllocHint DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ListAllocHint DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

data Parsed DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type ReprFor DiscriminatorOptions Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed DiscriminatorOptions) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Compat.Json

type Rep (Parsed DiscriminatorOptions) = D1 ('MetaData "Parsed" "Capnp.Gen.Capnp.Compat.Json" "capnp-0.17.0.0-KnW61yXmCDxBdeB4uIxK8L" '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))))