Skip to main content

Module parser

Module parser 

Source

Functions§

archidoc_from_file
Extract //! doc comments from a Rust source file.
extract_c4_level
Extract the C4 level marker from doc content.
extract_description
Extract the first non-header, non-marker line as description.
extract_file_table
Parse the markdown file table into FileEntry structs.
extract_parent_container
Extract the parent container from a dot-notation module path.
extract_pattern
Extract the primary GoF pattern name from doc content.
extract_pattern_status
Extract pattern status from doc content.
extract_relationships
Parse @c4 uses target "label" "protocol" markers from content.