Module codegen

Module codegen 

Source

ModulesΒ§

assists_doc_tests πŸ”’
Generates assists_generated.md documentation.
diagnostics_docs πŸ”’
Generates diagnostics_generated.md documentation.
feature_docs πŸ”’
Generates features_generated.md documentation.
grammar πŸ”’
This module generates AST datatype used by rust-analyzer.
lints πŸ”’
Generates descriptor structures for unstable features from the unstable book and lints from rustc, rustdoc, and clippy.
parser_inline_tests πŸ”’
This module greps parser’s code for specially formatted comments and turns them into tests.

StructsΒ§

CommentBlock πŸ”’
Location πŸ”’

FunctionsΒ§

add_preamble πŸ”’
ensure_file_contents πŸ”’
Checks that the file has the specified contents. If that is not the case, updates the file and then fails the test.
normalize_newlines πŸ”’
reformat πŸ”’