Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Result<AgentFile, Vec<String>>
Expand description

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.