Versions in this module Expand all Collapse all v0 v0.9.12 Oct 18, 2026 v0.9.11 Oct 18, 2026 v0.9.10 Oct 17, 2026 Changes in this version + func NewErrLine(path string, lineNo int, err error) error + func ParseTools(input io.Reader, opts ...Options) (result []types.Tool, _ error) + type Document struct + Nodes []Node + func Parse(input io.Reader, opts ...Options) (Document, error) + func (d Document) Print() string + type ErrLine struct + Err error + Line int + Path string + func (e *ErrLine) Error() string + func (e *ErrLine) Unwrap() error + type Node struct + TextNode *TextNode + ToolNode *ToolNode + type Options struct + AssignGlobals bool + Location string + type TextNode struct + Text string + type ToolNode struct + Tool types.Tool