Function piston_meta::load_syntax_data
source · pub fn load_syntax_data<A, B>(
syntax_path: A,
data_path: B
) -> Vec<Range<MetaData>>where
A: AsRef<Path>,
B: AsRef<Path>,
Expand description
Convenience method for loading data, using the meta language. Panics if there is an error, and writes error message to standard error output.