pub fn by_files(files: Vec<String>, option: &ParseOption) -> Vec<ClassInfo>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

Returns Vec with the given files.

Arguments

  • files - code files in string

Examples

use modeling::{by_files, ParseOption};
use modeling::render::PlantUmlRender;

let mut files = vec![];
files.push("src/lib.rs".to_string());
let classes = by_files(files, &ParseOption::default());
let puml = PlantUmlRender::render(&classes, &ParseOption::default());