Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This creates a file
export_db.json
mapping declaration names to information about them. Specifically:is_core
flag?line
: the line number of the decl in sourceargs
: arguments to the declaration that appear "left of the colon." Effectively, anything with dependencies to the right.type
: the type of the declaration "right of the colon." See note below.src_link
: link to the decl's location on GitHubdocs_link
: link to the decl's location in the docsNote 1: due to a discrepancy in how we collect info about structure fields/constructors, these will never have entries in
args
. Their type will be written out fully intype
.Note 2: the type information is still decorated to associate notation to its corresponding declaration. The doc generation uses this function to undecorate and linkify:
There's enough information in this map to reimplement the linkification if desired. Otherwise, the
\ue00*
decorations should be stripped before displaying.\cc @PatrickMassot