diff options
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r-- | script/core/searcher.lua | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index 9ac8f0a8..c6bf4f6d 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -71,6 +71,7 @@ local ignoredIDs = { ['dn:thread'] = true, } +---@class searcher local m = {} ---@alias guide.searchmode '"ref"'|'"def"'|'"field"'|'"allref"'|'"alldef"' @@ -200,20 +201,6 @@ local function pushResult(status, mode, source, force) end end ----获取uri ----@param obj parser.guide.object ----@return uri -function m.getUri(obj) - if obj.uri then - return obj.uri - end - local root = getRoot(obj) - if root then - return root.uri - end - return '' -end - ---@param obj parser.guide.object ---@return parser.guide.object? function m.getObjectValue(obj) |