1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
//! Sorted builtin names from the pinned MIT-licensed production Jinja maps.
pub(super) const INVENTORY: &[(&str, &[&str])] = &[
(
"global",
&[
"namespace",
"raise_exception",
"range",
"strftime_now",
"test_is_boolean",
"test_is_callable",
"test_is_defined",
"test_is_divisibleby",
"test_is_eq",
"test_is_equalto",
"test_is_escaped",
"test_is_even",
"test_is_false",
"test_is_filter",
"test_is_float",
"test_is_ge",
"test_is_greaterthan",
"test_is_gt",
"test_is_in",
"test_is_integer",
"test_is_iterable",
"test_is_lessthan",
"test_is_lower",
"test_is_lt",
"test_is_mapping",
"test_is_ne",
"test_is_none",
"test_is_number",
"test_is_odd",
"test_is_sameas",
"test_is_sequence",
"test_is_string",
"test_is_test",
"test_is_true",
"test_is_undefined",
"test_is_upper",
"tojson",
],
),
(
"int",
&["abs", "default", "float", "int", "safe", "string", "tojson"],
),
(
"float",
&["abs", "default", "float", "int", "safe", "string", "tojson"],
),
(
"string",
&[
"capitalize",
"default",
"endswith",
"float",
"format",
"indent",
"int",
"join",
"length",
"lower",
"lstrip",
"replace",
"rsplit",
"rstrip",
"safe",
"slice",
"split",
"startswith",
"string",
"strip",
"title",
"tojson",
"upper",
],
),
(
"array",
&[
"append",
"default",
"first",
"join",
"last",
"length",
"list",
"map",
"max",
"min",
"pop",
"reject",
"rejectattr",
"reverse",
"select",
"selectattr",
"slice",
"sort",
"string",
"tojson",
"unique",
],
),
(
"object",
&[
"dictsort", "get", "items", "join", "keys", "length", "string", "tojson", "values",
],
),
];