pub fn text_content(text: &PhpDocText) -> StringExpand description
Reconstruct the text content of a PhpDocText, including inline tags.
Inline tags are reconstructed as {@name body} format.
ยงExample
use phpdoc_parser::{parse, text_content};
let doc = parse("/** See {@link Foo} for details. */");
let summary = text_content(doc.summary.as_ref().unwrap());
assert!(summary.contains("@link"));