parse_program

Function parse_program 

Source
pub fn parse_program(source: &str) -> Result<Vec<TriggerAst>, AstError>
Expand description

Parse multiple triggers from a full source file (triggers only view).

ยงErrors

Returns an error if the source cannot be parsed.