go/src/go/ast/example_test.go

// This example demonstrates how to inspect the AST of a Go program.
func ExampleInspect() {}

// This example shows what an AST looks like when printed for debugging.
func ExamplePrint() {}

func ExamplePreorder() {}

// This example illustrates how to remove a variable declaration
// in a Go program while maintaining correct comment association
// using an ast.CommentMap.
func ExampleCommentMap() {}