Skip to main content

parse

Function parse 

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

Parse a script source into a list of ops.

ยงErrors

Returns Err(String) describing the first parse failure. The string is human-readable and includes a pointer to the position.