Crate liquid_interpreter[][src]

Liquid template language interpreter.

Modules

error

Liquid Processing Errors.

value

Liquid value type.

Structs

BoxedValueFilter

Custom Box<FilterValue> with a FnFilterValue optimization.

Context

Processing context for a template.

ContextBuilder

Create processing context for a template.

CycleState

See cycle tag.

FilterCall

A Value filter.

FilterChain

A Value expression.

InterruptState

The current interrupt state. The interrupt state is used by the break and continue tags to halt template rendering at a given point and unwind the render call stack until it reaches an enclosing for_loop. At that point the interrupt is cleared, and the for_loop carries on processing as directed.

Stack

Stack of variables.

Template

An executable template block.

Text

A raw template expression.

Variable

A Value reference.

Enums

Argument

An un-evaluated Value.

Interrupt

Block processing interrupt state.

Traits

FilterValue

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

FilterValueClone

Support cloning of Box<FilterValue>.

Globals

Immutable view into a template's global variables.

Renderable

Any object (tag/block) that can be rendered by liquid must implement this trait.

Functions

unexpected_value_error

Format an error for an unexpected value.

Type Definitions

FilterResult

Expected return type of a Filter.

FnFilterValue

Function signature that can act as a FilterValue.