xo-expression: + Expression::nested_layer()

This commit is contained in:
Roland Conybeare 2024-07-03 16:18:26 -04:00
commit 91a5a2b844
10 changed files with 61 additions and 2 deletions

View file

@ -6,10 +6,12 @@
#pragma once
#include "xo/refcnt/Refcounted.hpp"
#include "Variable.hpp"
#include "binding_path.hpp"
namespace xo {
namespace ast {
class Expression;
class Environment : public ref::Refcount {
public:
/** true if this is toplevel (global) environment.