documentjs.process.docObject
{Object}
An object that represents something that is documented. Any
property added to a docObject is available to the templates and the
client. The following lists the important, near
universal properties:
Object
Properties
-
name
{String}
The unique name of the object being documented.
-
type
{String}
The type of the DocType. This typically represents
the type of the object being documented:
- constructor
- prototype
- static
- function
- property
- typedef
- module
-
parent
{String}
-
description
{String}
The description html content specified by @description.
This should typically be one or two sentences.
-
body
{String}
The body html content specified by @body.
-
children
{Array<String>}
An array of children names. This typically gets
added by the system based on the parent
property.
-
deprecated
{Array<Object>}
An array
of deprecated warnings created by @deprecated .
Use
You can see a page's
docObject
by typingdocObject
in the console.