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
@@ -4,8 +4,8 @@
#include "explorer/interpreter/impl_scope.h"
#include "explorer/ast/value.h"
#include "explorer/interpreter/type_checker.h"
#include "explorer/interpreter/value.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Casting.h"