summaryrefslogtreecommitdiff
path: root/htmtl/expression_modifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'htmtl/expression_modifier.py')
-rw-r--r--htmtl/expression_modifier.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/htmtl/expression_modifier.py b/htmtl/expression_modifier.py
deleted file mode 100644
index 69d6a86..0000000
--- a/htmtl/expression_modifier.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from abc import abstractmethod, ABC
-from typing import Any
-
-
-class ExpressionModifier(ABC):
- name: str
-
- @abstractmethod
- def modify(self, value: Any, opts: list[Any]) -> Any:
- pass
-
-
-def modifier(name: str):
- def wrapper(cls: type[ExpressionModifier]):
- cls.name = name
-
- return cls
-
- return wrapper \ No newline at end of file