summaryrefslogtreecommitdiff
path: root/script/vm/eachRef.lua
blob: ded95b61c4bf0362d6da37aa0acbc00d61cb5152 (plain)
1
2
3
4
5
6
7
8
9
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