parse_program_full

Function parse_program_full 

Source
pub fn parse_program_full(
    source: &str,
) -> Result<(Vec<TriggerAst>, Vec<RoomAst>, Vec<ItemAst>, Vec<SpinnerAst>, Vec<NpcAst>, Vec<GoalAst>), AstError>
Expand description

Parse a full program returning triggers, rooms, items, and spinners.

ยงErrors

Returns an error when parsing fails or when the grammar encounters an unexpected shape.