smalltalk.addPackage('Documentation', {}); smalltalk.addClass('DocumentationBuilder', smalltalk.Object, ['chapters', 'announcer', 'widget'], 'Documentation'); smalltalk.addMethod( unescape('_chapters'), smalltalk.method({ selector: unescape('chapters'), category: 'accessing', fn: function (){ var self=this; return (($receiver = self['@chapters']) == nil || $receiver == undefined) ? (function(){return self['@chapters']=smalltalk.send(self, "_buildChapters", []);})() : $receiver; return self;}, args: [], source: unescape('chapters%0A%09%5Echapters%20ifNil%3A%20%5Bchapters%20%3A%3D%20self%20buildChapters%5D'), messageSends: ["ifNil:", "buildChapters"], referencedClasses: [] }), smalltalk.DocumentationBuilder); smalltalk.addMethod( unescape('_buildChapters'), smalltalk.method({ selector: unescape('buildChapters'), category: 'building', 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