Function piston_meta::load_syntax_data [] [src]

pub fn load_syntax_data<A, B>(
    syntax_path: A,
    data_path: B
) -> Vec<Range<MetaData>> where
    A: AsRef<Path>,
    B: AsRef<Path>, 

Convenience method for loading data, using the meta language. Panics if there is an error, and writes error message to standard error output.