summaryrefslogtreecommitdiff
path: root/script/vm/eachRef.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/eachRef.lua')
-rw-r--r--script/vm/eachRef.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/eachRef.lua b/script/vm/eachRef.lua
index 5aca198e..35425818 100644
--- a/script/vm/eachRef.lua
+++ b/script/vm/eachRef.lua
@@ -5,3 +5,7 @@ local searcher = require 'core.searcher'
function vm.getRefs(source, field)
return searcher.requestReference(source, field)
end
+
+function vm.getAllRefs(source, field)
+ return searcher.requestAllReference(source, field)
+end