Versions in this module Expand all Collapse all v0 v0.1.0 Apr 23, 2026 Changes in this version + func Build(ast AST) (map[string]interface{}, error) + func Get(input map[string]interface{}) string + func Parse(filename string, b []byte, opts ...Option) (interface{}, error) + func ParseAndBuild(filename, input string) (map[string]interface{}, error) + func ParseFile(filename string, opts ...Option) (i interface{}, err error) + func ParseReader(filename string, r io.Reader, opts ...Option) (interface{}, error) + type AST []*KeyValue + type Cloner interface + Clone func() interface{} + type Key struct + Parts []*KeyPart + ResetContext bool + type KeyPart struct + Index []int + Key string + type KeyValue struct + Key *Key + PostProcess bool + Value interface{} + type Option func(*parser) Option + func AllowInvalidUTF8(b bool) Option + func Debug(b bool) Option + func Entrypoint(ruleName string) Option + func GlobalStore(key string, value interface{}) Option + func InitState(key string, value interface{}) Option + func MaxExpressions(maxExprCnt uint64) Option + func Memoize(b bool) Option + func Recover(b bool) Option + func Statistics(stats *Stats, choiceNoMatch string) Option + type Stats struct + ChoiceAltCnt map[string]map[string]int + ExprCnt uint64