[][src]Module liquid::compiler

Structs

BoxedBlockParser
BoxedTagParser
BoxedValueFilter

Custom Box<FilterValue> with a FnFilterValue optimization.

Exp

An element that is an expression.

FilterCall

A Value filter.

FilterChain

A Value expression.

InvalidLiquidToken

This token could not be recognized as valid liquid. If parsed, will raise an error.

Language
PluginNames

Available plugins.

PluginRegistry

Liquid language plugin registry.

Raw

An element that is raw text.

Tag

An element that is a tag.

TagBlock

An interface to access elements inside a block.

TagToken

An interface to access tokens inside a tag.

TagTokenIter

An iterator over TagTokens that is aware of their position in the file.

Enums

BlockElement

An element that can be raw text, a tag, or an expression.

TryMatchToken

The result of calling TagToken's try.

Traits

FilterValue

A trait for creating custom tags. This is a simple type alias for a function.

FilterValueClone

Support cloning of Box<FilterValue>.

ParseBlock

A trait for creating custom custom block-size tags ({% if something %}{% endif %}). This is a simple type alias for a function.

ParseBlockClone
ParseTag

A trait for creating custom tags. This is a simple type alias for a function.

ParseTagClone

Functions

parse

Parses the provided &str into a number of Renderable items.

Type Definitions

FilterResult

Expected return type of a Filter.

FnFilterValue

Function signature that can act as a FilterValue.

FnParseBlock
FnParseTag