Versions in this module Expand all Collapse all v0 v0.3.1 Jul 16, 2026 Changes in this version + const ChildrenType + const IntegerType + const LiteralType + const NodeType + const Unknown + var NodeTypes = []string + func ConvertAliases(i interface{}) interface + type Capture struct + Type int + TypeStrings []string + Value interface{} + func (c Capture) String() string + type LoopUp struct + Key string + Table *map[string]interface{} + func (l *LoopUp) Get() (interface{}, error) + type LoopUpError struct + Value LoopUp + func (e *LoopUpError) Error() string + type Node struct + FirstChild *Node + LastChild *Node + NextSibling *Node + Parent *Node + PreviousSibling *Node + Type int + TypeStrings []string + Value string + func Parse(data []byte, node ParseNode) (*Node, error) + func (n *Node) Adopt(other *Node) + func (n *Node) Children() []*Node + func (n *Node) IsParent() bool + func (n *Node) MarshalJSON() ([]byte, error) + func (n *Node) MarshalJSONString() (string, error) + func (n *Node) Remove() *Node + func (n *Node) SetFirst(child *Node) + func (n *Node) SetLast(child *Node) + func (n *Node) SetNext(sibling *Node) + func (n *Node) SetPrevious(sibling *Node) + func (n *Node) TypeString() string + func (n *Node) UnmarshalJSON(bytes []byte) error + func (n Node) String() string + type ParseNode func(p *Parser) (*Node, error) + type Parser struct + func New(input []byte) (*Parser, error) + func NewFromParser(p *parser.Parser) (*Parser, error) + func (ap *Parser) Expect(i interface{}) (*Node, error) + func (ap *Parser) SetConverter(c func(i interface{}) interface{}) + func (ap *Parser) SetOperator(o func(i interface{}) (*Node, error))