pub fn try_parse_def(catalog: &TestCatalog, s: &str) -> Result<Def, String>
Builds a source definition from a string.