Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListNodeAssembler ¶
type ListNodeAssembler interface {
AssembleValue() NodeAssembler
Append(Node)
Done()
}
type MapKeyAssembler ¶
type MapKeyAssembler interface {
NodeAssembler
AssembleValue() MapValueAssembler
}
type MapNodeAssembler ¶
type MapNodeAssembler interface {
AssembleKey() MapKeyAssembler
Insert(string, Node)
Insert2(Node, Node)
Done()
}
type MapValueAssembler ¶
type MapValueAssembler interface {
NodeAssembler
}
type NodeAssembler ¶
type NodeAssembler interface {
BeginMap() MapNodeAssembler
BeginList() ListNodeAssembler
AssignNull()
AssignBool(bool)
AssignInt(int)
AssignFloat(float64)
AssignString(string)
AssignBytes([]byte)
Assign(Node)
CheckError() error // where are these stored? when each child is done, could check this. and have it stored in each child. means each allocs (nonzero struct)... but isn't that true anyway? yeah. well, except now you're apparently getting that for scalars, which is bad.
}
type NodeBuilder ¶
type NodeBuilder interface {
NodeAssembler
Build() (Node, error)
}
Click to show internal directories.
Click to hide internal directories.