pub fn expect_string_literal<'a>(
node: &'a ExpressionNode<'_>,
) -> TemplateParseResult<&'a str>Expand description
Unwraps inner value if the given node is a string literal.
pub fn expect_string_literal<'a>(
node: &'a ExpressionNode<'_>,
) -> TemplateParseResult<&'a str>Unwraps inner value if the given node is a string literal.