package
1.6.0
Repository: https://github.com/osteele/liquid.git
Documentation: pkg.go.dev

# Functions

Constant creates an expression that returns a constant value.
EvaluateString is a wrapper for Parse and Evaluate.
NewConfig creates a new Config.
NewContext makes a new expression evaluation context.
Not creates an expression that returns ! of the wrapped expression.
Parse parses an expression string into an Expression.
ParseStatement parses an statement into an Expression that can evaluated to return a structure specific to the statement.

# Constants

These strings match lexer tokens.
These strings match lexer tokens.
These strings match lexer tokens.
These strings match lexer tokens.

# Structs

An Assignment is a parse of an {% assign %} statement.
Config holds configuration information for expression interpretation.
A Cycle is a parse of an {% assign %} statement.
FilterError is the error returned by a filter when it is applied.
A Loop is a parse of a {% loop %} statement.
A Statement is the result of parsing a string.
A When is a parse of a {% when %} clause.

# Interfaces

A Closure is an expression within a lexical environment.
Context is the expression evaluation context.
An Expression is a compiled expression.

# Type aliases

An InterpreterError is an error during expression interpretation.
SyntaxError represents a syntax error.
UndefinedFilter is an error that the named filter is not defined.