Versions in this module Expand all Collapse all v0 v0.1.9 Jan 29, 2019 Changes in this version + func Walk(astNode ast.Node, query *Query, ...) error + type IndexedNode interface + Index func() *int + IsMatch func(key string, val ast.Node) bool + Key func() string + type Key struct + func (k *Key) IsMatch(key string, val ast.Node) bool + func (k *Key) Key() string + type List struct + func (l *List) Index() *int + func (l *List) IsMatch(key string, val ast.Node) bool + func (l *List) Key() string + type Node interface + IsMatch func(key string, val ast.Node) bool + Key func() string + type Query struct + Length int + Parts []Node + func Parse(queryString string) (*Query, error) + func (q *Query) Slice(low int) *Query + type Regex struct + func (r *Regex) Index() *int + func (r *Regex) IsMatch(key string, val ast.Node) bool + func (r *Regex) Key() string + type Results struct + Node ast.Node + Values []interface{} + func HCL(reader io.Reader, qry *Query) (results Results, isList bool, node *ast.File, err error) + type Wildcard struct + func (w *Wildcard) IsMatch(key string, val ast.Node) bool + func (w *Wildcard) Key() string