Move Value, Address, and ElementPath to ast/. (#2659)

These are used by the AST in lots of ways, and this resolves various layering issues.

This means that `AllocationId` also lives in ast/, but is managed by interpreter/. A better layering here would be desirable, but this seems good enough for the time being.
This commit is contained in:
Richard Smith
2023-03-06 16:28:03 -08:00
committed by GitHub
parent 2717dc1097
commit bfe5c36bfc
27 changed files with 69 additions and 99 deletions
+1 -1
View File
@@ -5,11 +5,11 @@
#include "common/check.h"
#include "common/error.h"
#include "explorer/ast/declaration.h"
#include "explorer/ast/value.h"
#include "explorer/common/error_builders.h"
#include "explorer/common/nonnull.h"
#include "explorer/common/source_location.h"
#include "explorer/interpreter/type_checker.h"
#include "explorer/interpreter/value.h"
namespace Carbon {