github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/compile/internal/syntax/dumper.go (about) 1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // This file implements printing of syntax tree structures. 6 7 package syntax 8 9 import ( 10 "github.com/shogo82148/std/io" 11 ) 12 13 // Fdump dumps the structure of the syntax tree rooted at n to w. 14 // It is intended for debugging purposes; no specific output format 15 // is guaranteed. 16 func Fdump(w io.Writer, n Node) (err error)