Organizes the parsed source-code data into a single object that takes the following form:
organ = {
// There will always be a root node with an absolute ID of "root"
id : "root",
name : "root",
file : "root.html",
docfile : "root.html",
packages : [
{
packages : foo
// Classes included in this package
classes : [
{
class : "foo"
methods : [],
properties : [],
events : []
},
... etc ...
],
// Loose stuff found in this package
methods : [],
properties : [],
events : []
}
],
// Independent classes that are not part of any package
classes : [
{
class : "foo"
methods : [],
properties : [],
events : []
}
... etc ...
],
// Loose stuff that's not part of any package or class, assumed to be accessible "this" (e.g. in javascript it would be the "window" scope)
methods : [],
properties : [],
events : [],
};
All source code hangs off of the "root" node and is organized according it's relationship to a package or class.
This organizer is initialized prior to parsing source code, and as each file is parsed, it is added to the organizer. After all the source-code is finished parsing, the organizer wires up adn cross references inheritance.