summaryrefslogtreecommitdiff
path: root/script/vm/eachDef.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/eachDef.lua')
-rw-r--r--script/vm/eachDef.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/vm/eachDef.lua b/script/vm/eachDef.lua
index 6f7af295..2bfad4bf 100644
--- a/script/vm/eachDef.lua
+++ b/script/vm/eachDef.lua
@@ -5,3 +5,7 @@ local searcher = require 'core.searcher'
function vm.getDefs(source, field)
return searcher.requestDefinition(source, field)
end
+
+function vm.getAllDefs(source, field)
+ return searcher.requestAllDefinition(source, field)
+end