Versions in this module Expand all Collapse all v1 v1.0.0 Aug 19, 2018 Changes in this version + func PrettyPrint(pot []byte) ([]byte, error) + type Dict struct + func NewDictParser(pot []byte) *Dict + func (dict *Dict) Bytes() []byte + func (dict *Dict) IsEmpty() bool + func (dict *Dict) Location() Location + func (dict *Dict) Name() string + func (dict *Dict) Next() (parser Parser, err error) + type DictKey String + func (key *DictKey) Bytes() []byte + func (key *DictKey) Location() Location + func (key *DictKey) Name() string + func (key *DictKey) Next() (Parser, error) + func (key *DictKey) String() string + type List struct + func NewListParser(pot []byte) *List + func (list *List) Bytes() []byte + func (list *List) Location() Location + func (list *List) Name() string + func (list *List) Next() (Parser, error) + type Location struct + Column uint32 + Line uint32 + func (location *Location) Add(other *Location) *Location + func (location Location) Errorf(format string, a ...interface{}) *ParseError + func (location Location) String() string + type ParseError struct + Identifier string + Location Location + Message string + func (err *ParseError) Error() string + type Parser interface + Bytes func() []byte + Location func() Location + Name func() string + Next func() (Parser, error) + func NewParser(pot []byte) Parser + type ParserScanner struct + func NewParserScanner(parser Parser) *ParserScanner + func (scanner *ParserScanner) Err() error + func (scanner *ParserScanner) InjectError(err error) + func (scanner *ParserScanner) Scan() bool + func (scanner *ParserScanner) SubParser() Parser + type Root struct + func (root *Root) Bytes() []byte + func (root *Root) Location() Location + func (root *Root) Name() string + func (root *Root) Next() (Parser, error) + type String parserBuf + func (str *String) Bytes() []byte + func (str *String) Location() Location + func (str *String) Name() string + func (str *String) Next() (Parser, error) + func (str *String) String() string