Crate liquid_core[][src]

Modules

error

Liquid Processing Errors.

model

Liquid data model.

parser
partials
runtime

Liquid template language interpreter.

Macros

array

A value::Array literal.

call_filter
object

A value::Object literal.

scalar

A value::Scalar literal.

value

A value::Value literal.

Structs

Error

Compiler error

Language
Object

Type representing a Liquid object, payload of the Value::Object variant

TagBlock

An interface to access elements inside a block.

TagTokenIter

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

Template

An executable template block.

Enums

Expression

An un-evaluated Value.

Value

An enum to represent different value types

ValueCow

Abstract the lifetime of a Value.

Traits

BlockReflection
Filter

A trait that holds a filter, ready to evaluate.

FilterParameters

A trait that declares and holds the parameters of a filter.

FilterReflection

A trait that holds the information of a filter about itself, such as its name, description and parameters.

ObjectView

Accessor for objects.

ParseBlock

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

ParseFilter

A trait to register a new filter in the liquid::Parser.

ParseTag

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

Renderable

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

Runtime

State for rendering a template

TagReflection
ValueView

Accessor for Values.

Functions

to_object

Convert a T into liquid_core::model::Object.

to_value

Convert a T into liquid_core::model::Value.

Type Definitions

Result

Convenience type alias for Liquid compiler errors