From 170d9b5c7af761a2507727e4a9e303187a0f9120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 18 Jun 2021 20:25:54 +0800 Subject: deep search --- script/vm/eachDef.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'script/vm/eachDef.lua') 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 -- cgit v1.2.3