①源码:
local _class={ } function class(super) local class_type={ } class_type.ctor=false class_type.super=super class_type.new=function(...) local obj={ } do local create create = function(c,...) if c.super then create(c.super,...) end if c.ctor then c.ctor(obj,...) end end create(class_type,...)