Function lrpeg::process_files[][src]

pub fn process_files(dir: &Path, out: &Path)
Expand description

This function is supposed to called from a crate build.rs. You pass in the directory where your .peg files reside (“src/” for example), and for each of those, an .rs file with the generated parser will be created in the out directory. You generally want this to be in cargo’s OUT_DIR.