summaryrefslogtreecommitdiff
path: root/server-beta/src/core/getlocal.lua
blob: a719714dfb4b97538fc0738dc35bf9f90823a4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local m = {}

function m:def(source, callback)
    self:eachDef(source.loc, callback)
end

function m:ref(source, callback)
    self:eachRef(source.loc, callback)
end

function m:field(source, key, callback)
    self:eachField(source.loc, key, callback)
end

return m