Skip to main content

load_all

Function load_all 

Source
pub fn load_all<T: TataraDomain>(src: &str) -> Result<Vec<T>, SpecError>
Expand description

Compile the entire src and return every top-level form of type T.

§Errors

Returns an error if the source fails to read, macroexpand, or compile under T’s schema.