CERNY.js.doc.Generator
Generates documentation for a single script. The documentation should adhere to the rules presented by example in this file.
Used by
Functions
create
Create documentation for sourceCode.
CERNY.js.doc.Script
discoverPublicFunctions
Discover the public functions in the source.
extractFqName
Extract the fully qualified function name of the script. It depends on a CERNY.require statement, where the first parameter is the name of the current script.
extractFunctionComment
Extract the function comment for a function, in case it is public (starts with a slash followed by two asterisks.
extractFunctionDescription
Extract the description for a function. The description are all paragraphs from the function comment excluding the signature documentation.
extractFunctionDocumentation
Extract the documentation for a function.
CERNY.js.doc.Function
extractFunctions
Extract the function documentations from the source code.
CERNY.js.doc.Function
extractHistory
Extract the history from the source code. Cannot handle multiline entries yet.
CERNY.js.doc.HistoryEntry
extractMethod
Extract the ...
extractParameterDocumentation
Extract the documentation for a parameter.
CERNY.js.doc.Parameter
extractReturnValueDocumentation
Extract return value documentation.
extractSignature
Extract the signature for a function. The line might start with signature or CERNY.signature.
extractSignatureDocumentation
Extract the signature documentation for a certain function.
name
and
documentation
extractUses
Extract the dependecies of the script.

