smalltalk.addPackage('Documentation', {}); smalltalk.addClass('DocumentationBuilder', smalltalk.Object, ['chapters', 'announcer', 'widget'], 'Documentation'); smalltalk.addMethod( '_chapters', smalltalk.method({ selector: 'chapters', fn: function (){ var self=this; return (($receiver = self['@chapters']) == nil || $receiver == undefined) ? (function(){return self['@chapters']=smalltalk.send(self, "_buildChapters", []);})() : $receiver; return self;} }), smalltalk.DocumentationBuilder); smalltalk.addMethod( '_buildChapters', smalltalk.method({ selector: 'buildChapters', fn: function (){ var self=this; return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_class", []), "_methodDictionary", []), "_values", []), "_sorted_", [(function(a, b){return ((($receiver = smalltalk.send(a, "_selector", [])).klass === smalltalk.Number) ? $receiver