ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4202dca0029e4035b4f3f432d9ab935d6c02618c

commit 4202dca0029e4035b4f3f432d9ab935d6c02618c
Author: Andy Williams <a...@andywilliams.me>
Date:   Wed Dec 20 14:33:54 2017 +0000

    docs: Note class scope for method listings
---
 src/scripts/elua/apps/gendoc.lua | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua
index c0543bd8ef..51febf6c2e 100644
--- a/src/scripts/elua/apps/gendoc.lua
+++ b/src/scripts/elua/apps/gendoc.lua
@@ -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)]

-- 


Reply via email to