code: function detect_class_members_from_object(cls, ast) {
    cls["members"] = []
    return each_pair_in_object_expression(ast, function(key, value, pair) {
      detect_method_or_property(cls, key, value, pair);
    });
  }
docs: Detects class members from object literal