diff options
Diffstat (limited to 'script/vm/getRef.lua')
-rw-r--r-- | script/vm/getRef.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/script/vm/getRef.lua b/script/vm/getRef.lua new file mode 100644 index 00000000..ded95b61 --- /dev/null +++ b/script/vm/getRef.lua @@ -0,0 +1,10 @@ +---@class vm +local vm = require 'vm.vm' + +function vm.getRefs(source, field) + return searcher.requestReference(source, field) +end + +function vm.getAllRefs(source, field) + return searcher.requestAllReference(source, field) +end |