summaryrefslogtreecommitdiff
path: root/server/src/parser/ast.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-26 15:34:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-26 15:34:13 +0800
commite98245ae3492ce132ddfe9153b1a5a80f3a3e3e4 (patch)
tree543a70ba9e6023c6513719b97e00a5e507e38b68 /server/src/parser/ast.lua
parent1232c5c8b661b845123944ad73f8027071f69cdf (diff)
downloadlua-language-server-e98245ae3492ce132ddfe9153b1a5a80f3a3e3e4.zip
记录 overload
Diffstat (limited to 'server/src/parser/ast.lua')
-rw-r--r--server/src/parser/ast.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/parser/ast.lua b/server/src/parser/ast.lua
index d6d6c0c9..9903dca2 100644
--- a/server/src/parser/ast.lua
+++ b/server/src/parser/ast.lua
@@ -1304,6 +1304,10 @@ local Defs = {
className, methodName
}
end,
+ EmmyOverLoad = function (EmmyFunctionType)
+ EmmyFunctionType.type = 'emmyOverLoad'
+ return EmmyFunctionType
+ end,
EmmyIncomplete = function (emmyName)
emmyName.type = 'emmyIncomplete'
return emmyName