summaryrefslogtreecommitdiff
path: root/script/vm/eachRef.lua
blob: 899c04c68ac56f2f81d66a623283672cc93a55d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
---@class vm
local vm       = require 'vm.vm'
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