parse_rooms

Function parse_rooms 

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

Parse only rooms from a source (helper/testing). Parse only room definitions from the given source.

ยงErrors

Returns an error if the source cannot be parsed into rooms.