diff options
Diffstat (limited to 'server-beta/src/searcher-old/tablefield.lua')
-rw-r--r-- | server-beta/src/searcher-old/tablefield.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/server-beta/src/searcher-old/tablefield.lua b/server-beta/src/searcher-old/tablefield.lua deleted file mode 100644 index 09456029..00000000 --- a/server-beta/src/searcher-old/tablefield.lua +++ /dev/null @@ -1,19 +0,0 @@ -local m = {} - -function m:eachField(source, key, callback) - if source.value then - self:eachField(source.value, key, callback) - end -end - -function m:eachValue(source, callback) - if source.value then - self:eachValue(source.value, callback) - end -end - -function m:getValue(source) - return source.value and self:getValue(source.value) or source -end - -return m |