diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-26 19:54:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-26 19:54:57 +0800 |
commit | 07b47b134c45a2528644bd6a481b8e46b691fdfc (patch) | |
tree | 3317304a7c82b553306cbe8fe8a9e5151426ac7a /server/src/vm/value.lua | |
parent | 6fb028ef9e053076170ed03e46b9a4ab5d248e0c (diff) | |
download | lua-language-server-07b47b134c45a2528644bd6a481b8e46b691fdfc.zip |
赋值操作也支持EmmyComment
Diffstat (limited to 'server/src/vm/value.lua')
-rw-r--r-- | server/src/vm/value.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index bf20468d..5de0d8e8 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -620,6 +620,14 @@ function mt:getEmmy() return self._emmy end +function mt:setComment(comment) + self._comment = comment +end + +function mt:getComment(comment) + return self._comment +end + return { create = create, watch = Watch, |