mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 09:09:31 +00:00
Replace AttachBlock with more generic PartialScope
This commit is contained in:
parent
9b7d1e436e
commit
404e7dd56e
10 changed files with 124 additions and 70 deletions
|
|
@ -79,6 +79,7 @@ local ScopeStack = class {
|
|||
defined_in_current = function(self, symbol) return self.current:defined_in_current(self.state, symbol) end,
|
||||
set = function(self, identifier, exp) self.current:set(self.state, identifier, exp) end,
|
||||
get = function(self, identifier) return self.current:get(self.state, identifier) end,
|
||||
get_symbol = function(self, identifier) return self.current:get_symbol(self.state, identifier) end,
|
||||
depth = function(self) return self.current:depth() end,
|
||||
|
||||
-- push new scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue