diff options
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r-- | script/parser/guide.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 15f52585..92e4edab 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -231,6 +231,10 @@ function m.isLiteral(obj) or tp == 'integer' or tp == 'table' or tp == 'function' + or tp == 'doc.type.function' + or tp == 'doc.type.table' + or tp == 'doc.type.string' + or tp == 'doc.type.integer' end --- 获取字面量 @@ -820,8 +824,6 @@ local isSetMap = { ['doc.class'] = true, ['doc.alias'] = true, ['doc.field'] = true, - ['doc.type.function'] = true, - ['doc.type.table'] = true, ['doc.class.name'] = true, ['doc.alias.name'] = true, ['doc.field.name'] = true, |