Documentation ¶
Index ¶
- Constants
- Variables
- type Any
- type Bool
- func (v Bool) AsBool() (bool, error)
- func (Bool) AsBytes() ([]byte, error)
- func (Bool) AsFloat() (float64, error)
- func (Bool) AsInt() (int64, error)
- func (Bool) AsLink() (datamodel.Link, error)
- func (Bool) AsString() (string, error)
- func (x *Bool) AssignBool(v bool) error
- func (x *Bool) AssignBytes([]byte) error
- func (x *Bool) AssignFloat(float64) error
- func (x *Bool) AssignInt(int64) error
- func (x *Bool) AssignLink(datamodel.Link) error
- func (x *Bool) AssignNode(n datamodel.Node) error
- func (x *Bool) AssignNull() error
- func (x *Bool) AssignString(string) error
- func (x *Bool) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Bool) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Bool) Def() defs.Def
- func (Bool) IsAbsent() bool
- func (Bool) IsNull() bool
- func (Bool) Kind() datamodel.Kind
- func (Bool) Length() int64
- func (Bool) ListIterator() datamodel.ListIterator
- func (Bool) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Bool) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Bool) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Bool) LookupByString(string) (datamodel.Node, error)
- func (Bool) MapIterator() datamodel.MapIterator
- func (v Bool) Node() datamodel.Node
- func (v *Bool) Parse(n datamodel.Node) error
- func (Bool) Prototype() datamodel.NodePrototype
- type Byte
- func (Byte) AsBool() (bool, error)
- func (Byte) AsBytes() ([]byte, error)
- func (Byte) AsFloat() (float64, error)
- func (v Byte) AsInt() (int64, error)
- func (Byte) AsLink() (datamodel.Link, error)
- func (Byte) AsString() (string, error)
- func (x *Byte) AssignBool(bool) error
- func (x *Byte) AssignBytes([]byte) error
- func (x *Byte) AssignFloat(float64) error
- func (x *Byte) AssignInt(v int64) error
- func (x *Byte) AssignLink(datamodel.Link) error
- func (x *Byte) AssignNode(n datamodel.Node) error
- func (x *Byte) AssignNull() error
- func (x *Byte) AssignString(string) error
- func (x *Byte) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Byte) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Byte) Def() defs.Def
- func (Byte) IsAbsent() bool
- func (Byte) IsNull() bool
- func (Byte) Kind() datamodel.Kind
- func (Byte) Length() int64
- func (Byte) ListIterator() datamodel.ListIterator
- func (Byte) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Byte) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Byte) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Byte) LookupByString(string) (datamodel.Node, error)
- func (Byte) MapIterator() datamodel.MapIterator
- func (v Byte) Node() datamodel.Node
- func (v *Byte) Parse(n datamodel.Node) error
- func (Byte) Prototype() datamodel.NodePrototype
- type Bytes
- func (Bytes) AsBool() (bool, error)
- func (v Bytes) AsBytes() ([]byte, error)
- func (Bytes) AsFloat() (float64, error)
- func (Bytes) AsInt() (int64, error)
- func (Bytes) AsLink() (datamodel.Link, error)
- func (Bytes) AsString() (string, error)
- func (x *Bytes) AssignBool(bool) error
- func (x *Bytes) AssignBytes(v []byte) error
- func (x *Bytes) AssignFloat(float64) error
- func (x *Bytes) AssignInt(int64) error
- func (x *Bytes) AssignLink(datamodel.Link) error
- func (x *Bytes) AssignNode(n datamodel.Node) error
- func (x *Bytes) AssignNull() error
- func (x *Bytes) AssignString(string) error
- func (x *Bytes) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Bytes) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Bytes) Def() defs.Def
- func (Bytes) IsAbsent() bool
- func (Bytes) IsNull() bool
- func (Bytes) Kind() datamodel.Kind
- func (Bytes) Length() int64
- func (Bytes) ListIterator() datamodel.ListIterator
- func (Bytes) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Bytes) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Bytes) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Bytes) LookupByString(string) (datamodel.Node, error)
- func (Bytes) MapIterator() datamodel.MapIterator
- func (v Bytes) Node() datamodel.Node
- func (v *Bytes) Parse(n datamodel.Node) error
- func (Bytes) Prototype() datamodel.NodePrototype
- type Char
- func (Char) AsBool() (bool, error)
- func (Char) AsBytes() ([]byte, error)
- func (Char) AsFloat() (float64, error)
- func (v Char) AsInt() (int64, error)
- func (Char) AsLink() (datamodel.Link, error)
- func (Char) AsString() (string, error)
- func (x *Char) AssignBool(bool) error
- func (x *Char) AssignBytes([]byte) error
- func (x *Char) AssignFloat(float64) error
- func (x *Char) AssignInt(v int64) error
- func (x *Char) AssignLink(datamodel.Link) error
- func (x *Char) AssignNode(n datamodel.Node) error
- func (x *Char) AssignNull() error
- func (x *Char) AssignString(string) error
- func (x *Char) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Char) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Char) Def() defs.Def
- func (Char) IsAbsent() bool
- func (Char) IsNull() bool
- func (Char) Kind() datamodel.Kind
- func (Char) Length() int64
- func (Char) ListIterator() datamodel.ListIterator
- func (Char) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Char) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Char) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Char) LookupByString(string) (datamodel.Node, error)
- func (Char) MapIterator() datamodel.MapIterator
- func (v Char) Node() datamodel.Node
- func (v *Char) Parse(n datamodel.Node) error
- func (Char) Prototype() datamodel.NodePrototype
- type Float
- func (Float) AsBool() (bool, error)
- func (Float) AsBytes() ([]byte, error)
- func (v Float) AsFloat() (float64, error)
- func (Float) AsInt() (int64, error)
- func (Float) AsLink() (datamodel.Link, error)
- func (Float) AsString() (string, error)
- func (x *Float) AssignBool(bool) error
- func (x *Float) AssignBytes([]byte) error
- func (x *Float) AssignFloat(v float64) error
- func (x *Float) AssignInt(int64) error
- func (x *Float) AssignLink(datamodel.Link) error
- func (x *Float) AssignNode(n datamodel.Node) error
- func (x *Float) AssignNull() error
- func (x *Float) AssignString(string) error
- func (x *Float) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Float) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Float) Def() defs.Def
- func (Float) IsAbsent() bool
- func (Float) IsNull() bool
- func (Float) Kind() datamodel.Kind
- func (Float) Length() int64
- func (Float) ListIterator() datamodel.ListIterator
- func (Float) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Float) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Float) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Float) LookupByString(string) (datamodel.Node, error)
- func (Float) MapIterator() datamodel.MapIterator
- func (v Float) Node() datamodel.Node
- func (v *Float) Parse(n datamodel.Node) error
- func (Float) Prototype() datamodel.NodePrototype
- type Int
- func (Int) AsBool() (bool, error)
- func (Int) AsBytes() ([]byte, error)
- func (Int) AsFloat() (float64, error)
- func (v Int) AsInt() (int64, error)
- func (Int) AsLink() (datamodel.Link, error)
- func (Int) AsString() (string, error)
- func (x *Int) AssignBool(bool) error
- func (x *Int) AssignBytes([]byte) error
- func (x *Int) AssignFloat(float64) error
- func (x *Int) AssignInt(v int64) error
- func (x *Int) AssignLink(datamodel.Link) error
- func (x *Int) AssignNode(n datamodel.Node) error
- func (x *Int) AssignNull() error
- func (x *Int) AssignString(string) error
- func (x *Int) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Int) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Int) Def() defs.Def
- func (Int) IsAbsent() bool
- func (Int) IsNull() bool
- func (Int) Kind() datamodel.Kind
- func (Int) Length() int64
- func (Int) ListIterator() datamodel.ListIterator
- func (Int) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Int) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Int) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Int) LookupByString(string) (datamodel.Node, error)
- func (Int) MapIterator() datamodel.MapIterator
- func (v Int) Node() datamodel.Node
- func (v *Int) Parse(n datamodel.Node) error
- func (Int) Prototype() datamodel.NodePrototype
- type KeyValue
- type Link
- func (Link) AsBool() (bool, error)
- func (Link) AsBytes() ([]byte, error)
- func (Link) AsFloat() (float64, error)
- func (v Link) AsInt() (int64, error)
- func (v Link) AsLink() (datamodel.Link, error)
- func (Link) AsString() (string, error)
- func (Link) Def() defs.Def
- func (Link) IsAbsent() bool
- func (Link) IsNull() bool
- func (Link) Kind() datamodel.Kind
- func (Link) Length() int64
- func (Link) ListIterator() datamodel.ListIterator
- func (Link) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Link) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Link) LookupByString(string) (datamodel.Node, error)
- func (Link) MapIterator() datamodel.MapIterator
- func (v Link) Node() datamodel.Node
- func (v *Link) Parse(n datamodel.Node) error
- func (Link) Prototype() datamodel.NodePrototype
- type List
- func (v List) AsBool() (bool, error)
- func (List) AsBytes() ([]byte, error)
- func (List) AsFloat() (float64, error)
- func (List) AsInt() (int64, error)
- func (List) AsLink() (datamodel.Link, error)
- func (List) AsString() (string, error)
- func (List) Def() defs.Def
- func (List) IsAbsent() bool
- func (List) IsNull() bool
- func (List) Kind() datamodel.Kind
- func (v List) Length() int64
- func (v List) ListIterator() datamodel.ListIterator
- func (v List) LookupByIndex(i int64) (datamodel.Node, error)
- func (List) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (v List) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (List) LookupByString(string) (datamodel.Node, error)
- func (List) MapIterator() datamodel.MapIterator
- func (v List) Node() datamodel.Node
- func (v *List) Parse(n datamodel.Node) error
- func (List) Prototype() datamodel.NodePrototype
- type Map
- func (v Map) AsBool() (bool, error)
- func (Map) AsBytes() ([]byte, error)
- func (Map) AsFloat() (float64, error)
- func (Map) AsInt() (int64, error)
- func (Map) AsLink() (datamodel.Link, error)
- func (Map) AsString() (string, error)
- func (v Map) Def() defs.Def
- func (Map) IsAbsent() bool
- func (Map) IsNull() bool
- func (Map) Kind() datamodel.Kind
- func (v Map) Length() int64
- func (v Map) ListIterator() datamodel.ListIterator
- func (v Map) LookupByIndex(i int64) (datamodel.Node, error)
- func (v Map) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (v Map) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (v Map) LookupByString(s string) (datamodel.Node, error)
- func (v Map) MapIterator() datamodel.MapIterator
- func (v Map) Node() datamodel.Node
- func (v *Map) Parse(n datamodel.Node) error
- func (Map) Prototype() datamodel.NodePrototype
- type Nothing
- func (v Nothing) AsBool() (bool, error)
- func (Nothing) AsBytes() ([]byte, error)
- func (Nothing) AsFloat() (float64, error)
- func (Nothing) AsInt() (int64, error)
- func (Nothing) AsLink() (datamodel.Link, error)
- func (Nothing) AsString() (string, error)
- func (x *Nothing) AssignBool(bool) error
- func (x *Nothing) AssignBytes([]byte) error
- func (x *Nothing) AssignFloat(float64) error
- func (x *Nothing) AssignInt(v int64) error
- func (x *Nothing) AssignLink(datamodel.Link) error
- func (x *Nothing) AssignNode(n datamodel.Node) error
- func (x *Nothing) AssignNull() error
- func (x *Nothing) AssignString(string) error
- func (x *Nothing) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *Nothing) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (Nothing) Def() defs.Def
- func (Nothing) IsAbsent() bool
- func (Nothing) IsNull() bool
- func (Nothing) Kind() datamodel.Kind
- func (Nothing) Length() int64
- func (Nothing) ListIterator() datamodel.ListIterator
- func (Nothing) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Nothing) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (Nothing) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Nothing) LookupByString(string) (datamodel.Node, error)
- func (Nothing) MapIterator() datamodel.MapIterator
- func (v Nothing) Node() datamodel.Node
- func (v *Nothing) Parse(n datamodel.Node) error
- func (Nothing) Prototype() datamodel.NodePrototype
- type ParseFunc
- type Parser
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int64, error)
- func (String) AsLink() (datamodel.Link, error)
- func (v String) AsString() (string, error)
- func (x *String) AssignBool(bool) error
- func (x *String) AssignBytes([]byte) error
- func (x *String) AssignFloat(float64) error
- func (x *String) AssignInt(int64) error
- func (x *String) AssignLink(datamodel.Link) error
- func (x *String) AssignNode(n datamodel.Node) error
- func (x *String) AssignNull() error
- func (x *String) AssignString(v string) error
- func (x *String) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
- func (x *String) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
- func (String) Def() defs.Def
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() datamodel.Kind
- func (String) Length() int64
- func (String) ListIterator() datamodel.ListIterator
- func (String) LookupByIndex(idx int64) (datamodel.Node, error)
- func (String) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (String) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (String) LookupByString(string) (datamodel.Node, error)
- func (String) MapIterator() datamodel.MapIterator
- func (v String) Node() datamodel.Node
- func (v *String) Parse(n datamodel.Node) error
- func (String) Prototype() datamodel.NodePrototype
- type Value
Constants ¶
View Source
const PkgPath = "github.com/ipld/edelweiss/values"
PkgPath is the fully-qualified name of this package.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool bool
func (*Bool) AssignBool ¶
func (*Bool) AssignBytes ¶
func (*Bool) AssignFloat ¶
func (*Bool) AssignNull ¶
func (*Bool) AssignString ¶
func (Bool) ListIterator ¶
func (Bool) ListIterator() datamodel.ListIterator
func (Bool) LookupBySegment ¶
func (Bool) MapIterator ¶
func (Bool) MapIterator() datamodel.MapIterator
func (Bool) Prototype ¶
func (Bool) Prototype() datamodel.NodePrototype
type Byte ¶
type Byte byte
func (*Byte) AssignBool ¶
func (*Byte) AssignBytes ¶
func (*Byte) AssignFloat ¶
func (*Byte) AssignNull ¶
func (*Byte) AssignString ¶
func (Byte) ListIterator ¶
func (Byte) ListIterator() datamodel.ListIterator
func (Byte) LookupBySegment ¶
func (Byte) MapIterator ¶
func (Byte) MapIterator() datamodel.MapIterator
func (Byte) Prototype ¶
func (Byte) Prototype() datamodel.NodePrototype
type Bytes ¶
type Bytes []byte
func (*Bytes) AssignBool ¶
func (*Bytes) AssignBytes ¶
func (*Bytes) AssignFloat ¶
func (*Bytes) AssignNull ¶
func (*Bytes) AssignString ¶
func (*Bytes) BeginList ¶
func (x *Bytes) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
func (Bytes) ListIterator ¶
func (Bytes) ListIterator() datamodel.ListIterator
func (Bytes) LookupBySegment ¶
func (Bytes) MapIterator ¶
func (Bytes) MapIterator() datamodel.MapIterator
func (Bytes) Prototype ¶
func (Bytes) Prototype() datamodel.NodePrototype
type Char ¶
type Char rune
func (*Char) AssignBool ¶
func (*Char) AssignBytes ¶
func (*Char) AssignFloat ¶
func (*Char) AssignNull ¶
func (*Char) AssignString ¶
func (Char) ListIterator ¶
func (Char) ListIterator() datamodel.ListIterator
func (Char) LookupBySegment ¶
func (Char) MapIterator ¶
func (Char) MapIterator() datamodel.MapIterator
func (Char) Prototype ¶
func (Char) Prototype() datamodel.NodePrototype
type Float ¶
type Float float64
func (*Float) AssignBool ¶
func (*Float) AssignBytes ¶
func (*Float) AssignFloat ¶
func (*Float) AssignNull ¶
func (*Float) AssignString ¶
func (*Float) BeginList ¶
func (x *Float) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
func (Float) ListIterator ¶
func (Float) ListIterator() datamodel.ListIterator
func (Float) LookupBySegment ¶
func (Float) MapIterator ¶
func (Float) MapIterator() datamodel.MapIterator
func (Float) Prototype ¶
func (Float) Prototype() datamodel.NodePrototype
type Int ¶
type Int int64
func (*Int) AssignBool ¶
func (*Int) AssignBytes ¶
func (*Int) AssignFloat ¶
func (*Int) AssignNull ¶
func (*Int) AssignString ¶
func (Int) ListIterator ¶
func (Int) ListIterator() datamodel.ListIterator
func (Int) LookupBySegment ¶
func (Int) MapIterator ¶
func (Int) MapIterator() datamodel.MapIterator
func (Int) Prototype ¶
func (Int) Prototype() datamodel.NodePrototype
type Link ¶
Link models a link to any type.
func (Link) ListIterator ¶
func (Link) ListIterator() datamodel.ListIterator
func (Link) LookupBySegment ¶
func (Link) MapIterator ¶
func (Link) MapIterator() datamodel.MapIterator
func (Link) Prototype ¶
func (Link) Prototype() datamodel.NodePrototype
type List ¶
type List []Any
func (List) ListIterator ¶
func (v List) ListIterator() datamodel.ListIterator
func (List) LookupBySegment ¶
func (List) MapIterator ¶
func (List) MapIterator() datamodel.MapIterator
func (List) Prototype ¶
func (List) Prototype() datamodel.NodePrototype
type Map ¶
type Map []KeyValue
func (Map) ListIterator ¶
func (v Map) ListIterator() datamodel.ListIterator
func (Map) LookupBySegment ¶
func (Map) MapIterator ¶
func (v Map) MapIterator() datamodel.MapIterator
func (Map) Prototype ¶
func (Map) Prototype() datamodel.NodePrototype
type Nothing ¶
type Nothing struct{}
func (*Nothing) AssignBool ¶
func (*Nothing) AssignBytes ¶
func (*Nothing) AssignFloat ¶
func (*Nothing) AssignNull ¶
func (*Nothing) AssignString ¶
func (*Nothing) BeginList ¶
func (x *Nothing) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
func (*Nothing) BeginMap ¶
func (x *Nothing) BeginMap(sizeHint int64) (datamodel.MapAssembler, error)
func (Nothing) ListIterator ¶
func (Nothing) ListIterator() datamodel.ListIterator
func (Nothing) LookupByNode ¶
func (Nothing) LookupBySegment ¶
func (Nothing) MapIterator ¶
func (Nothing) MapIterator() datamodel.MapIterator
func (Nothing) Prototype ¶
func (Nothing) Prototype() datamodel.NodePrototype
type String ¶
type String string
func (*String) AssignBool ¶
func (*String) AssignBytes ¶
func (*String) AssignFloat ¶
func (*String) AssignNull ¶
func (*String) AssignString ¶
func (*String) BeginList ¶
func (x *String) BeginList(sizeHint int64) (datamodel.ListAssembler, error)
func (String) ListIterator ¶
func (String) ListIterator() datamodel.ListIterator
func (String) LookupBySegment ¶
func (String) MapIterator ¶
func (String) MapIterator() datamodel.MapIterator
func (String) Prototype ¶
func (String) Prototype() datamodel.NodePrototype
Click to show internal directories.
Click to hide internal directories.