Function liquid::compiler::parse
[−]
[src]
pub fn parse(
elements: &[Element],
options: &LiquidOptions
) -> Result<Vec<Box<Renderable>>, Error>
Parses the provided elements into a number of Renderable items
This is the internal version of parse that accepts Elements tokenized
by lexer::tokenize
and does not register built-in blocks. The main use
for this function is for writing custom blocks.
For parsing from a String you should refer to liquid::parse
.