File: SCDocEntry.schelp

package info (click to toggle)
supercollider 1%3A3.13.0%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 80,292 kB
  • sloc: cpp: 476,363; lisp: 84,680; ansic: 77,685; sh: 25,509; python: 7,909; makefile: 3,440; perl: 1,964; javascript: 974; xml: 826; java: 677; yacc: 314; lex: 175; objc: 152; ruby: 136
file content (118 lines) | stat: -rw-r--r-- 3,664 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
title:: SCDocEntry
summary:: An SCDoc document index entry
related:: Classes/SCDoc
categories:: HelpSystem

description::
This class is used by link::Classes/SCDoc:: to represent a document in the help file index.

The document represented can be either a real .schelp file, or an auto-generated stub for undocumented classes.

classmethods::

method:: new
Create and initialize a new instance.
argument:: node
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::).

argument:: path
A link::Classes/String:: for the document key, like "Classes/SinOsc".

method:: newUndocClass
Create and initialize a new instance for an undocumented class.
argument:: name
Name of undocumented class

instancemethods::

private:: prAddCopyMethod, prAddMethodNames, printOn, prJSONList, prJSONString, prScanMethodsKeywords, setAdditions, init, indexUndocumentedMethods

subsection:: Document properties

method:: path
A link::Classes/String:: for the document key, like "Reference/SCDocSyntax".

method:: title
Document title. Should equal the classname for class reference docs.

method:: summary
Document summary.

method:: categories
Document categories. An link::Classes/Array:: of Strings.

method:: related
Related document links. An link::Classes/Array:: of Strings.

method:: keywords
Keywords listed in the document. An link::Classes/Array:: of Strings.

method:: fullPath
The full path to this documents .schelp file, if any.

method:: mtime
The modification time of the .schelp file, if any.

method:: destPath
The render destination path.

method:: docmethods
Documented methods which are not class or instance methods. An link::Classes/Array:: of Strings.

method:: additions
A list of document additions (*.ext.schelp) for this document. An link::Classes/Array:: of Strings.

method:: isExtension
True if this document is an extension (not part of the main library). A link::Classes/Boolean::

method:: isClassDoc
True if this document is a class doc. A link::Classes/Boolean::

subsection:: Class docs
These methods and properties are only used for class docs.

method:: klass
The link::Classes/Class:: documented.

method:: isUndocumentedClass
True if this class is undocumented (which means there are no .schelp file).
A link::Classes/Boolean::

method:: doccmethods
A list of documented class methods.

method:: docimethods
A list of documented instance methods.

method:: privcmethods
A list of private class methods.

method:: privimethods
A list of private instance methods.

method:: undoccmethods
A list of undocumented class methods.

method:: undocimethods
A list of undocumented instance methods.

method:: makeMethodList
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.

method:: redirect

The name of the class variable holding the implementing class. Used by GUI redirection system, for example.

method:: implKlass

The implementing link::Classes/Class::, if code::redirect:: was set.

method:: implements

The link::Classes/Class:: being implemented. For example, the entry for link::Classes/QButton:: has this set to link::Classes/Button::

method:: toJSON
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::.
argument:: stream
A Stream.