go/printer.CommentedNode.Node (field)
6 uses
go/printer (current package)
printer.go#L1077: node = cnode.Node
printer.go#L1357: Node interface{} // *ast.File, or ast.Expr, ast.Decl, ast.Spec, or ast.Stmt
go/format
format.go#L62: if f, ok := n.Node.(*ast.File); ok {
format.go#L87: node = &printer.CommentedNode{Node: file, Comments: cnode.Comments}
golang.org/x/pkgsite/internal/godoc/dochtml
dochtml.go#L364: return &printer.CommentedNode{Node: ex.Example.Code, Comments: ex.Comments}
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L189: Node: ex.Code,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |