Skip to main content

parse_arguments_bullets

Function parse_arguments_bullets 

Source
pub fn parse_arguments_bullets(body: &str) -> Vec<(String, String)>
Expand description

Parse # Arguments body into (name, description) pairs.

Recognises both Markdown bullet styles * and -, with optional backticks around the name: * name - description or - name: description. Continuation lines indented under a bullet are appended to the previous entry’s description.

Used by emitters that translate to per-parameter documentation tags (@param, <param>, \param).