2 summary:: An SCDoc document index entry
3 related:: Classes/SCDoc
4 categories:: HelpSystem
7 This class is used by link::Classes/SCDoc:: to represent a document in the help file index.
9 The document represented can be either a real .schelp file, or an auto-generated stub for undocumented classes.
14 Create and initialize a new instance.
16 An link::Classes/SCDocNode:: instance. Does not have to be a fully parsed document, since only the header tags, methods and keywords are used. (See link::Classes/SCDoc#*parseFileMetaData::).
19 A link::Classes/String:: for the document key, like "Classes/SinOsc".
21 method:: newUndocClass
22 Create and initialize a new instance for an undocumented class.
24 Name of undocumented class
28 private:: prAddCopyMethod, prAddMethodNames, printOn, prJSONList, prJSONString, prScanMethodsKeywords, setAdditions, init, indexUndocumentedMethods
30 subsection:: Document properties
33 A link::Classes/String:: for the document key, like "Reference/SCDocSyntax".
36 Document title. Should equal the classname for class reference docs.
42 Document categories. An link::Classes/Array:: of Strings.
45 Related document links. An link::Classes/Array:: of Strings.
48 Keywords listed in the document. An link::Classes/Array:: of Strings.
51 The full path to this documents .schelp file, if any.
54 The modification time of the .schelp file, if any.
57 The render destination path.
60 Documented methods which are not class or instance methods. An link::Classes/Array:: of Strings.
63 A list of document additions (*.ext.schelp) for this document. An link::Classes/Array:: of Strings.
66 True if this document is an extension (not part of the main library). A link::Classes/Boolean::
69 True if this document is a class doc. A link::Classes/Boolean::
71 subsection:: Class docs
72 These methods and properties are only used for class docs.
75 The link::Classes/Class:: documented.
77 method:: isUndocumentedClass
78 True if this class is undocumented (which means there are no .schelp file).
79 A link::Classes/Boolean::
82 A list of documented class methods.
85 A list of documented instance methods.
88 A list of private class methods.
91 A list of private instance methods.
93 method:: undoccmethods
94 A list of undocumented class methods.
96 method:: undocimethods
97 A list of undocumented instance methods.
99 method:: makeMethodList
100 Return a list of strings for all non-private methods, prefixed with teletype::xy:: where x is teletype::_:: for documented methods and teletype::?:: for undocumented methods, and y is teletype::*:: for class methods, teletype::-:: for instance methods and teletype::.:: for other/generic methods.
104 The name of the class variable holding the implementing class. Used by GUI redirection system, for example.
108 The implementing link::Classes/Class::, if code::redirect:: was set.
112 The link::Classes/Class:: being implemented. For example, the entry for link::Classes/QButton:: has this set to link::Classes/Button::
115 Write a representation of this document entry as JSON to Stream. Used to export the document entries to the javascript used in the link::Classes/HelpBrowser##HTML help browser::.