docs: Note class scope for method listings

This commit is contained in:
Andy Williams 2017-12-20 14:33:54 +00:00
parent 2a0e077416
commit 4202dca002
1 changed files with 4 additions and 0 deletions

View File

@ -737,6 +737,10 @@ local write_scope = function(f, func)
[func.scope.PROTECTED] = "protected",
[func.scope.PRIVATE] = "private"
}
if func:is_class() then
f:write_raw(" ")
f:write_m("class")
end
if func:type_get() == func.PROPERTY then
local ft1, ft2 = ftt[func:scope_get(func.PROP_GET)],
ftt[func:scope_get(func.PROP_SET)]