Function modeling::by_dir

source · []
pub fn by_dir<P: AsRef<Path>>(
    path: P,
    filter: FileFilter,
    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 path.

Arguments

  • path - CODE PATH

Examples

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

use modeling::file_filter::FileFilter;
let classes = by_dir("src/",FileFilter::default(), &ParseOption::default());
let puml = PlantUmlRender::render(&classes, &ParseOption::default());