-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow trans / endtrans tags (#138)
* Allow trans / endtrans tags * Tests: add parse_twig_trans test method * refactor parse_twig_trans method * Update crates/ludtwig-parser/src/grammar/twig/tags.rs Co-authored-by: Malte Janz <service.malte.j@protonmail.com> * Update crates/ludtwig-parser/src/grammar/twig/tags.rs Co-authored-by: Malte Janz <service.malte.j@protonmail.com> * Update crates/ludtwig-parser/src/grammar/twig/tags.rs Co-authored-by: Malte Janz <service.malte.j@protonmail.com> * Implement AST for trans / endtrans * Update trans test * chore: run cargo fmt --------- Co-authored-by: Malte Janz <service.malte.j@protonmail.com>
- Loading branch information
1 parent
65b8854
commit 9bb41d0
Showing
4 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters