DocParser Class
Index
Properties
Methods
Properties
IGNORE_TAGLIST
Array
A list of ignored tags. These tags should be ignored because there is likely to be used for purposes other than JSDoc tags in JavaScript comments.
CORRECTIONS
Object
Common errors will get scrubbed instead of being ignored.
TAGLIST
Array
A list of known tags. This populates a member variable during initialization, and will be updated if additional digesters are added.
DIGESTERS
Object
A map of the default tag processors, keyed by the tag name. Multiple tags can use the same digester by supplying the string name that points to the implementation rather than a function.
Methods
implodeString
(
-
str
)
String
private
-
str
Flatten a string, remove all line breaks and replace them with a token
parameters:
-
strStringThe string to operate on
returns:
The modified string
implodeString
(
-
str
)
String
private
-
str
Un-flatten a string, replace tokens injected with implodeString
parameters:
-
strStringThe string to operate on
returns:
The modified string