gotools/go/ast/astutil/enclosing_test.go

// pathToString returns a string containing the concrete types of the
// nodes in path.
func pathToString(path []ast.Node) string {}

// findInterval parses input and returns the [start, end) positions of
// the first occurrence of substr in input.  f==nil indicates failure;
// an error has already been reported in that case.
func findInterval(t *testing.T, fset *token.FileSet, input, substr string) (f *ast.File, start, end token.Pos) {}

const input

func TestPathEnclosingInterval_Exact(t *testing.T) {}

func TestPathEnclosingInterval_Paths(t *testing.T) {}