Documentation ¶
Index ¶
- Constants
- type Annotation
- func (s Annotation) Brand() (Brand, error)
- func (s Annotation) HasBrand() bool
- func (s Annotation) HasValue() bool
- func (s Annotation) Id() uint64
- func (s Annotation) NewBrand() (Brand, error)
- func (s Annotation) NewValue() (Value, error)
- func (s Annotation) SetBrand(v Brand) error
- func (s Annotation) SetId(v uint64)
- func (s Annotation) SetValue(v Value) error
- func (s Annotation) Value() (Value, error)
- type Annotation_List
- type Annotation_Promise
- type Brand
- type Brand_Binding
- type Brand_Binding_List
- type Brand_Binding_Promise
- type Brand_Binding_Which
- type Brand_List
- type Brand_Promise
- type Brand_Scope
- func (s Brand_Scope) Bind() (Brand_Binding_List, error)
- func (s Brand_Scope) HasBind() bool
- func (s Brand_Scope) NewBind(n int32) (Brand_Binding_List, error)
- func (s Brand_Scope) ScopeId() uint64
- func (s Brand_Scope) SetBind(v Brand_Binding_List) error
- func (s Brand_Scope) SetInherit()
- func (s Brand_Scope) SetScopeId(v uint64)
- func (s Brand_Scope) Which() Brand_Scope_Which
- type Brand_Scope_List
- type Brand_Scope_Promise
- type Brand_Scope_Which
- type CodeGeneratorRequest
- func (s CodeGeneratorRequest) HasNodes() bool
- func (s CodeGeneratorRequest) HasRequestedFiles() bool
- func (s CodeGeneratorRequest) NewNodes(n int32) (Node_List, error)
- func (s CodeGeneratorRequest) NewRequestedFiles(n int32) (CodeGeneratorRequest_RequestedFile_List, error)
- func (s CodeGeneratorRequest) Nodes() (Node_List, error)
- func (s CodeGeneratorRequest) RequestedFiles() (CodeGeneratorRequest_RequestedFile_List, error)
- func (s CodeGeneratorRequest) SetNodes(v Node_List) error
- func (s CodeGeneratorRequest) SetRequestedFiles(v CodeGeneratorRequest_RequestedFile_List) error
- type CodeGeneratorRequest_List
- type CodeGeneratorRequest_Promise
- type CodeGeneratorRequest_RequestedFile
- func NewCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)
- func NewRootCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)
- func ReadRootCodeGeneratorRequest_RequestedFile(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile, error)
- func (s CodeGeneratorRequest_RequestedFile) Filename() (string, error)
- func (s CodeGeneratorRequest_RequestedFile) FilenameBytes() ([]byte, error)
- func (s CodeGeneratorRequest_RequestedFile) HasFilename() bool
- func (s CodeGeneratorRequest_RequestedFile) HasImports() bool
- func (s CodeGeneratorRequest_RequestedFile) Id() uint64
- func (s CodeGeneratorRequest_RequestedFile) Imports() (CodeGeneratorRequest_RequestedFile_Import_List, error)
- func (s CodeGeneratorRequest_RequestedFile) NewImports(n int32) (CodeGeneratorRequest_RequestedFile_Import_List, error)
- func (s CodeGeneratorRequest_RequestedFile) SetFilename(v string) error
- func (s CodeGeneratorRequest_RequestedFile) SetId(v uint64)
- func (s CodeGeneratorRequest_RequestedFile) SetImports(v CodeGeneratorRequest_RequestedFile_Import_List) error
- type CodeGeneratorRequest_RequestedFile_Import
- func NewCodeGeneratorRequest_RequestedFile_Import(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile_Import, error)
- func NewRootCodeGeneratorRequest_RequestedFile_Import(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile_Import, error)
- func ReadRootCodeGeneratorRequest_RequestedFile_Import(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile_Import, error)
- func (s CodeGeneratorRequest_RequestedFile_Import) HasName() bool
- func (s CodeGeneratorRequest_RequestedFile_Import) Id() uint64
- func (s CodeGeneratorRequest_RequestedFile_Import) Name() (string, error)
- func (s CodeGeneratorRequest_RequestedFile_Import) NameBytes() ([]byte, error)
- func (s CodeGeneratorRequest_RequestedFile_Import) SetId(v uint64)
- func (s CodeGeneratorRequest_RequestedFile_Import) SetName(v string) error
- type CodeGeneratorRequest_RequestedFile_Import_List
- type CodeGeneratorRequest_RequestedFile_Import_Promise
- type CodeGeneratorRequest_RequestedFile_List
- type CodeGeneratorRequest_RequestedFile_Promise
- type ElementSize
- type ElementSize_List
- type Enumerant
- func (s Enumerant) Annotations() (Annotation_List, error)
- func (s Enumerant) CodeOrder() uint16
- func (s Enumerant) HasAnnotations() bool
- func (s Enumerant) HasName() bool
- func (s Enumerant) Name() (string, error)
- func (s Enumerant) NameBytes() ([]byte, error)
- func (s Enumerant) NewAnnotations(n int32) (Annotation_List, error)
- func (s Enumerant) SetAnnotations(v Annotation_List) error
- func (s Enumerant) SetCodeOrder(v uint16)
- func (s Enumerant) SetName(v string) error
- type Enumerant_List
- type Enumerant_Promise
- type Field
- func (s Field) Annotations() (Annotation_List, error)
- func (s Field) CodeOrder() uint16
- func (s Field) DiscriminantValue() uint16
- func (s Field) Group() Field_group
- func (s Field) HasAnnotations() bool
- func (s Field) HasName() bool
- func (s Field) Name() (string, error)
- func (s Field) NameBytes() ([]byte, error)
- func (s Field) NewAnnotations(n int32) (Annotation_List, error)
- func (s Field) Ordinal() Field_ordinal
- func (s Field) SetAnnotations(v Annotation_List) error
- func (s Field) SetCodeOrder(v uint16)
- func (s Field) SetDiscriminantValue(v uint16)
- func (s Field) SetGroup()
- func (s Field) SetName(v string) error
- func (s Field) SetSlot()
- func (s Field) Slot() Field_slot
- func (s Field) Which() Field_Which
- type Field_List
- type Field_Promise
- type Field_Which
- type Field_group
- type Field_group_Promise
- type Field_ordinal
- type Field_ordinal_Promise
- type Field_ordinal_Which
- type Field_slot
- func (s Field_slot) DefaultValue() (Value, error)
- func (s Field_slot) HadExplicitDefault() bool
- func (s Field_slot) HasDefaultValue() bool
- func (s Field_slot) HasType() bool
- func (s Field_slot) NewDefaultValue() (Value, error)
- func (s Field_slot) NewType() (Type, error)
- func (s Field_slot) Offset() uint32
- func (s Field_slot) SetDefaultValue(v Value) error
- func (s Field_slot) SetHadExplicitDefault(v bool)
- func (s Field_slot) SetOffset(v uint32)
- func (s Field_slot) SetType(v Type) error
- func (s Field_slot) Type() (Type, error)
- type Field_slot_Promise
- type Method
- func (s Method) Annotations() (Annotation_List, error)
- func (s Method) CodeOrder() uint16
- func (s Method) HasAnnotations() bool
- func (s Method) HasImplicitParameters() bool
- func (s Method) HasName() bool
- func (s Method) HasParamBrand() bool
- func (s Method) HasResultBrand() bool
- func (s Method) ImplicitParameters() (Node_Parameter_List, error)
- func (s Method) Name() (string, error)
- func (s Method) NameBytes() ([]byte, error)
- func (s Method) NewAnnotations(n int32) (Annotation_List, error)
- func (s Method) NewImplicitParameters(n int32) (Node_Parameter_List, error)
- func (s Method) NewParamBrand() (Brand, error)
- func (s Method) NewResultBrand() (Brand, error)
- func (s Method) ParamBrand() (Brand, error)
- func (s Method) ParamStructType() uint64
- func (s Method) ResultBrand() (Brand, error)
- func (s Method) ResultStructType() uint64
- func (s Method) SetAnnotations(v Annotation_List) error
- func (s Method) SetCodeOrder(v uint16)
- func (s Method) SetImplicitParameters(v Node_Parameter_List) error
- func (s Method) SetName(v string) error
- func (s Method) SetParamBrand(v Brand) error
- func (s Method) SetParamStructType(v uint64)
- func (s Method) SetResultBrand(v Brand) error
- func (s Method) SetResultStructType(v uint64)
- type Method_List
- type Method_Promise
- type Node
- func (s Node) Annotation() Node_annotation
- func (s Node) Annotations() (Annotation_List, error)
- func (s Node) Const() Node_const
- func (s Node) DisplayName() (string, error)
- func (s Node) DisplayNameBytes() ([]byte, error)
- func (s Node) DisplayNamePrefixLength() uint32
- func (s Node) Enum() Node_enum
- func (s Node) HasAnnotations() bool
- func (s Node) HasDisplayName() bool
- func (s Node) HasNestedNodes() bool
- func (s Node) HasParameters() bool
- func (s Node) Id() uint64
- func (s Node) Interface() Node_interface
- func (s Node) IsGeneric() bool
- func (s Node) NestedNodes() (Node_NestedNode_List, error)
- func (s Node) NewAnnotations(n int32) (Annotation_List, error)
- func (s Node) NewNestedNodes(n int32) (Node_NestedNode_List, error)
- func (s Node) NewParameters(n int32) (Node_Parameter_List, error)
- func (s Node) Parameters() (Node_Parameter_List, error)
- func (s Node) ScopeId() uint64
- func (s Node) SetAnnotation()
- func (s Node) SetAnnotations(v Annotation_List) error
- func (s Node) SetConst()
- func (s Node) SetDisplayName(v string) error
- func (s Node) SetDisplayNamePrefixLength(v uint32)
- func (s Node) SetEnum()
- func (s Node) SetFile()
- func (s Node) SetId(v uint64)
- func (s Node) SetInterface()
- func (s Node) SetIsGeneric(v bool)
- func (s Node) SetNestedNodes(v Node_NestedNode_List) error
- func (s Node) SetParameters(v Node_Parameter_List) error
- func (s Node) SetScopeId(v uint64)
- func (s Node) SetStructNode()
- func (s Node) StructNode() Node_structNode
- func (s Node) Which() Node_Which
- type Node_List
- type Node_NestedNode
- type Node_NestedNode_List
- type Node_NestedNode_Promise
- type Node_Parameter
- type Node_Parameter_List
- type Node_Parameter_Promise
- type Node_Promise
- func (p Node_Promise) Annotation() Node_annotation_Promise
- func (p Node_Promise) Const() Node_const_Promise
- func (p Node_Promise) Enum() Node_enum_Promise
- func (p Node_Promise) Interface() Node_interface_Promise
- func (p Node_Promise) Struct() (Node, error)
- func (p Node_Promise) StructNode() Node_structNode_Promise
- type Node_Which
- type Node_annotation
- func (s Node_annotation) HasType() bool
- func (s Node_annotation) NewType() (Type, error)
- func (s Node_annotation) SetTargetsAnnotation(v bool)
- func (s Node_annotation) SetTargetsConst(v bool)
- func (s Node_annotation) SetTargetsEnum(v bool)
- func (s Node_annotation) SetTargetsEnumerant(v bool)
- func (s Node_annotation) SetTargetsField(v bool)
- func (s Node_annotation) SetTargetsFile(v bool)
- func (s Node_annotation) SetTargetsGroup(v bool)
- func (s Node_annotation) SetTargetsInterface(v bool)
- func (s Node_annotation) SetTargetsMethod(v bool)
- func (s Node_annotation) SetTargetsParam(v bool)
- func (s Node_annotation) SetTargetsStruct(v bool)
- func (s Node_annotation) SetTargetsUnion(v bool)
- func (s Node_annotation) SetType(v Type) error
- func (s Node_annotation) TargetsAnnotation() bool
- func (s Node_annotation) TargetsConst() bool
- func (s Node_annotation) TargetsEnum() bool
- func (s Node_annotation) TargetsEnumerant() bool
- func (s Node_annotation) TargetsField() bool
- func (s Node_annotation) TargetsFile() bool
- func (s Node_annotation) TargetsGroup() bool
- func (s Node_annotation) TargetsInterface() bool
- func (s Node_annotation) TargetsMethod() bool
- func (s Node_annotation) TargetsParam() bool
- func (s Node_annotation) TargetsStruct() bool
- func (s Node_annotation) TargetsUnion() bool
- func (s Node_annotation) Type() (Type, error)
- type Node_annotation_Promise
- type Node_const
- func (s Node_const) HasType() bool
- func (s Node_const) HasValue() bool
- func (s Node_const) NewType() (Type, error)
- func (s Node_const) NewValue() (Value, error)
- func (s Node_const) SetType(v Type) error
- func (s Node_const) SetValue(v Value) error
- func (s Node_const) Type() (Type, error)
- func (s Node_const) Value() (Value, error)
- type Node_const_Promise
- type Node_enum
- type Node_enum_Promise
- type Node_interface
- func (s Node_interface) HasMethods() bool
- func (s Node_interface) HasSuperclasses() bool
- func (s Node_interface) Methods() (Method_List, error)
- func (s Node_interface) NewMethods(n int32) (Method_List, error)
- func (s Node_interface) NewSuperclasses(n int32) (Superclass_List, error)
- func (s Node_interface) SetMethods(v Method_List) error
- func (s Node_interface) SetSuperclasses(v Superclass_List) error
- func (s Node_interface) Superclasses() (Superclass_List, error)
- type Node_interface_Promise
- type Node_structNode
- func (s Node_structNode) DataWordCount() uint16
- func (s Node_structNode) DiscriminantCount() uint16
- func (s Node_structNode) DiscriminantOffset() uint32
- func (s Node_structNode) Fields() (Field_List, error)
- func (s Node_structNode) HasFields() bool
- func (s Node_structNode) IsGroup() bool
- func (s Node_structNode) NewFields(n int32) (Field_List, error)
- func (s Node_structNode) PointerCount() uint16
- func (s Node_structNode) PreferredListEncoding() ElementSize
- func (s Node_structNode) SetDataWordCount(v uint16)
- func (s Node_structNode) SetDiscriminantCount(v uint16)
- func (s Node_structNode) SetDiscriminantOffset(v uint32)
- func (s Node_structNode) SetFields(v Field_List) error
- func (s Node_structNode) SetIsGroup(v bool)
- func (s Node_structNode) SetPointerCount(v uint16)
- func (s Node_structNode) SetPreferredListEncoding(v ElementSize)
- type Node_structNode_Promise
- type Superclass
- type Superclass_List
- type Superclass_Promise
- type Type
- func (s Type) AnyPointer() Type_anyPointer
- func (s Type) Enum() Type_enum
- func (s Type) Interface() Type_interface
- func (s Type) List() Type_list
- func (s Type) SetAnyPointer()
- func (s Type) SetBool()
- func (s Type) SetData()
- func (s Type) SetEnum()
- func (s Type) SetFloat32()
- func (s Type) SetFloat64()
- func (s Type) SetInt16()
- func (s Type) SetInt32()
- func (s Type) SetInt64()
- func (s Type) SetInt8()
- func (s Type) SetInterface()
- func (s Type) SetList()
- func (s Type) SetStructType()
- func (s Type) SetText()
- func (s Type) SetUint16()
- func (s Type) SetUint32()
- func (s Type) SetUint64()
- func (s Type) SetUint8()
- func (s Type) SetVoid()
- func (s Type) StructType() Type_structType
- func (s Type) Which() Type_Which
- type Type_List
- type Type_Promise
- func (p Type_Promise) AnyPointer() Type_anyPointer_Promise
- func (p Type_Promise) Enum() Type_enum_Promise
- func (p Type_Promise) Interface() Type_interface_Promise
- func (p Type_Promise) List() Type_list_Promise
- func (p Type_Promise) Struct() (Type, error)
- func (p Type_Promise) StructType() Type_structType_Promise
- type Type_Which
- type Type_anyPointer
- func (s Type_anyPointer) ImplicitMethodParameter() Type_anyPointer_implicitMethodParameter
- func (s Type_anyPointer) Parameter() Type_anyPointer_parameter
- func (s Type_anyPointer) SetImplicitMethodParameter()
- func (s Type_anyPointer) SetParameter()
- func (s Type_anyPointer) SetUnconstrained()
- func (s Type_anyPointer) Unconstrained() Type_anyPointer_unconstrained
- func (s Type_anyPointer) Which() Type_anyPointer_Which
- type Type_anyPointer_Promise
- func (p Type_anyPointer_Promise) ImplicitMethodParameter() Type_anyPointer_implicitMethodParameter_Promise
- func (p Type_anyPointer_Promise) Parameter() Type_anyPointer_parameter_Promise
- func (p Type_anyPointer_Promise) Struct() (Type_anyPointer, error)
- func (p Type_anyPointer_Promise) Unconstrained() Type_anyPointer_unconstrained_Promise
- type Type_anyPointer_Which
- type Type_anyPointer_implicitMethodParameter
- type Type_anyPointer_implicitMethodParameter_Promise
- type Type_anyPointer_parameter
- type Type_anyPointer_parameter_Promise
- type Type_anyPointer_unconstrained
- type Type_anyPointer_unconstrained_Promise
- type Type_anyPointer_unconstrained_Which
- type Type_enum
- type Type_enum_Promise
- type Type_interface
- type Type_interface_Promise
- type Type_list
- type Type_list_Promise
- type Type_structType
- type Type_structType_Promise
- type Value
- func (s Value) AnyPointer() (capnp.Pointer, error)
- func (s Value) AnyPointerPtr() (capnp.Ptr, error)
- func (s Value) Bool() bool
- func (s Value) Data() ([]byte, error)
- func (s Value) Enum() uint16
- func (s Value) Float32() float32
- func (s Value) Float64() float64
- func (s Value) HasAnyPointer() bool
- func (s Value) HasData() bool
- func (s Value) HasList() bool
- func (s Value) HasStructValue() bool
- func (s Value) HasText() bool
- func (s Value) Int16() int16
- func (s Value) Int32() int32
- func (s Value) Int64() int64
- func (s Value) Int8() int8
- func (s Value) List() (capnp.Pointer, error)
- func (s Value) ListPtr() (capnp.Ptr, error)
- func (s Value) SetAnyPointer(v capnp.Pointer) error
- func (s Value) SetAnyPointerPtr(v capnp.Ptr) error
- func (s Value) SetBool(v bool)
- func (s Value) SetData(v []byte) error
- func (s Value) SetEnum(v uint16)
- func (s Value) SetFloat32(v float32)
- func (s Value) SetFloat64(v float64)
- func (s Value) SetInt16(v int16)
- func (s Value) SetInt32(v int32)
- func (s Value) SetInt64(v int64)
- func (s Value) SetInt8(v int8)
- func (s Value) SetInterface()
- func (s Value) SetList(v capnp.Pointer) error
- func (s Value) SetListPtr(v capnp.Ptr) error
- func (s Value) SetStructValue(v capnp.Pointer) error
- func (s Value) SetStructValuePtr(v capnp.Ptr) error
- func (s Value) SetText(v string) error
- func (s Value) SetUint16(v uint16)
- func (s Value) SetUint32(v uint32)
- func (s Value) SetUint64(v uint64)
- func (s Value) SetUint8(v uint8)
- func (s Value) SetVoid()
- func (s Value) StructValue() (capnp.Pointer, error)
- func (s Value) StructValuePtr() (capnp.Ptr, error)
- func (s Value) Text() (string, error)
- func (s Value) TextBytes() ([]byte, error)
- func (s Value) Uint16() uint16
- func (s Value) Uint32() uint32
- func (s Value) Uint64() uint64
- func (s Value) Uint8() uint8
- func (s Value) Which() Value_Which
- type Value_List
- type Value_Promise
- type Value_Which
Constants ¶
const Annotation_TypeID = 0xf1c8950dab257542
Annotation_TypeID is the unique identifier for the type Annotation.
const Brand_Binding_TypeID = 0xc863cd16969ee7fc
Brand_Binding_TypeID is the unique identifier for the type Brand_Binding.
const Brand_Scope_TypeID = 0xabd73485a9636bc9
Brand_Scope_TypeID is the unique identifier for the type Brand_Scope.
const Brand_TypeID = 0x903455f06065422b
Brand_TypeID is the unique identifier for the type Brand.
const CodeGeneratorRequest_RequestedFile_Import_TypeID = 0xae504193122357e5
CodeGeneratorRequest_RequestedFile_Import_TypeID is the unique identifier for the type CodeGeneratorRequest_RequestedFile_Import.
const CodeGeneratorRequest_RequestedFile_TypeID = 0xcfea0eb02e810062
CodeGeneratorRequest_RequestedFile_TypeID is the unique identifier for the type CodeGeneratorRequest_RequestedFile.
const CodeGeneratorRequest_TypeID = 0xbfc546f6210ad7ce
CodeGeneratorRequest_TypeID is the unique identifier for the type CodeGeneratorRequest.
const ElementSize_TypeID = 0xd1958f7dba521926
ElementSize_TypeID is the unique identifier for the type ElementSize.
const Enumerant_TypeID = 0x978a7cebdc549a4d
Enumerant_TypeID is the unique identifier for the type Enumerant.
const Field_TypeID = 0x9aad50a41f4af45f
Field_TypeID is the unique identifier for the type Field.
const (
Field_noDiscriminant = uint16(65535)
)
Constants defined in schema.capnp.
const Method_TypeID = 0x9500cce23b334d80
Method_TypeID is the unique identifier for the type Method.
const Node_NestedNode_TypeID = 0xdebf55bbfa0fc242
Node_NestedNode_TypeID is the unique identifier for the type Node_NestedNode.
const Node_Parameter_TypeID = 0xb9521bccf10fa3b1
Node_Parameter_TypeID is the unique identifier for the type Node_Parameter.
const Node_TypeID = 0xe682ab4cf923a417
Node_TypeID is the unique identifier for the type Node.
const Superclass_TypeID = 0xa9962a9ed0a4d7f8
Superclass_TypeID is the unique identifier for the type Superclass.
const Type_TypeID = 0xd07378ede1f9cc60
Type_TypeID is the unique identifier for the type Type.
const Value_TypeID = 0xce23dcd2d7b00c9b
Value_TypeID is the unique identifier for the type Value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotation ¶
func NewAnnotation ¶
func NewAnnotation(s *capnp.Segment) (Annotation, error)
func NewRootAnnotation ¶
func NewRootAnnotation(s *capnp.Segment) (Annotation, error)
func ReadRootAnnotation ¶
func ReadRootAnnotation(msg *capnp.Message) (Annotation, error)
func (Annotation) Brand ¶
func (s Annotation) Brand() (Brand, error)
func (Annotation) HasBrand ¶
func (s Annotation) HasBrand() bool
func (Annotation) HasValue ¶
func (s Annotation) HasValue() bool
func (Annotation) Id ¶
func (s Annotation) Id() uint64
func (Annotation) NewBrand ¶
func (s Annotation) NewBrand() (Brand, error)
NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Annotation) NewValue ¶
func (s Annotation) NewValue() (Value, error)
NewValue sets the value field to a newly allocated Value struct, preferring placement in s's segment.
func (Annotation) SetBrand ¶
func (s Annotation) SetBrand(v Brand) error
func (Annotation) SetId ¶
func (s Annotation) SetId(v uint64)
func (Annotation) SetValue ¶
func (s Annotation) SetValue(v Value) error
func (Annotation) Value ¶
func (s Annotation) Value() (Value, error)
type Annotation_List ¶
Annotation_List is a list of Annotation.
func NewAnnotation_List ¶
func NewAnnotation_List(s *capnp.Segment, sz int32) (Annotation_List, error)
NewAnnotation creates a new list of Annotation.
func (Annotation_List) At ¶
func (s Annotation_List) At(i int) Annotation
func (Annotation_List) Set ¶
func (s Annotation_List) Set(i int, v Annotation) error
type Annotation_Promise ¶
Annotation_Promise is a wrapper for a Annotation promised by a client call.
func (Annotation_Promise) Brand ¶
func (p Annotation_Promise) Brand() Brand_Promise
func (Annotation_Promise) Struct ¶
func (p Annotation_Promise) Struct() (Annotation, error)
func (Annotation_Promise) Value ¶
func (p Annotation_Promise) Value() Value_Promise
type Brand ¶
func (Brand) NewScopes ¶
func (s Brand) NewScopes(n int32) (Brand_Scope_List, error)
NewScopes sets the scopes field to a newly allocated Brand_Scope_List, preferring placement in s's segment.
func (Brand) Scopes ¶
func (s Brand) Scopes() (Brand_Scope_List, error)
func (Brand) SetScopes ¶
func (s Brand) SetScopes(v Brand_Scope_List) error
type Brand_Binding ¶
func NewBrand_Binding ¶
func NewBrand_Binding(s *capnp.Segment) (Brand_Binding, error)
func NewRootBrand_Binding ¶
func NewRootBrand_Binding(s *capnp.Segment) (Brand_Binding, error)
func ReadRootBrand_Binding ¶
func ReadRootBrand_Binding(msg *capnp.Message) (Brand_Binding, error)
func (Brand_Binding) HasType ¶
func (s Brand_Binding) HasType() bool
func (Brand_Binding) NewType ¶
func (s Brand_Binding) NewType() (Type, error)
NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.
func (Brand_Binding) SetType ¶
func (s Brand_Binding) SetType(v Type) error
func (Brand_Binding) SetUnbound ¶
func (s Brand_Binding) SetUnbound()
func (Brand_Binding) Type ¶
func (s Brand_Binding) Type() (Type, error)
func (Brand_Binding) Which ¶
func (s Brand_Binding) Which() Brand_Binding_Which
type Brand_Binding_List ¶
Brand_Binding_List is a list of Brand_Binding.
func NewBrand_Binding_List ¶
func NewBrand_Binding_List(s *capnp.Segment, sz int32) (Brand_Binding_List, error)
NewBrand_Binding creates a new list of Brand_Binding.
func (Brand_Binding_List) At ¶
func (s Brand_Binding_List) At(i int) Brand_Binding
func (Brand_Binding_List) Set ¶
func (s Brand_Binding_List) Set(i int, v Brand_Binding) error
type Brand_Binding_Promise ¶
Brand_Binding_Promise is a wrapper for a Brand_Binding promised by a client call.
func (Brand_Binding_Promise) Struct ¶
func (p Brand_Binding_Promise) Struct() (Brand_Binding, error)
func (Brand_Binding_Promise) Type ¶
func (p Brand_Binding_Promise) Type() Type_Promise
type Brand_Binding_Which ¶
type Brand_Binding_Which uint16
const ( Brand_Binding_Which_unbound Brand_Binding_Which = 0 Brand_Binding_Which_type Brand_Binding_Which = 1 )
func (Brand_Binding_Which) String ¶
func (w Brand_Binding_Which) String() string
type Brand_List ¶
Brand_List is a list of Brand.
func NewBrand_List ¶
func NewBrand_List(s *capnp.Segment, sz int32) (Brand_List, error)
NewBrand creates a new list of Brand.
func (Brand_List) At ¶
func (s Brand_List) At(i int) Brand
type Brand_Promise ¶
Brand_Promise is a wrapper for a Brand promised by a client call.
func (Brand_Promise) Struct ¶
func (p Brand_Promise) Struct() (Brand, error)
type Brand_Scope ¶
func NewBrand_Scope ¶
func NewBrand_Scope(s *capnp.Segment) (Brand_Scope, error)
func NewRootBrand_Scope ¶
func NewRootBrand_Scope(s *capnp.Segment) (Brand_Scope, error)
func ReadRootBrand_Scope ¶
func ReadRootBrand_Scope(msg *capnp.Message) (Brand_Scope, error)
func (Brand_Scope) Bind ¶
func (s Brand_Scope) Bind() (Brand_Binding_List, error)
func (Brand_Scope) HasBind ¶
func (s Brand_Scope) HasBind() bool
func (Brand_Scope) NewBind ¶
func (s Brand_Scope) NewBind(n int32) (Brand_Binding_List, error)
NewBind sets the bind field to a newly allocated Brand_Binding_List, preferring placement in s's segment.
func (Brand_Scope) ScopeId ¶
func (s Brand_Scope) ScopeId() uint64
func (Brand_Scope) SetBind ¶
func (s Brand_Scope) SetBind(v Brand_Binding_List) error
func (Brand_Scope) SetInherit ¶
func (s Brand_Scope) SetInherit()
func (Brand_Scope) SetScopeId ¶
func (s Brand_Scope) SetScopeId(v uint64)
func (Brand_Scope) Which ¶
func (s Brand_Scope) Which() Brand_Scope_Which
type Brand_Scope_List ¶
Brand_Scope_List is a list of Brand_Scope.
func NewBrand_Scope_List ¶
func NewBrand_Scope_List(s *capnp.Segment, sz int32) (Brand_Scope_List, error)
NewBrand_Scope creates a new list of Brand_Scope.
func (Brand_Scope_List) At ¶
func (s Brand_Scope_List) At(i int) Brand_Scope
func (Brand_Scope_List) Set ¶
func (s Brand_Scope_List) Set(i int, v Brand_Scope) error
type Brand_Scope_Promise ¶
Brand_Scope_Promise is a wrapper for a Brand_Scope promised by a client call.
func (Brand_Scope_Promise) Struct ¶
func (p Brand_Scope_Promise) Struct() (Brand_Scope, error)
type Brand_Scope_Which ¶
type Brand_Scope_Which uint16
const ( Brand_Scope_Which_bind Brand_Scope_Which = 0 Brand_Scope_Which_inherit Brand_Scope_Which = 1 )
func (Brand_Scope_Which) String ¶
func (w Brand_Scope_Which) String() string
type CodeGeneratorRequest ¶
func NewCodeGeneratorRequest ¶
func NewCodeGeneratorRequest(s *capnp.Segment) (CodeGeneratorRequest, error)
func NewRootCodeGeneratorRequest ¶
func NewRootCodeGeneratorRequest(s *capnp.Segment) (CodeGeneratorRequest, error)
func ReadRootCodeGeneratorRequest ¶
func ReadRootCodeGeneratorRequest(msg *capnp.Message) (CodeGeneratorRequest, error)
func (CodeGeneratorRequest) HasNodes ¶
func (s CodeGeneratorRequest) HasNodes() bool
func (CodeGeneratorRequest) HasRequestedFiles ¶
func (s CodeGeneratorRequest) HasRequestedFiles() bool
func (CodeGeneratorRequest) NewNodes ¶
func (s CodeGeneratorRequest) NewNodes(n int32) (Node_List, error)
NewNodes sets the nodes field to a newly allocated Node_List, preferring placement in s's segment.
func (CodeGeneratorRequest) NewRequestedFiles ¶
func (s CodeGeneratorRequest) NewRequestedFiles(n int32) (CodeGeneratorRequest_RequestedFile_List, error)
NewRequestedFiles sets the requestedFiles field to a newly allocated CodeGeneratorRequest_RequestedFile_List, preferring placement in s's segment.
func (CodeGeneratorRequest) Nodes ¶
func (s CodeGeneratorRequest) Nodes() (Node_List, error)
func (CodeGeneratorRequest) RequestedFiles ¶
func (s CodeGeneratorRequest) RequestedFiles() (CodeGeneratorRequest_RequestedFile_List, error)
func (CodeGeneratorRequest) SetNodes ¶
func (s CodeGeneratorRequest) SetNodes(v Node_List) error
func (CodeGeneratorRequest) SetRequestedFiles ¶
func (s CodeGeneratorRequest) SetRequestedFiles(v CodeGeneratorRequest_RequestedFile_List) error
type CodeGeneratorRequest_List ¶
CodeGeneratorRequest_List is a list of CodeGeneratorRequest.
func NewCodeGeneratorRequest_List ¶
func NewCodeGeneratorRequest_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_List, error)
NewCodeGeneratorRequest creates a new list of CodeGeneratorRequest.
func (CodeGeneratorRequest_List) At ¶
func (s CodeGeneratorRequest_List) At(i int) CodeGeneratorRequest
func (CodeGeneratorRequest_List) Set ¶
func (s CodeGeneratorRequest_List) Set(i int, v CodeGeneratorRequest) error
type CodeGeneratorRequest_Promise ¶
CodeGeneratorRequest_Promise is a wrapper for a CodeGeneratorRequest promised by a client call.
func (CodeGeneratorRequest_Promise) Struct ¶
func (p CodeGeneratorRequest_Promise) Struct() (CodeGeneratorRequest, error)
type CodeGeneratorRequest_RequestedFile ¶
func NewCodeGeneratorRequest_RequestedFile ¶
func NewCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)
func NewRootCodeGeneratorRequest_RequestedFile ¶
func NewRootCodeGeneratorRequest_RequestedFile(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile, error)
func ReadRootCodeGeneratorRequest_RequestedFile ¶
func ReadRootCodeGeneratorRequest_RequestedFile(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile, error)
func (CodeGeneratorRequest_RequestedFile) Filename ¶
func (s CodeGeneratorRequest_RequestedFile) Filename() (string, error)
func (CodeGeneratorRequest_RequestedFile) FilenameBytes ¶
func (s CodeGeneratorRequest_RequestedFile) FilenameBytes() ([]byte, error)
func (CodeGeneratorRequest_RequestedFile) HasFilename ¶
func (s CodeGeneratorRequest_RequestedFile) HasFilename() bool
func (CodeGeneratorRequest_RequestedFile) HasImports ¶
func (s CodeGeneratorRequest_RequestedFile) HasImports() bool
func (CodeGeneratorRequest_RequestedFile) Id ¶
func (s CodeGeneratorRequest_RequestedFile) Id() uint64
func (CodeGeneratorRequest_RequestedFile) Imports ¶
func (s CodeGeneratorRequest_RequestedFile) Imports() (CodeGeneratorRequest_RequestedFile_Import_List, error)
func (CodeGeneratorRequest_RequestedFile) NewImports ¶
func (s CodeGeneratorRequest_RequestedFile) NewImports(n int32) (CodeGeneratorRequest_RequestedFile_Import_List, error)
NewImports sets the imports field to a newly allocated CodeGeneratorRequest_RequestedFile_Import_List, preferring placement in s's segment.
func (CodeGeneratorRequest_RequestedFile) SetFilename ¶
func (s CodeGeneratorRequest_RequestedFile) SetFilename(v string) error
func (CodeGeneratorRequest_RequestedFile) SetId ¶
func (s CodeGeneratorRequest_RequestedFile) SetId(v uint64)
func (CodeGeneratorRequest_RequestedFile) SetImports ¶
func (s CodeGeneratorRequest_RequestedFile) SetImports(v CodeGeneratorRequest_RequestedFile_Import_List) error
type CodeGeneratorRequest_RequestedFile_Import ¶
func NewCodeGeneratorRequest_RequestedFile_Import ¶
func NewCodeGeneratorRequest_RequestedFile_Import(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile_Import, error)
func NewRootCodeGeneratorRequest_RequestedFile_Import ¶
func NewRootCodeGeneratorRequest_RequestedFile_Import(s *capnp.Segment) (CodeGeneratorRequest_RequestedFile_Import, error)
func ReadRootCodeGeneratorRequest_RequestedFile_Import ¶
func ReadRootCodeGeneratorRequest_RequestedFile_Import(msg *capnp.Message) (CodeGeneratorRequest_RequestedFile_Import, error)
func (CodeGeneratorRequest_RequestedFile_Import) HasName ¶
func (s CodeGeneratorRequest_RequestedFile_Import) HasName() bool
func (CodeGeneratorRequest_RequestedFile_Import) Id ¶
func (s CodeGeneratorRequest_RequestedFile_Import) Id() uint64
func (CodeGeneratorRequest_RequestedFile_Import) Name ¶
func (s CodeGeneratorRequest_RequestedFile_Import) Name() (string, error)
func (CodeGeneratorRequest_RequestedFile_Import) NameBytes ¶
func (s CodeGeneratorRequest_RequestedFile_Import) NameBytes() ([]byte, error)
func (CodeGeneratorRequest_RequestedFile_Import) SetId ¶
func (s CodeGeneratorRequest_RequestedFile_Import) SetId(v uint64)
func (CodeGeneratorRequest_RequestedFile_Import) SetName ¶
func (s CodeGeneratorRequest_RequestedFile_Import) SetName(v string) error
type CodeGeneratorRequest_RequestedFile_Import_List ¶
CodeGeneratorRequest_RequestedFile_Import_List is a list of CodeGeneratorRequest_RequestedFile_Import.
func NewCodeGeneratorRequest_RequestedFile_Import_List ¶
func NewCodeGeneratorRequest_RequestedFile_Import_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_RequestedFile_Import_List, error)
NewCodeGeneratorRequest_RequestedFile_Import creates a new list of CodeGeneratorRequest_RequestedFile_Import.
type CodeGeneratorRequest_RequestedFile_Import_Promise ¶
CodeGeneratorRequest_RequestedFile_Import_Promise is a wrapper for a CodeGeneratorRequest_RequestedFile_Import promised by a client call.
type CodeGeneratorRequest_RequestedFile_List ¶
CodeGeneratorRequest_RequestedFile_List is a list of CodeGeneratorRequest_RequestedFile.
func NewCodeGeneratorRequest_RequestedFile_List ¶
func NewCodeGeneratorRequest_RequestedFile_List(s *capnp.Segment, sz int32) (CodeGeneratorRequest_RequestedFile_List, error)
NewCodeGeneratorRequest_RequestedFile creates a new list of CodeGeneratorRequest_RequestedFile.
func (CodeGeneratorRequest_RequestedFile_List) Set ¶
func (s CodeGeneratorRequest_RequestedFile_List) Set(i int, v CodeGeneratorRequest_RequestedFile) error
type CodeGeneratorRequest_RequestedFile_Promise ¶
CodeGeneratorRequest_RequestedFile_Promise is a wrapper for a CodeGeneratorRequest_RequestedFile promised by a client call.
func (CodeGeneratorRequest_RequestedFile_Promise) Struct ¶
func (p CodeGeneratorRequest_RequestedFile_Promise) Struct() (CodeGeneratorRequest_RequestedFile, error)
type ElementSize ¶
type ElementSize uint16
const ( ElementSize_empty ElementSize = 0 ElementSize_bit ElementSize = 1 ElementSize_byte ElementSize = 2 ElementSize_twoBytes ElementSize = 3 ElementSize_fourBytes ElementSize = 4 ElementSize_eightBytes ElementSize = 5 ElementSize_pointer ElementSize = 6 ElementSize_inlineComposite ElementSize = 7 )
Values of ElementSize.
func ElementSizeFromString ¶
func ElementSizeFromString(c string) ElementSize
ElementSizeFromString returns the enum value with a name, or the zero value if there's no such value.
func (ElementSize) String ¶
func (c ElementSize) String() string
String returns the enum's constant name.
type ElementSize_List ¶
func NewElementSize_List ¶
func NewElementSize_List(s *capnp.Segment, sz int32) (ElementSize_List, error)
func (ElementSize_List) At ¶
func (l ElementSize_List) At(i int) ElementSize
func (ElementSize_List) Set ¶
func (l ElementSize_List) Set(i int, v ElementSize)
type Enumerant ¶
func (Enumerant) Annotations ¶
func (s Enumerant) Annotations() (Annotation_List, error)
func (Enumerant) HasAnnotations ¶
func (Enumerant) NewAnnotations ¶
func (s Enumerant) NewAnnotations(n int32) (Annotation_List, error)
NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.
func (Enumerant) SetAnnotations ¶
func (s Enumerant) SetAnnotations(v Annotation_List) error
func (Enumerant) SetCodeOrder ¶
type Enumerant_List ¶
Enumerant_List is a list of Enumerant.
func NewEnumerant_List ¶
func NewEnumerant_List(s *capnp.Segment, sz int32) (Enumerant_List, error)
NewEnumerant creates a new list of Enumerant.
func (Enumerant_List) At ¶
func (s Enumerant_List) At(i int) Enumerant
type Enumerant_Promise ¶
Enumerant_Promise is a wrapper for a Enumerant promised by a client call.
func (Enumerant_Promise) Struct ¶
func (p Enumerant_Promise) Struct() (Enumerant, error)
type Field ¶
func (Field) Annotations ¶
func (s Field) Annotations() (Annotation_List, error)
func (Field) DiscriminantValue ¶
func (Field) Group ¶
func (s Field) Group() Field_group
func (Field) HasAnnotations ¶
func (Field) NewAnnotations ¶
func (s Field) NewAnnotations(n int32) (Annotation_List, error)
NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.
func (Field) Ordinal ¶
func (s Field) Ordinal() Field_ordinal
func (Field) SetAnnotations ¶
func (s Field) SetAnnotations(v Annotation_List) error
func (Field) SetCodeOrder ¶
func (Field) SetDiscriminantValue ¶
func (Field) Slot ¶
func (s Field) Slot() Field_slot
func (Field) Which ¶
func (s Field) Which() Field_Which
type Field_List ¶
Field_List is a list of Field.
func NewField_List ¶
func NewField_List(s *capnp.Segment, sz int32) (Field_List, error)
NewField creates a new list of Field.
func (Field_List) At ¶
func (s Field_List) At(i int) Field
type Field_Promise ¶
Field_Promise is a wrapper for a Field promised by a client call.
func (Field_Promise) Group ¶
func (p Field_Promise) Group() Field_group_Promise
func (Field_Promise) Ordinal ¶
func (p Field_Promise) Ordinal() Field_ordinal_Promise
func (Field_Promise) Slot ¶
func (p Field_Promise) Slot() Field_slot_Promise
func (Field_Promise) Struct ¶
func (p Field_Promise) Struct() (Field, error)
type Field_Which ¶
type Field_Which uint16
const ( Field_Which_slot Field_Which = 0 Field_Which_group Field_Which = 1 )
func (Field_Which) String ¶
func (w Field_Which) String() string
type Field_group ¶
type Field_group Field
func (Field_group) SetTypeId ¶
func (s Field_group) SetTypeId(v uint64)
func (Field_group) TypeId ¶
func (s Field_group) TypeId() uint64
type Field_group_Promise ¶
Field_group_Promise is a wrapper for a Field_group promised by a client call.
func (Field_group_Promise) Struct ¶
func (p Field_group_Promise) Struct() (Field_group, error)
type Field_ordinal ¶
type Field_ordinal Field
func (Field_ordinal) Explicit ¶
func (s Field_ordinal) Explicit() uint16
func (Field_ordinal) SetExplicit ¶
func (s Field_ordinal) SetExplicit(v uint16)
func (Field_ordinal) SetImplicit ¶
func (s Field_ordinal) SetImplicit()
func (Field_ordinal) Which ¶
func (s Field_ordinal) Which() Field_ordinal_Which
type Field_ordinal_Promise ¶
Field_ordinal_Promise is a wrapper for a Field_ordinal promised by a client call.
func (Field_ordinal_Promise) Struct ¶
func (p Field_ordinal_Promise) Struct() (Field_ordinal, error)
type Field_ordinal_Which ¶
type Field_ordinal_Which uint16
const ( Field_ordinal_Which_implicit Field_ordinal_Which = 0 Field_ordinal_Which_explicit Field_ordinal_Which = 1 )
func (Field_ordinal_Which) String ¶
func (w Field_ordinal_Which) String() string
type Field_slot ¶
type Field_slot Field
func (Field_slot) DefaultValue ¶
func (s Field_slot) DefaultValue() (Value, error)
func (Field_slot) HadExplicitDefault ¶
func (s Field_slot) HadExplicitDefault() bool
func (Field_slot) HasDefaultValue ¶
func (s Field_slot) HasDefaultValue() bool
func (Field_slot) HasType ¶
func (s Field_slot) HasType() bool
func (Field_slot) NewDefaultValue ¶
func (s Field_slot) NewDefaultValue() (Value, error)
NewDefaultValue sets the defaultValue field to a newly allocated Value struct, preferring placement in s's segment.
func (Field_slot) NewType ¶
func (s Field_slot) NewType() (Type, error)
NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.
func (Field_slot) Offset ¶
func (s Field_slot) Offset() uint32
func (Field_slot) SetDefaultValue ¶
func (s Field_slot) SetDefaultValue(v Value) error
func (Field_slot) SetHadExplicitDefault ¶
func (s Field_slot) SetHadExplicitDefault(v bool)
func (Field_slot) SetOffset ¶
func (s Field_slot) SetOffset(v uint32)
func (Field_slot) SetType ¶
func (s Field_slot) SetType(v Type) error
func (Field_slot) Type ¶
func (s Field_slot) Type() (Type, error)
type Field_slot_Promise ¶
Field_slot_Promise is a wrapper for a Field_slot promised by a client call.
func (Field_slot_Promise) DefaultValue ¶
func (p Field_slot_Promise) DefaultValue() Value_Promise
func (Field_slot_Promise) Struct ¶
func (p Field_slot_Promise) Struct() (Field_slot, error)
func (Field_slot_Promise) Type ¶
func (p Field_slot_Promise) Type() Type_Promise
type Method ¶
func (Method) Annotations ¶
func (s Method) Annotations() (Annotation_List, error)
func (Method) HasAnnotations ¶
func (Method) HasImplicitParameters ¶
func (Method) HasParamBrand ¶
func (Method) HasResultBrand ¶
func (Method) ImplicitParameters ¶
func (s Method) ImplicitParameters() (Node_Parameter_List, error)
func (Method) NewAnnotations ¶
func (s Method) NewAnnotations(n int32) (Annotation_List, error)
NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.
func (Method) NewImplicitParameters ¶
func (s Method) NewImplicitParameters(n int32) (Node_Parameter_List, error)
NewImplicitParameters sets the implicitParameters field to a newly allocated Node_Parameter_List, preferring placement in s's segment.
func (Method) NewParamBrand ¶
NewParamBrand sets the paramBrand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Method) NewResultBrand ¶
NewResultBrand sets the resultBrand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Method) ParamBrand ¶
func (Method) ParamStructType ¶
func (Method) ResultBrand ¶
func (Method) ResultStructType ¶
func (Method) SetAnnotations ¶
func (s Method) SetAnnotations(v Annotation_List) error
func (Method) SetCodeOrder ¶
func (Method) SetImplicitParameters ¶
func (s Method) SetImplicitParameters(v Node_Parameter_List) error
func (Method) SetParamBrand ¶
func (Method) SetParamStructType ¶
func (Method) SetResultBrand ¶
func (Method) SetResultStructType ¶
type Method_List ¶
Method_List is a list of Method.
func NewMethod_List ¶
func NewMethod_List(s *capnp.Segment, sz int32) (Method_List, error)
NewMethod creates a new list of Method.
func (Method_List) At ¶
func (s Method_List) At(i int) Method
type Method_Promise ¶
Method_Promise is a wrapper for a Method promised by a client call.
func (Method_Promise) ParamBrand ¶
func (p Method_Promise) ParamBrand() Brand_Promise
func (Method_Promise) ResultBrand ¶
func (p Method_Promise) ResultBrand() Brand_Promise
func (Method_Promise) Struct ¶
func (p Method_Promise) Struct() (Method, error)
type Node ¶
func (Node) Annotation ¶
func (s Node) Annotation() Node_annotation
func (Node) Annotations ¶
func (s Node) Annotations() (Annotation_List, error)
func (Node) Const ¶
func (s Node) Const() Node_const
func (Node) DisplayName ¶
func (Node) DisplayNameBytes ¶
func (Node) DisplayNamePrefixLength ¶
func (Node) HasAnnotations ¶
func (Node) HasDisplayName ¶
func (Node) HasNestedNodes ¶
func (Node) HasParameters ¶
func (Node) Interface ¶
func (s Node) Interface() Node_interface
func (Node) NestedNodes ¶
func (s Node) NestedNodes() (Node_NestedNode_List, error)
func (Node) NewAnnotations ¶
func (s Node) NewAnnotations(n int32) (Annotation_List, error)
NewAnnotations sets the annotations field to a newly allocated Annotation_List, preferring placement in s's segment.
func (Node) NewNestedNodes ¶
func (s Node) NewNestedNodes(n int32) (Node_NestedNode_List, error)
NewNestedNodes sets the nestedNodes field to a newly allocated Node_NestedNode_List, preferring placement in s's segment.
func (Node) NewParameters ¶
func (s Node) NewParameters(n int32) (Node_Parameter_List, error)
NewParameters sets the parameters field to a newly allocated Node_Parameter_List, preferring placement in s's segment.
func (Node) Parameters ¶
func (s Node) Parameters() (Node_Parameter_List, error)
func (Node) SetAnnotation ¶
func (s Node) SetAnnotation()
func (Node) SetAnnotations ¶
func (s Node) SetAnnotations(v Annotation_List) error
func (Node) SetDisplayName ¶
func (Node) SetDisplayNamePrefixLength ¶
func (Node) SetInterface ¶
func (s Node) SetInterface()
func (Node) SetIsGeneric ¶
func (Node) SetNestedNodes ¶
func (s Node) SetNestedNodes(v Node_NestedNode_List) error
func (Node) SetParameters ¶
func (s Node) SetParameters(v Node_Parameter_List) error
func (Node) SetScopeId ¶
func (Node) SetStructNode ¶
func (s Node) SetStructNode()
func (Node) StructNode ¶
func (s Node) StructNode() Node_structNode
func (Node) Which ¶
func (s Node) Which() Node_Which
type Node_List ¶
Node_List is a list of Node.
func NewNode_List ¶
NewNode creates a new list of Node.
type Node_NestedNode ¶
func NewNode_NestedNode ¶
func NewNode_NestedNode(s *capnp.Segment) (Node_NestedNode, error)
func NewRootNode_NestedNode ¶
func NewRootNode_NestedNode(s *capnp.Segment) (Node_NestedNode, error)
func ReadRootNode_NestedNode ¶
func ReadRootNode_NestedNode(msg *capnp.Message) (Node_NestedNode, error)
func (Node_NestedNode) HasName ¶
func (s Node_NestedNode) HasName() bool
func (Node_NestedNode) Id ¶
func (s Node_NestedNode) Id() uint64
func (Node_NestedNode) Name ¶
func (s Node_NestedNode) Name() (string, error)
func (Node_NestedNode) NameBytes ¶
func (s Node_NestedNode) NameBytes() ([]byte, error)
func (Node_NestedNode) SetId ¶
func (s Node_NestedNode) SetId(v uint64)
func (Node_NestedNode) SetName ¶
func (s Node_NestedNode) SetName(v string) error
type Node_NestedNode_List ¶
Node_NestedNode_List is a list of Node_NestedNode.
func NewNode_NestedNode_List ¶
func NewNode_NestedNode_List(s *capnp.Segment, sz int32) (Node_NestedNode_List, error)
NewNode_NestedNode creates a new list of Node_NestedNode.
func (Node_NestedNode_List) At ¶
func (s Node_NestedNode_List) At(i int) Node_NestedNode
func (Node_NestedNode_List) Set ¶
func (s Node_NestedNode_List) Set(i int, v Node_NestedNode) error
type Node_NestedNode_Promise ¶
Node_NestedNode_Promise is a wrapper for a Node_NestedNode promised by a client call.
func (Node_NestedNode_Promise) Struct ¶
func (p Node_NestedNode_Promise) Struct() (Node_NestedNode, error)
type Node_Parameter ¶
func NewNode_Parameter ¶
func NewNode_Parameter(s *capnp.Segment) (Node_Parameter, error)
func NewRootNode_Parameter ¶
func NewRootNode_Parameter(s *capnp.Segment) (Node_Parameter, error)
func ReadRootNode_Parameter ¶
func ReadRootNode_Parameter(msg *capnp.Message) (Node_Parameter, error)
func (Node_Parameter) HasName ¶
func (s Node_Parameter) HasName() bool
func (Node_Parameter) Name ¶
func (s Node_Parameter) Name() (string, error)
func (Node_Parameter) NameBytes ¶
func (s Node_Parameter) NameBytes() ([]byte, error)
func (Node_Parameter) SetName ¶
func (s Node_Parameter) SetName(v string) error
type Node_Parameter_List ¶
Node_Parameter_List is a list of Node_Parameter.
func NewNode_Parameter_List ¶
func NewNode_Parameter_List(s *capnp.Segment, sz int32) (Node_Parameter_List, error)
NewNode_Parameter creates a new list of Node_Parameter.
func (Node_Parameter_List) At ¶
func (s Node_Parameter_List) At(i int) Node_Parameter
func (Node_Parameter_List) Set ¶
func (s Node_Parameter_List) Set(i int, v Node_Parameter) error
type Node_Parameter_Promise ¶
Node_Parameter_Promise is a wrapper for a Node_Parameter promised by a client call.
func (Node_Parameter_Promise) Struct ¶
func (p Node_Parameter_Promise) Struct() (Node_Parameter, error)
type Node_Promise ¶
Node_Promise is a wrapper for a Node promised by a client call.
func (Node_Promise) Annotation ¶
func (p Node_Promise) Annotation() Node_annotation_Promise
func (Node_Promise) Const ¶
func (p Node_Promise) Const() Node_const_Promise
func (Node_Promise) Enum ¶
func (p Node_Promise) Enum() Node_enum_Promise
func (Node_Promise) Interface ¶
func (p Node_Promise) Interface() Node_interface_Promise
func (Node_Promise) Struct ¶
func (p Node_Promise) Struct() (Node, error)
func (Node_Promise) StructNode ¶
func (p Node_Promise) StructNode() Node_structNode_Promise
type Node_Which ¶
type Node_Which uint16
const ( Node_Which_file Node_Which = 0 Node_Which_structNode Node_Which = 1 Node_Which_enum Node_Which = 2 Node_Which_interface Node_Which = 3 Node_Which_const Node_Which = 4 Node_Which_annotation Node_Which = 5 )
func (Node_Which) String ¶
func (w Node_Which) String() string
type Node_annotation ¶
type Node_annotation Node
func (Node_annotation) HasType ¶
func (s Node_annotation) HasType() bool
func (Node_annotation) NewType ¶
func (s Node_annotation) NewType() (Type, error)
NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.
func (Node_annotation) SetTargetsAnnotation ¶
func (s Node_annotation) SetTargetsAnnotation(v bool)
func (Node_annotation) SetTargetsConst ¶
func (s Node_annotation) SetTargetsConst(v bool)
func (Node_annotation) SetTargetsEnum ¶
func (s Node_annotation) SetTargetsEnum(v bool)
func (Node_annotation) SetTargetsEnumerant ¶
func (s Node_annotation) SetTargetsEnumerant(v bool)
func (Node_annotation) SetTargetsField ¶
func (s Node_annotation) SetTargetsField(v bool)
func (Node_annotation) SetTargetsFile ¶
func (s Node_annotation) SetTargetsFile(v bool)
func (Node_annotation) SetTargetsGroup ¶
func (s Node_annotation) SetTargetsGroup(v bool)
func (Node_annotation) SetTargetsInterface ¶
func (s Node_annotation) SetTargetsInterface(v bool)
func (Node_annotation) SetTargetsMethod ¶
func (s Node_annotation) SetTargetsMethod(v bool)
func (Node_annotation) SetTargetsParam ¶
func (s Node_annotation) SetTargetsParam(v bool)
func (Node_annotation) SetTargetsStruct ¶
func (s Node_annotation) SetTargetsStruct(v bool)
func (Node_annotation) SetTargetsUnion ¶
func (s Node_annotation) SetTargetsUnion(v bool)
func (Node_annotation) SetType ¶
func (s Node_annotation) SetType(v Type) error
func (Node_annotation) TargetsAnnotation ¶
func (s Node_annotation) TargetsAnnotation() bool
func (Node_annotation) TargetsConst ¶
func (s Node_annotation) TargetsConst() bool
func (Node_annotation) TargetsEnum ¶
func (s Node_annotation) TargetsEnum() bool
func (Node_annotation) TargetsEnumerant ¶
func (s Node_annotation) TargetsEnumerant() bool
func (Node_annotation) TargetsField ¶
func (s Node_annotation) TargetsField() bool
func (Node_annotation) TargetsFile ¶
func (s Node_annotation) TargetsFile() bool
func (Node_annotation) TargetsGroup ¶
func (s Node_annotation) TargetsGroup() bool
func (Node_annotation) TargetsInterface ¶
func (s Node_annotation) TargetsInterface() bool
func (Node_annotation) TargetsMethod ¶
func (s Node_annotation) TargetsMethod() bool
func (Node_annotation) TargetsParam ¶
func (s Node_annotation) TargetsParam() bool
func (Node_annotation) TargetsStruct ¶
func (s Node_annotation) TargetsStruct() bool
func (Node_annotation) TargetsUnion ¶
func (s Node_annotation) TargetsUnion() bool
func (Node_annotation) Type ¶
func (s Node_annotation) Type() (Type, error)
type Node_annotation_Promise ¶
Node_annotation_Promise is a wrapper for a Node_annotation promised by a client call.
func (Node_annotation_Promise) Struct ¶
func (p Node_annotation_Promise) Struct() (Node_annotation, error)
func (Node_annotation_Promise) Type ¶
func (p Node_annotation_Promise) Type() Type_Promise
type Node_const ¶
type Node_const Node
func (Node_const) HasType ¶
func (s Node_const) HasType() bool
func (Node_const) HasValue ¶
func (s Node_const) HasValue() bool
func (Node_const) NewType ¶
func (s Node_const) NewType() (Type, error)
NewType sets the type field to a newly allocated Type struct, preferring placement in s's segment.
func (Node_const) NewValue ¶
func (s Node_const) NewValue() (Value, error)
NewValue sets the value field to a newly allocated Value struct, preferring placement in s's segment.
func (Node_const) SetType ¶
func (s Node_const) SetType(v Type) error
func (Node_const) SetValue ¶
func (s Node_const) SetValue(v Value) error
func (Node_const) Type ¶
func (s Node_const) Type() (Type, error)
func (Node_const) Value ¶
func (s Node_const) Value() (Value, error)
type Node_const_Promise ¶
Node_const_Promise is a wrapper for a Node_const promised by a client call.
func (Node_const_Promise) Struct ¶
func (p Node_const_Promise) Struct() (Node_const, error)
func (Node_const_Promise) Type ¶
func (p Node_const_Promise) Type() Type_Promise
func (Node_const_Promise) Value ¶
func (p Node_const_Promise) Value() Value_Promise
type Node_enum ¶
type Node_enum Node
func (Node_enum) Enumerants ¶
func (s Node_enum) Enumerants() (Enumerant_List, error)
func (Node_enum) HasEnumerants ¶
func (Node_enum) NewEnumerants ¶
func (s Node_enum) NewEnumerants(n int32) (Enumerant_List, error)
NewEnumerants sets the enumerants field to a newly allocated Enumerant_List, preferring placement in s's segment.
func (Node_enum) SetEnumerants ¶
func (s Node_enum) SetEnumerants(v Enumerant_List) error
type Node_enum_Promise ¶
Node_enum_Promise is a wrapper for a Node_enum promised by a client call.
func (Node_enum_Promise) Struct ¶
func (p Node_enum_Promise) Struct() (Node_enum, error)
type Node_interface ¶
type Node_interface Node
func (Node_interface) HasMethods ¶
func (s Node_interface) HasMethods() bool
func (Node_interface) HasSuperclasses ¶
func (s Node_interface) HasSuperclasses() bool
func (Node_interface) Methods ¶
func (s Node_interface) Methods() (Method_List, error)
func (Node_interface) NewMethods ¶
func (s Node_interface) NewMethods(n int32) (Method_List, error)
NewMethods sets the methods field to a newly allocated Method_List, preferring placement in s's segment.
func (Node_interface) NewSuperclasses ¶
func (s Node_interface) NewSuperclasses(n int32) (Superclass_List, error)
NewSuperclasses sets the superclasses field to a newly allocated Superclass_List, preferring placement in s's segment.
func (Node_interface) SetMethods ¶
func (s Node_interface) SetMethods(v Method_List) error
func (Node_interface) SetSuperclasses ¶
func (s Node_interface) SetSuperclasses(v Superclass_List) error
func (Node_interface) Superclasses ¶
func (s Node_interface) Superclasses() (Superclass_List, error)
type Node_interface_Promise ¶
Node_interface_Promise is a wrapper for a Node_interface promised by a client call.
func (Node_interface_Promise) Struct ¶
func (p Node_interface_Promise) Struct() (Node_interface, error)
type Node_structNode ¶
type Node_structNode Node
func (Node_structNode) DataWordCount ¶
func (s Node_structNode) DataWordCount() uint16
func (Node_structNode) DiscriminantCount ¶
func (s Node_structNode) DiscriminantCount() uint16
func (Node_structNode) DiscriminantOffset ¶
func (s Node_structNode) DiscriminantOffset() uint32
func (Node_structNode) Fields ¶
func (s Node_structNode) Fields() (Field_List, error)
func (Node_structNode) HasFields ¶
func (s Node_structNode) HasFields() bool
func (Node_structNode) IsGroup ¶
func (s Node_structNode) IsGroup() bool
func (Node_structNode) NewFields ¶
func (s Node_structNode) NewFields(n int32) (Field_List, error)
NewFields sets the fields field to a newly allocated Field_List, preferring placement in s's segment.
func (Node_structNode) PointerCount ¶
func (s Node_structNode) PointerCount() uint16
func (Node_structNode) PreferredListEncoding ¶
func (s Node_structNode) PreferredListEncoding() ElementSize
func (Node_structNode) SetDataWordCount ¶
func (s Node_structNode) SetDataWordCount(v uint16)
func (Node_structNode) SetDiscriminantCount ¶
func (s Node_structNode) SetDiscriminantCount(v uint16)
func (Node_structNode) SetDiscriminantOffset ¶
func (s Node_structNode) SetDiscriminantOffset(v uint32)
func (Node_structNode) SetFields ¶
func (s Node_structNode) SetFields(v Field_List) error
func (Node_structNode) SetIsGroup ¶
func (s Node_structNode) SetIsGroup(v bool)
func (Node_structNode) SetPointerCount ¶
func (s Node_structNode) SetPointerCount(v uint16)
func (Node_structNode) SetPreferredListEncoding ¶
func (s Node_structNode) SetPreferredListEncoding(v ElementSize)
type Node_structNode_Promise ¶
Node_structNode_Promise is a wrapper for a Node_structNode promised by a client call.
func (Node_structNode_Promise) Struct ¶
func (p Node_structNode_Promise) Struct() (Node_structNode, error)
type Superclass ¶
func NewRootSuperclass ¶
func NewRootSuperclass(s *capnp.Segment) (Superclass, error)
func NewSuperclass ¶
func NewSuperclass(s *capnp.Segment) (Superclass, error)
func ReadRootSuperclass ¶
func ReadRootSuperclass(msg *capnp.Message) (Superclass, error)
func (Superclass) Brand ¶
func (s Superclass) Brand() (Brand, error)
func (Superclass) HasBrand ¶
func (s Superclass) HasBrand() bool
func (Superclass) Id ¶
func (s Superclass) Id() uint64
func (Superclass) NewBrand ¶
func (s Superclass) NewBrand() (Brand, error)
NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Superclass) SetBrand ¶
func (s Superclass) SetBrand(v Brand) error
func (Superclass) SetId ¶
func (s Superclass) SetId(v uint64)
type Superclass_List ¶
Superclass_List is a list of Superclass.
func NewSuperclass_List ¶
func NewSuperclass_List(s *capnp.Segment, sz int32) (Superclass_List, error)
NewSuperclass creates a new list of Superclass.
func (Superclass_List) At ¶
func (s Superclass_List) At(i int) Superclass
func (Superclass_List) Set ¶
func (s Superclass_List) Set(i int, v Superclass) error
type Superclass_Promise ¶
Superclass_Promise is a wrapper for a Superclass promised by a client call.
func (Superclass_Promise) Brand ¶
func (p Superclass_Promise) Brand() Brand_Promise
func (Superclass_Promise) Struct ¶
func (p Superclass_Promise) Struct() (Superclass, error)
type Type ¶
func (Type) AnyPointer ¶
func (s Type) AnyPointer() Type_anyPointer
func (Type) Interface ¶
func (s Type) Interface() Type_interface
func (Type) SetAnyPointer ¶
func (s Type) SetAnyPointer()
func (Type) SetFloat32 ¶
func (s Type) SetFloat32()
func (Type) SetFloat64 ¶
func (s Type) SetFloat64()
func (Type) SetInterface ¶
func (s Type) SetInterface()
func (Type) SetStructType ¶
func (s Type) SetStructType()
func (Type) StructType ¶
func (s Type) StructType() Type_structType
func (Type) Which ¶
func (s Type) Which() Type_Which
type Type_List ¶
Type_List is a list of Type.
func NewType_List ¶
NewType creates a new list of Type.
type Type_Promise ¶
Type_Promise is a wrapper for a Type promised by a client call.
func (Type_Promise) AnyPointer ¶
func (p Type_Promise) AnyPointer() Type_anyPointer_Promise
func (Type_Promise) Enum ¶
func (p Type_Promise) Enum() Type_enum_Promise
func (Type_Promise) Interface ¶
func (p Type_Promise) Interface() Type_interface_Promise
func (Type_Promise) List ¶
func (p Type_Promise) List() Type_list_Promise
func (Type_Promise) Struct ¶
func (p Type_Promise) Struct() (Type, error)
func (Type_Promise) StructType ¶
func (p Type_Promise) StructType() Type_structType_Promise
type Type_Which ¶
type Type_Which uint16
const ( Type_Which_void Type_Which = 0 Type_Which_bool Type_Which = 1 Type_Which_int8 Type_Which = 2 Type_Which_int16 Type_Which = 3 Type_Which_int32 Type_Which = 4 Type_Which_int64 Type_Which = 5 Type_Which_uint8 Type_Which = 6 Type_Which_uint16 Type_Which = 7 Type_Which_uint32 Type_Which = 8 Type_Which_uint64 Type_Which = 9 Type_Which_float32 Type_Which = 10 Type_Which_float64 Type_Which = 11 Type_Which_text Type_Which = 12 Type_Which_data Type_Which = 13 Type_Which_list Type_Which = 14 Type_Which_enum Type_Which = 15 Type_Which_structType Type_Which = 16 Type_Which_interface Type_Which = 17 Type_Which_anyPointer Type_Which = 18 )
func (Type_Which) String ¶
func (w Type_Which) String() string
type Type_anyPointer ¶
type Type_anyPointer Type
func (Type_anyPointer) ImplicitMethodParameter ¶
func (s Type_anyPointer) ImplicitMethodParameter() Type_anyPointer_implicitMethodParameter
func (Type_anyPointer) Parameter ¶
func (s Type_anyPointer) Parameter() Type_anyPointer_parameter
func (Type_anyPointer) SetImplicitMethodParameter ¶
func (s Type_anyPointer) SetImplicitMethodParameter()
func (Type_anyPointer) SetParameter ¶
func (s Type_anyPointer) SetParameter()
func (Type_anyPointer) SetUnconstrained ¶
func (s Type_anyPointer) SetUnconstrained()
func (Type_anyPointer) Unconstrained ¶
func (s Type_anyPointer) Unconstrained() Type_anyPointer_unconstrained
func (Type_anyPointer) Which ¶
func (s Type_anyPointer) Which() Type_anyPointer_Which
type Type_anyPointer_Promise ¶
Type_anyPointer_Promise is a wrapper for a Type_anyPointer promised by a client call.
func (Type_anyPointer_Promise) ImplicitMethodParameter ¶
func (p Type_anyPointer_Promise) ImplicitMethodParameter() Type_anyPointer_implicitMethodParameter_Promise
func (Type_anyPointer_Promise) Parameter ¶
func (p Type_anyPointer_Promise) Parameter() Type_anyPointer_parameter_Promise
func (Type_anyPointer_Promise) Struct ¶
func (p Type_anyPointer_Promise) Struct() (Type_anyPointer, error)
func (Type_anyPointer_Promise) Unconstrained ¶
func (p Type_anyPointer_Promise) Unconstrained() Type_anyPointer_unconstrained_Promise
type Type_anyPointer_Which ¶
type Type_anyPointer_Which uint16
const ( Type_anyPointer_Which_unconstrained Type_anyPointer_Which = 0 Type_anyPointer_Which_parameter Type_anyPointer_Which = 1 Type_anyPointer_Which_implicitMethodParameter Type_anyPointer_Which = 2 )
func (Type_anyPointer_Which) String ¶
func (w Type_anyPointer_Which) String() string
type Type_anyPointer_implicitMethodParameter ¶
type Type_anyPointer_implicitMethodParameter Type
func (Type_anyPointer_implicitMethodParameter) ParameterIndex ¶
func (s Type_anyPointer_implicitMethodParameter) ParameterIndex() uint16
func (Type_anyPointer_implicitMethodParameter) SetParameterIndex ¶
func (s Type_anyPointer_implicitMethodParameter) SetParameterIndex(v uint16)
type Type_anyPointer_implicitMethodParameter_Promise ¶
Type_anyPointer_implicitMethodParameter_Promise is a wrapper for a Type_anyPointer_implicitMethodParameter promised by a client call.
func (Type_anyPointer_implicitMethodParameter_Promise) Struct ¶
func (p Type_anyPointer_implicitMethodParameter_Promise) Struct() (Type_anyPointer_implicitMethodParameter, error)
type Type_anyPointer_parameter ¶
type Type_anyPointer_parameter Type
func (Type_anyPointer_parameter) ParameterIndex ¶
func (s Type_anyPointer_parameter) ParameterIndex() uint16
func (Type_anyPointer_parameter) ScopeId ¶
func (s Type_anyPointer_parameter) ScopeId() uint64
func (Type_anyPointer_parameter) SetParameterIndex ¶
func (s Type_anyPointer_parameter) SetParameterIndex(v uint16)
func (Type_anyPointer_parameter) SetScopeId ¶
func (s Type_anyPointer_parameter) SetScopeId(v uint64)
type Type_anyPointer_parameter_Promise ¶
Type_anyPointer_parameter_Promise is a wrapper for a Type_anyPointer_parameter promised by a client call.
func (Type_anyPointer_parameter_Promise) Struct ¶
func (p Type_anyPointer_parameter_Promise) Struct() (Type_anyPointer_parameter, error)
type Type_anyPointer_unconstrained ¶
type Type_anyPointer_unconstrained Type
func (Type_anyPointer_unconstrained) SetAnyKind ¶
func (s Type_anyPointer_unconstrained) SetAnyKind()
func (Type_anyPointer_unconstrained) SetCapability ¶
func (s Type_anyPointer_unconstrained) SetCapability()
func (Type_anyPointer_unconstrained) SetList ¶
func (s Type_anyPointer_unconstrained) SetList()
func (Type_anyPointer_unconstrained) SetStruct ¶
func (s Type_anyPointer_unconstrained) SetStruct()
func (Type_anyPointer_unconstrained) Which ¶
func (s Type_anyPointer_unconstrained) Which() Type_anyPointer_unconstrained_Which
type Type_anyPointer_unconstrained_Promise ¶
Type_anyPointer_unconstrained_Promise is a wrapper for a Type_anyPointer_unconstrained promised by a client call.
func (Type_anyPointer_unconstrained_Promise) Struct ¶
func (p Type_anyPointer_unconstrained_Promise) Struct() (Type_anyPointer_unconstrained, error)
type Type_anyPointer_unconstrained_Which ¶
type Type_anyPointer_unconstrained_Which uint16
const ( Type_anyPointer_unconstrained_Which_anyKind Type_anyPointer_unconstrained_Which = 0 Type_anyPointer_unconstrained_Which_struct Type_anyPointer_unconstrained_Which = 1 Type_anyPointer_unconstrained_Which_list Type_anyPointer_unconstrained_Which = 2 Type_anyPointer_unconstrained_Which_capability Type_anyPointer_unconstrained_Which = 3 )
func (Type_anyPointer_unconstrained_Which) String ¶
func (w Type_anyPointer_unconstrained_Which) String() string
type Type_enum ¶
type Type_enum Type
type Type_enum_Promise ¶
Type_enum_Promise is a wrapper for a Type_enum promised by a client call.
func (Type_enum_Promise) Brand ¶
func (p Type_enum_Promise) Brand() Brand_Promise
func (Type_enum_Promise) Struct ¶
func (p Type_enum_Promise) Struct() (Type_enum, error)
type Type_interface ¶
type Type_interface Type
func (Type_interface) Brand ¶
func (s Type_interface) Brand() (Brand, error)
func (Type_interface) HasBrand ¶
func (s Type_interface) HasBrand() bool
func (Type_interface) NewBrand ¶
func (s Type_interface) NewBrand() (Brand, error)
NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Type_interface) SetBrand ¶
func (s Type_interface) SetBrand(v Brand) error
func (Type_interface) SetTypeId ¶
func (s Type_interface) SetTypeId(v uint64)
func (Type_interface) TypeId ¶
func (s Type_interface) TypeId() uint64
type Type_interface_Promise ¶
Type_interface_Promise is a wrapper for a Type_interface promised by a client call.
func (Type_interface_Promise) Brand ¶
func (p Type_interface_Promise) Brand() Brand_Promise
func (Type_interface_Promise) Struct ¶
func (p Type_interface_Promise) Struct() (Type_interface, error)
type Type_list ¶
type Type_list Type
func (Type_list) ElementType ¶
func (Type_list) HasElementType ¶
func (Type_list) NewElementType ¶
NewElementType sets the elementType field to a newly allocated Type struct, preferring placement in s's segment.
func (Type_list) SetElementType ¶
type Type_list_Promise ¶
Type_list_Promise is a wrapper for a Type_list promised by a client call.
func (Type_list_Promise) ElementType ¶
func (p Type_list_Promise) ElementType() Type_Promise
func (Type_list_Promise) Struct ¶
func (p Type_list_Promise) Struct() (Type_list, error)
type Type_structType ¶
type Type_structType Type
func (Type_structType) Brand ¶
func (s Type_structType) Brand() (Brand, error)
func (Type_structType) HasBrand ¶
func (s Type_structType) HasBrand() bool
func (Type_structType) NewBrand ¶
func (s Type_structType) NewBrand() (Brand, error)
NewBrand sets the brand field to a newly allocated Brand struct, preferring placement in s's segment.
func (Type_structType) SetBrand ¶
func (s Type_structType) SetBrand(v Brand) error
func (Type_structType) SetTypeId ¶
func (s Type_structType) SetTypeId(v uint64)
func (Type_structType) TypeId ¶
func (s Type_structType) TypeId() uint64
type Type_structType_Promise ¶
Type_structType_Promise is a wrapper for a Type_structType promised by a client call.
func (Type_structType_Promise) Brand ¶
func (p Type_structType_Promise) Brand() Brand_Promise
func (Type_structType_Promise) Struct ¶
func (p Type_structType_Promise) Struct() (Type_structType, error)
type Value ¶
func (Value) HasAnyPointer ¶
func (Value) HasStructValue ¶
func (Value) SetFloat32 ¶
func (Value) SetFloat64 ¶
func (Value) SetInterface ¶
func (s Value) SetInterface()
func (Value) Which ¶
func (s Value) Which() Value_Which
type Value_List ¶
Value_List is a list of Value.
func NewValue_List ¶
func NewValue_List(s *capnp.Segment, sz int32) (Value_List, error)
NewValue creates a new list of Value.
func (Value_List) At ¶
func (s Value_List) At(i int) Value
type Value_Promise ¶
Value_Promise is a wrapper for a Value promised by a client call.
func (Value_Promise) AnyPointer ¶
func (p Value_Promise) AnyPointer() *capnp.Pipeline
func (Value_Promise) List ¶
func (p Value_Promise) List() *capnp.Pipeline
func (Value_Promise) Struct ¶
func (p Value_Promise) Struct() (Value, error)
func (Value_Promise) StructValue ¶
func (p Value_Promise) StructValue() *capnp.Pipeline
type Value_Which ¶
type Value_Which uint16
const ( Value_Which_void Value_Which = 0 Value_Which_bool Value_Which = 1 Value_Which_int8 Value_Which = 2 Value_Which_int16 Value_Which = 3 Value_Which_int32 Value_Which = 4 Value_Which_int64 Value_Which = 5 Value_Which_uint8 Value_Which = 6 Value_Which_uint16 Value_Which = 7 Value_Which_uint32 Value_Which = 8 Value_Which_uint64 Value_Which = 9 Value_Which_float32 Value_Which = 10 Value_Which_float64 Value_Which = 11 Value_Which_text Value_Which = 12 Value_Which_data Value_Which = 13 Value_Which_list Value_Which = 14 Value_Which_enum Value_Which = 15 Value_Which_structValue Value_Which = 16 Value_Which_interface Value_Which = 17 Value_Which_anyPointer Value_Which = 18 )
func (Value_Which) String ¶
func (w Value_Which) String() string