internal/value: support more types and rename ConvertToContext master
It is always tricky to remember how to derive the various contexts from one another. And because this would introduce cyclic dependencies, it is not generally possible to add methods to the types. Finally, exposing methods would also expose internal types on public ones. To make this more convenient, we allow more types in ConvertToContext and rename it to Context, as it is not always a conversion. This also gets rid of Impl. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I2f39034887fcafe7267dc30223c00bad7145345c Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1208686 Reviewed-by: Matthew Sackman <matthew@cue.works> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>