diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-01-04 22:24:42 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-01-04 22:24:42 +0200 |
| commit | 51904366dd5c46c8d8d37e333b538b7574360ff5 (patch) | |
| tree | 62ad511ca930c0b73ab7571c5c59c984044c6ed1 /htmtl/htmtl.py | |
| parent | 4b7492306621d8a7555bd01fc7d8cc3b910ae17b (diff) | |
Implement `When` and `WhenNot` parsers.
Diffstat (limited to 'htmtl/htmtl.py')
| -rw-r--r-- | htmtl/htmtl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/htmtl/htmtl.py b/htmtl/htmtl.py index 885fe94..7732f06 100644 --- a/htmtl/htmtl.py +++ b/htmtl/htmtl.py @@ -11,6 +11,8 @@ from .parsers.outer_text import OuterText from .modifier import Modifier from .modifiers.truncate import Truncate from .expression_parser import ExpressionParser +from .parsers.when import When +from .parsers.when_not import WhenNot class Htmtl: @@ -32,6 +34,8 @@ class Htmtl: OuterHtml, OuterPartial, GenericValue, + When, + WhenNot, ] # set default expression modifiers |
