Skip to main content

parse_template

Function parse_template 

Source
pub fn parse_template(
    text: &str,
    opts: &TileOptions,
    span: Span,
) -> Result<Vec<TilePiece>, String>
Expand description

Parse a tile body into pieces under opts. span is the tile statement’s position, used for diagnostics.