Description

NodeDescription returns a description of the concrete type of n suitable for a user interface.

TODO(adonovan): in some cases (e.g. Field, FieldList, Ident, StarExpr) we could be much more specific given the path to the AST root. Perhaps we should do that.

NodeDescription is referenced in 8 repositories

github.com/golang/tools github.com/audreylim/go-presenter github.com/cockroachdb/vendored

...