Guillaume Gomez
|
3b52c907c3
|
Rename rinja into askama
|
2025-03-11 19:31:06 +01:00 |
|
Guillaume Gomez
|
6e13c81a5f
|
Move types into their tests
|
2024-11-09 22:22:42 +01:00 |
|
Guillaume Gomez
|
191fc15b6a
|
Fix typo
|
2024-10-03 14:48:50 +02:00 |
|
René Kijewski
|
eed37cd415
|
Run clippy --fix -- -D clippy::pedantic
|
2024-09-16 22:58:50 +02:00 |
|
Guillaume Gomez
|
c6c80fe6b7
|
Fix invalid locals context drop
|
2024-08-21 21:56:57 +02:00 |
|
Guillaume Gomez
|
2d80cc3524
|
Rename everything to rinja
|
2024-06-17 15:58:52 +02:00 |
|
René Kijewski
|
f6b79cd82a
|
Implement for … in … if …
|
2021-11-11 15:35:45 +01:00 |
|
René Kijewski
|
cfe83bcb73
|
Implement {{loop.cycle(…)}} similar to Jinja
|
2021-11-11 10:05:34 +01:00 |
|
René Kijewski
|
726ca1cc33
|
Add {% break %} and {% continue %}
This PR adds `{% break %}` and `{% continue %}` statements to break out
of a loop, or continue with the next element of the iterator.
|
2021-08-30 22:54:32 +02:00 |
|
René Kijewski
|
3055c4b521
|
Add "destructoring tuple in loop" test
|
2021-07-05 13:48:41 +02:00 |
|
René Kijewski
|
20a5f7af7b
|
Add loop variable shadowing test
|
2021-07-05 10:34:20 +02:00 |
|
vallentin
|
017b5901fb
|
Added loop tests
|
2021-06-23 21:34:17 +02:00 |
|
vallentin
|
7609f00c4b
|
Added range test case
|
2021-02-22 13:05:44 +01:00 |
|
vallentin
|
f9db4446d5
|
Added copy literals related test case
|
2021-01-05 16:17:14 +01:00 |
|
vallentin
|
6615d125bb
|
Added more loop tests
|
2020-12-16 09:08:12 +01:00 |
|
yossyJ
|
df07f7f5e3
|
Add support for loop.last
|
2019-01-08 15:59:45 +01:00 |
|
yossyJ
|
bef88f1696
|
Add support for tuple
|
2019-01-04 16:58:09 +01:00 |
|
Dirkjan Ochtman
|
5549f9a3cd
|
Use 2018 edition idioms
|
2018-12-08 21:43:20 +01:00 |
|
Dirkjan Ochtman
|
cf8dc532f0
|
Remove unused macro_use attributes
|
2018-12-08 21:43:20 +01:00 |
|
bott
|
94bb47a78d
|
fix panicked on range-based for loop
|
2018-09-21 13:42:56 +02:00 |
|
bott
|
0711e3667b
|
Fix operator preference at loop.index
|
2018-09-14 13:15:41 +02:00 |
|
bott
|
c0f9fe973e
|
Fix operator preference at loop.first
|
2018-09-14 13:15:41 +02:00 |
|
Dirkjan Ochtman
|
9a3c57ac34
|
Add test for 'loop.first' variable
|
2018-06-25 12:46:13 +02:00 |
|
Dirkjan Ochtman
|
31b90ccc65
|
Fix formatting with cargo fmt
|
2018-06-21 12:19:54 +02:00 |
|
Dirkjan Ochtman
|
83cc6e0ca3
|
Apply suggestions from rustfmt to improve style
|
2017-11-21 20:57:56 +01:00 |
|
Dirkjan Ochtman
|
1e0ee705a8
|
Propagate format errors and rename render_to() to render_into()
|
2017-08-10 09:27:33 +02:00 |
|
Dirkjan Ochtman
|
4c8a5b5104
|
Remove debugging cruft from test_nested_for
|
2017-03-07 21:34:50 +01:00 |
|
Dirkjan Ochtman
|
0eeb5d1b2d
|
Add test for nested loops and loops over slices (see #6, #7, #9)
|
2017-03-07 21:00:44 +01:00 |
|
Dirkjan Ochtman
|
a0a3e4018c
|
Create separate test module for loops
|
2017-03-07 07:39:42 +01:00 |
|