[−][src]Struct liquid::ParserBuilder
Methods
impl ParserBuilder<Partials>
[src]
impl<P> ParserBuilder<P> where
P: PartialCompiler,
[src]
P: PartialCompiler,
pub fn liquid(self) -> Self
[src]
Create a Liquid parser with built-in Liquid features
pub fn liquid_tags(self) -> Self
[src]
Register built-in Liquid tags
pub fn liquid_blocks(self) -> Self
[src]
Register built-in Liquid blocks
pub fn liquid_filters(self) -> Self
[src]
Register built-in Liquid filters
pub fn extra_filters(self) -> Self
[src]
Register non-standard filters
pub fn jekyll_filters(self) -> Self
[src]
Register non-standard filters
pub fn block<B: Into<BoxedBlockParser>>(
self,
name: &'static str,
block: B
) -> Self
[src]
self,
name: &'static str,
block: B
) -> Self
Inserts a new custom block into the parser
pub fn tag<T: Into<BoxedTagParser>>(self, name: &'static str, tag: T) -> Self
[src]
Inserts a new custom tag into the parser
pub fn filter<F: Into<BoxedValueFilter>>(
self,
name: &'static str,
filter: F
) -> Self
[src]
self,
name: &'static str,
filter: F
) -> Self
Inserts a new custom filter into the parser
pub fn partials<N: PartialCompiler>(self, partials: N) -> ParserBuilder<N>
[src]
Set which partial-templates will be available.
pub fn build(self) -> Result<Parser>
[src]
Create a parser
Trait Implementations
impl<P> Default for ParserBuilder<P> where
P: PartialCompiler,
[src]
P: PartialCompiler,
Auto Trait Implementations
impl<P> Send for ParserBuilder<P> where
P: Send,
P: Send,
impl<P> Sync for ParserBuilder<P> where
P: Sync,
P: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: Any,
T: Any,