expect_isize_expression

Function expect_isize_expression 

Source
pub fn expect_isize_expression<'a, L: TemplateLanguage<'a> + ?Sized>(
    language: &L,
    diagnostics: &mut TemplateDiagnostics,
    build_ctx: &BuildContext<'_, L::Property>,
    node: &ExpressionNode<'_>,
) -> TemplateParseResult<BoxedTemplateProperty<'a, isize>>
Expand description

If the given expression node is of Integer type, converts it to isize.