class Marten::Template::FilterExpression

Overview

Represents a template filter expression.

A filter expression will resolve an expression such as "foo.bar|filter1|filter2", which could contain a variable (whose specific attributes are accessed) to which filters are optionally applied.

Defined in:

marten/template/filter_expression.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw_expression : String) #

[View source]

Instance Method Detail

def resolve(context : Context) #

Resolves the filter expression for a given context.


[View source]