pub fn parse(source: &str) -> Result<AgentFile, Vec<String>>
Parse an AgentScript file from source code.
Returns Ok only if parsing succeeds with no errors. Use parse_with_errors to get partial results and all errors.
parse_with_errors