Lines Matching defs:template
413 let template = compile("Hello!"); in test_literal() localVariable
430 let template = compile("{ number }"); in test_value() localVariable
447 let template = compile("The number of the day is { nested.value }."); in test_path() localVariable
464 let template = compile("{{ if boolean }}Hello!{{ endif }}"); in test_if_taken() localVariable
481 let template = compile("{{ if null }}Hello!{{ endif }}"); in test_if_untaken() localVariable
498 let template = compile("{{ if boolean }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_if_else_taken() localVariable
515 let template = compile("{{ if null }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_if_else_untaken() localVariable
532 let template = compile("{{ if not boolean }}Hello!{{ endif }}"); in test_ifnot_taken() localVariable
549 let template = compile("{{ if not null }}Hello!{{ endif }}"); in test_ifnot_untaken() localVariable
566 let template = compile("{{ if not boolean }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_ifnot_else_taken() localVariable
583 let template = compile("{{ if not null }}Hello!{{ else }}Goodbye!{{ endif }}"); in test_ifnot_else_untaken() localVariable
600 let template = compile( in test_nested_ifs() localVariable
619 let template = compile("{{ with nested as n }}{ n.value } { number }{{endwith}}"); in test_with() localVariable
636 let template = compile("{{ for a in array }}{ a }{{ endfor }}"); in test_for_loop() localVariable
653 let template = compile("{{ for a in array }}{ @index }{{ endfor }}"); in test_for_loop_index() localVariable
670 let template = in test_for_loop_first() localVariable
688 let template = in test_for_loop_last() localVariable
706 let template = compile("1 \n\t {- number -} \n 1"); in test_whitespace_stripping_value() localVariable
723 let template = compile("{{ call my_macro with nested }}"); in test_call() localVariable
740 let template = compile("{ nested.value | my_formatter }"); in test_formatter() localVariable
757 let template = compile("{ foobar }"); in test_unknown() localVariable
773 let template = compile("{ escapes }"); in test_escaping() localVariable
790 let template = compile("{ escapes | unescaped }"); in test_unescaped() localVariable
808 let template = compile("{ @root }"); in test_root_print() localVariable
826 let template = compile("{{ if @root }}Hello World!{{ endif }}"); in test_root_branch() localVariable
844 let template = compile("{{ for a in @root }}{ a }{{ endfor }}"); in test_root_iterate() localVariable
862 let template = compile("{{ if @root }}truthy{{else}}not truthy{{ endif }}"); in test_number_truthiness_zero() localVariable
880 let template = compile("{{ if @root }}truthy{{else}}not truthy{{ endif }}"); in test_number_truthiness_one() localVariable
903 let template = compile("{ foo.1 }{ foo.0 }"); in test_indexed_paths() localVariable
926 let template = compile("{ foo.1 }{ foo.0 }"); in test_indexed_paths_fall_back_to_string_lookup() localVariable