end,
inherits_get = function(self)
- return self.class:inherits_get()--:to_array()
+ return self.class:inherits_get():to_array()
end,
functions_get = function(self, ft)
- return self.class:functions_get(ft)--:to_array()
+ return self.class:functions_get(ft):to_array()
end,
function_get_by_name = function(self, fn, ft)
end,
events_get = function(self)
- return self.class:events_get()--:to_array()
+ return self.class:events_get():to_array()
end,
c_get_function_name_get = function(self)
stat_incr(ct, false)
end
- for ev in cl:events_get() do
+ for i, ev in ipairs(cl:events_get()) do
if not ev:documentation_get() then
print_missing(cl:full_name_get() .. "." .. ev:name_get(), "event")
stat_incr("event", true)
end
local build_functable = function(f, title, ctitle, cl, tp)
- local t = cl:functions_get(tp):to_array()
+ local t = cl:functions_get(tp)
if #t == 0 then
return
end
lbuf:write_b(lbuf:finish())
end
t[#t + 1] = { lvl, lbuf:finish() }
- for cln in cl:inherits_get() do
+ for i, cln in ipairs(cl:inherits_get()) do
local acl = dtree.Class.by_name_get(cln)
if not acl then
error("error retrieving inherited class " .. cln)
local build_igraph_r
build_igraph_r = function(cl, nbuf, ibuf)
local sn = cl:full_name_get():lower():gsub("%.", "_")
- for cln in cl:inherits_get() do
+ for i, cln in ipairs(cl:inherits_get()) do
local acl = dtree.Class.by_name_get(cln)
if not acl then
error("error retrieving inherited class " .. cln)
cl, eolian.function_type.PROPERTY)
f:write_h("Events", 3)
- local evs = cl:events_get():to_array()
+ local evs = cl:events_get()
if #evs == 0 then
f:write_raw("This class does not define any events.\n")
else