internal/astinternal: add IncludePointers
This has been very useful for me when debugging ASTs
to tally pointers in log messages with nodes in the
final AST.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Icdc564619069120aa425a16990c99c2faff2906f
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205771
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>