pub fn expect_string_pattern(
node: &ExpressionNode<'_>,
) -> TemplateParseResult<StringPattern>
Expand description
Unwraps inner value if the given node
is a string pattern
This forces it to be static so that it need not be part of the type system.