internal/core/adt: turn Vertex.VisitAllConjuncts into an iterator
Much like we already did with Vertex.VisitLeafConjuncts.
Note that this method has no callers yet.
While here, improve the docs for these iterator APIs a bit.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I367d2ebae4a971d530af5f6878b01575c732b87f
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1224305
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>