Myst::Doc::Generator
Inherits Reference / Object
An AST visitor for parsing doc comments from Myst source code and emitting the content in a JSON structure.
Currently only operates on the given source, does not follow requires or
other imports.
Constructors
Class methods
auto_document(directory, doc_yml)
Automatically scan everything in the current directory to find Myst files that can be documented.
Instance methods
document(node : Node)
Sourcejson
Sourcevisit(node : DocComment)
SourceOnly constants that are assigned with SimpleAssigns are documentable. The entire SimpleAssign is visited so that the value being assigned can also be captured and added to the documentation.