Versions in this module Expand all Collapse all v1 v1.40.0 Nov 24, 2026 Changes in this version + func HoldsAnchor(n ast.Node) bool + func Items(n ast.Node) []ast.Node + func LineOf(n ast.Node) int + func Pairs(n ast.Node) []*ast.MappingValueNode + type FileStart struct + Line int + Name string + type Files []FileStart + func MapFiles(files []string, data [][]byte) Files + func (fl Files) At(line int) (string, int) + type VisitorFunc func(ast.Node) bool + func (f VisitorFunc) Visit(n ast.Node) ast.Visitor