Documentation ¶
Index ¶
- func IsBuiltinKind(kind reflect.Kind) bool
- func NameWithMonadicity(name string, monadic bool) string
- func RenderTreeString(text Textual) string
- func Sprint(v interface{}) string
- func SprintType(t reflect.Type) string
- func StructFieldIsExported(f reflect.StructField) bool
- func TypeName(t reflect.Type) string
- type Cycle
- type ExplainCtx
- type GoValue
- type IndexTree
- type Label
- type MultiSet
- type MultiSetElem
- type NameTree
- type NoQuote
- type Opaque
- type Parallel
- type Quote
- type Relabeler
- type Series
- type Sometimes
- type SplayCtx
- type Splayer
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBuiltinKind ¶
func NameWithMonadicity ¶
func RenderTreeString ¶
func RenderTreeString(text Textual) string
func SprintType ¶
func StructFieldIsExported ¶
func StructFieldIsExported(f reflect.StructField) bool
Types ¶
type ExplainCtx ¶
type ExplainCtx struct{}
func (*ExplainCtx) ExplainNoName ¶
func (ctx *ExplainCtx) ExplainNoName(t reflect.Type) Tree
type GoValue ¶
GoValue is a tree.
func (GoValue) TreeHash ¶
From Go doc:
func (v Value) String() string String returns the string v's underlying value, as a string. String is a special case because of Go's String method convention. Unlike the other getters, it does not panic if v's Kind is not String. Instead, it returns a string of the form "<T value>" where T is v's type. The fmt package treats Values specially. It does not call their String method implicitly but instead prints the concrete values they hold.
type MultiSet ¶
type MultiSet []MultiSetElem
type MultiSetElem ¶
type MultiSetElem struct { Elem interface{} Count int }
type Parallel ¶
type Parallel struct { Label Label `ko:"name=label"` Bracket string `ko:"name=bracket"` // "{}", "[]" Elem []NameTree `ko:"name=field"` }
Parallel is a tree.
type Series ¶
type Series struct { Label Label `ko:"name=label"` Bracket string `ko:"name=bracket"` // "{}", "[]" Elem []IndexTree `ko:"name=elem"` }
Series is a tree.
Click to show internal directories.
Click to hide internal directories.