{! data.classId = data.alias.toLowerCase() !} {! var constructors = data.methods.filter(function($){return $.memberOf == data.alias && $.isConstructor}); var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace && !$.isStatic && !$.isConstructor}); var staticProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace && $.isStatic && !$.isConstructor}); var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace && !$.isStatic && !$.isOperator && !$.isConstructor}); var staticMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace && $.isStatic && !$.isOperator && !$.isConstructor}); var operatorMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace && !$.isStatic && !$.isConstructor && $.isOperator}); if (operatorMethods.length) { var operators = {}; for (var i = 0, l = operatorMethods.length; i < l; i++) { var operator = operatorMethods[i]; var name = operator.name.replace(/\^[0-9]$/, ''); if (!operators[name]) operators[name] = []; operators[name].push(operator); } } var inheritedProperties = data.properties.filter(function($) {return $.memberOf != data.alias}); var inheritedMethods = data.methods.filter(function($) {return $.memberOf != data.alias}); var inheritedClasses = {}; var inheritedClassLinks = []; inheritedProperties.concat(inheritedMethods).map(function($) { if (!inheritedClasses[$.memberOf]) { inheritedClassLinks.push(new Link().toSymbol($.memberOf)); inheritedClasses[$.memberOf] = { className: $.memberOf, properties: [], methods: [] }; } }); for (var i = 0, l = inheritedProperties.length; i < l; i++) { var symbol = inheritedProperties[i]; inheritedClasses[symbol.memberOf].properties.push(symbol); } for (var i = 0, l = inheritedMethods.length; i < l; i++) { var symbol = inheritedMethods[i]; inheritedClasses[symbol.memberOf].methods.push(symbol); } !}
Extends {+ inheritedClassLinks.join(', ') +}