[][src]Crate liquid_core

Modules

compiler
error
interpreter
object

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

partials
value

Macros

call_filter
object

A value::Object literal.

value

A value::Value literal.

Structs

Error

Compiler error

Language
Object

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

Runtime

Processing runtime for a template.

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.

TagReflection
ValueView

Accessor for Values.

Functions

to_object

Convert a T into liquid_value::Object.

to_value

Convert a T into liquid_value::Value.

Type Definitions

Result

Convenience type alias for Liquid compiler errors

Derive Macros

Display_filter

Implements Display for a structure that intends to implement the Filter trait.

FilterParameters

Implements FilterParameters, as well as two of the traits it requires (Display and FilterParametersReflection) and its evaluated counterpart.

FilterReflection

Implements FilterReflection for a structure that intends to implement the ParseFilter trait.

FromFilterParameters

Implements From<T> (T implements FilterParameters) for a structure that intends to implement the Filter trait.

ParseFilter

Implements ParseFilter.