pub fn expect_lambda_with<'a, 'i, T>(
    node: &'a ExpressionNode<'i>,
    f: impl FnOnce(&'a LambdaNode<'i>, Span<'i>) -> TemplateParseResult<T>
) -> TemplateParseResult<T>
Expand description

Applies the given function if the node is a lambda.