gotools/go/ast/inspector/inspector_test.go

var netFiles

func init() {}

func parseNetFiles() ([]*ast.File, error) {}

// TestInspectAllNodes compares Inspector against ast.Inspect.
func TestInspectAllNodes(t *testing.T) {}

func TestInspectGenericNodes(t *testing.T) {}

// TestInspectPruning compares Inspector against ast.Inspect,
// pruning descent within ast.CallExpr nodes.
func TestInspectPruning(t *testing.T) {}

// compare calls t.Error if !slices.Equal(nodesA, nodesB).
func compare[N comparable](t *testing.T, nodesA, nodesB []N) {}

func TestTypeFiltering(t *testing.T) {}

func typeOf(n ast.Node) string {}

func BenchmarkNewInspector(b *testing.B) {}

func BenchmarkInspect(b *testing.B) {}

func BenchmarkInspectFilter(b *testing.B) {}

func BenchmarkInspectCalls(b *testing.B) {}

func BenchmarkASTInspect(b *testing.B) {}