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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue