pub fn parse_content<T>(content: &str, path: PathBuf) -> Result<T, String>Expand description
Parse Eure content directly into a typed value.
This is a convenience function that creates a temporary query runtime, parses the content, and returns the result. Useful for simple parsing scenarios where you don’t need the full query infrastructure.
§Arguments
content- The Eure source content to parsepath- The path to use for error reporting
§Returns
Ok(T)- The parsed valueErr(String)- A formatted error message if parsing fails