summaryrefslogtreecommitdiff
path: root/script/provider/build-meta.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider/build-meta.lua')
-rw-r--r--script/provider/build-meta.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/build-meta.lua b/script/provider/build-meta.lua
index 2c4a29c2..baabe39c 100644
--- a/script/provider/build-meta.lua
+++ b/script/provider/build-meta.lua
@@ -105,6 +105,7 @@ local function buildText(root, class)
lines[#lines+1] = ('---@field %s %s'):format(field.name, field.typeName)
end
+ lines[#lines+1] = ('---@source %s'):format(class.location:gsub('#', ':'))
local name = mergeString(root, class.namespace, class.name)
lines[#lines+1] = ('%s = {}'):format(name)
lines[#lines+1] = ''