Struct liquid::ParserBuilder
[−]
[src]
pub struct ParserBuilder { /* fields omitted */ }
Methods
impl ParserBuilder
[src]
fn new() -> Self
[src]
Create an empty Liquid parser
fn with_liquid() -> Self
[src]
Create a Liquid parser with built-in Liquid features
[src]
Register built-in Liquid tags
fn liquid_blocks(self) -> Self
[src]
Register built-in Liquid blocks
fn liquid_filters(self) -> Self
[src]
Register built-in Liquid filters
fn extra_filters(self) -> Self
[src]
fn block<B: Into<BoxedBlockParser>>(self, name: &str, block: B) -> Self
[src]
Inserts a new custom block into the parser
fn tag<T: Into<BoxedTagParser>>(self, name: &str, tag: T) -> Self
[src]
Inserts a new custom tag into the parser
fn filter<F: Into<BoxedValueFilter>>(self, name: &str, filter: F) -> Self
[src]
Inserts a new custom filter into the parser
fn include_source(self, includes: Box<Include>) -> Self
[src]
Define the source for includes
fn build(self) -> Parser
[src]
Trait Implementations
impl Default for ParserBuilder
[src]
fn default() -> ParserBuilder
[src]
Returns the "default value" for a type. Read more