1 2 3 4 5 6 7 8 9 10 11 12 13
local m = {} function m:value(source, callback) local parent = source.parent if parent.type == 'setindex' or parent.type == 'tableindex' then if parent.value then self:eachValue(parent.value, callback) end end end return m