1
0
Fork 0
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:
Étienne Fildadut 2023-12-29 17:56:01 +01:00
parent 9b7d1e436e
commit 404e7dd56e
10 changed files with 124 additions and 70 deletions

View file

@ -33,6 +33,10 @@ Function = Overloadable {
traverse = function(self, fn, ...)
fn(self.parameters, ...)
fn(self.expression, ...)
for sym, val in pairs(self.exports) do
fn(sym, ...)
fn(val, ...)
end
end,
compatible_with_arguments = function(self, state, args)