summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher-old/getlocal.lua
blob: 4ffc871fed9d7efe73d3940785fa098075a3f59d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local m = {}

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

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

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

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

function m:getValue(source)
    return self:getValue(source.loc)
end

return m