Skip to main content

to_model

Function to_model 

Source
pub fn to_model(parsed: &Parsed) -> Option<Docstring>
Expand description

Build a Docstring from a plain-style Parsed result.

Returns None if the root node is not a PLAIN_DOCSTRING.