-
Notifications
You must be signed in to change notification settings - Fork 9
@webdoc parser
Sukant Pal edited this page Apr 21, 2020
·
1 revision
This page describes how the parser transforms a file's content into a doc-tree.
The parser first extracts all the documentation comments from the source file and converts them into a tree of "docables". A docable object will hold the comment, the scope it was written in, and the node is was documenting (if any).
The docables from all files are sorted in order of increasing scope depth. This is so that top-level namespaces are inserted into the doctree first.