-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: add wrapper for inline Vertex
When working on the evaluator and changing the representation of Vertex, it is important to consider all instantiations of it. A common case is an "inline" Vertex, which does not have a place in the evaluation tree (does not correspond to a CUE path), but is part of the computation. This is treated slightly different for structural cycle detection. Creating these with a special wrapper reduces the number of literal Vertex values in the code. Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com> Change-Id: I5b9732973bb961c3f5be6192223b7752fa534667 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/551887 Reviewed-by: Roger Peppe <rogpeppe@gmail.com> Unity-Result: CUEcueckoo <cueckoo@cuelang.org> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
4 changed files
with
21 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters