diff options
author | sumneko <sumneko@hotmail.com> | 2022-03-05 21:24:34 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2022-03-05 21:24:34 +0800 |
commit | e556621ca31bc80c78048b82412cb46bdb3a085a (patch) | |
tree | cc4b49dd818a5762762711b6f46faebb2c936f79 /script/parser | |
parent | 6b7b3a89c8ef0640571ebe9324ea4e43ffbfff33 (diff) | |
download | lua-language-server-e556621ca31bc80c78048b82412cb46bdb3a085a.zip |
literal generic
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/luadoc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 5bc566f2..ccc38eac 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -120,6 +120,9 @@ Symbol <- ({} { end, }) +---@class parser.object +---@field literal boolean + local function trim(str) return str:match '^%s*(%S+)%s*$' end |