Documentation
¶
Index ¶
- Variables
- func Compact() *prettyOpt
- func Decode(buffer []byte, codex Codex) (adapters.Node, error)
- func HumanEncode(w io.Writer, root adapters.Node, opts ...HumanEncodeOption) error
- func Unnamed() *hideParamName
- type Codex
- type DecodeConfig
- type HumanEncodeOption
- type Node
- type NodeConstructor
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultExpressionCodex = Codex{}
Functions ¶
func HumanEncode ¶ added in v0.1.4
HumanEncode encodes the node in a human-friendly format.
Types ¶
type Codex ¶
type Codex map[string]NodeConstructor
func (*Codex) AutoRegister ¶ added in v0.1.5
func (c *Codex) AutoRegister(nodes ...adapters.AutoRegisterer) error
type DecodeConfig ¶
type DecodeConfig struct {
NodeCodex Codex
}
type HumanEncodeOption ¶ added in v0.1.4
type HumanEncodeOption interface {
// contains filtered or unexported methods
}
type NodeConstructor ¶
Click to show internal directories.
Click to hide internal directories.