Versions in this module Expand all Collapse all v1 v1.0.0 Jul 19, 2021 Changes in this version + func Compile(exprStr string) ([]byte, error) + func Parse(filename string, b []byte, opts ...Option) (interface{}, error) + func ParseFile(filename string, opts ...Option) (interface{}, error) + func ParseReader(filename string, r io.Reader, opts ...Option) (interface{}, error) + type Array []interface + func (arr Array) Bytes() ([]byte, error) + func (t Array) String() string + type Byteful interface + Bytes func() ([]byte, error) + type Bytes struct + Data []byte + LengthPrefixed bool + func NewBytes(bz []byte, lengthPrefixed bool) Bytes + func (b Bytes) Bytes() ([]byte, error) + func (b Bytes) String() string + type Numeric struct + Number string + Type string + func (n Numeric) Bytes() ([]byte, error) + type Option func(*parser) Option + func Debug(b bool) Option + func Memoize(b bool) Option + func Recover(b bool) Option + type Placeholder struct + Label string + func (p Placeholder) Bytes() ([]byte, error) + func (p Placeholder) String() string + type String struct + Text string + func NewString(text string) String + func (s String) Bytes() ([]byte, error) + func (s String) String() string + type Tuple []interface + func (t Tuple) Bytes() ([]byte, error) + func (t Tuple) String() string