Function doxygen_rs::ast::generate_ast

source ·
pub fn generate_ast(input: Vec<Value>) -> ParsedDoxygen
Expand description

Generates a ParsedDoxygen from a Vec of crate::parser::Value

Examples

use doxygen_rs::ast::generate_ast;
use doxygen_rs::parser::parse_comment;

let parsed = parse_comment("@brief Random comment");
let ast = generate_ast(parsed);