Per unit the following sections are made:
For the constants, types and variables, the declaration is given, followed by the descr node of the element corresponding to the identifier. All other nodes are ignored.
For functions and procedures, a subsection is made per procedure or function. This subsection consists of a list with the following entries:
For classes, a subsection is made with an overview of implemented methods. Then a subsection is presented with available properties.
Then follows a subsection per method. These are formatted as a function, with an additional Visibility list element, giving the visibility of the function.
After the methods, a list of properties is given , formatted as a method, with an additional Access list element, specifying whether the property is read/write or not.