Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/ast/inspector: clarify behavior regarding comment traversal
The inspector does not walk all ast.Comments nodes but only those attached to declarations (i.e. doc comments). Clarify this in the the documentation of the traversal functions. Change-Id: I5cc9c5914fc8a7f0687ae632ba884d1317a4a7cb Reviewed-on: https://go-review.googlesource.com/c/tools/+/505495 Auto-Submit: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Alan Donovan <adonovan@google.com>
- Loading branch information