From f76286da82af1655155d610d91b9eefb057fb36a Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 23 Nov 2024 22:15:12 +0100 Subject: [PATCH] Add cktypeinterface class --- fck/cktype/cktypeinterface.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 fck/cktype/cktypeinterface.py diff --git a/fck/cktype/cktypeinterface.py b/fck/cktype/cktypeinterface.py new file mode 100644 index 0000000..cb368da --- /dev/null +++ b/fck/cktype/cktypeinterface.py @@ -0,0 +1,24 @@ +from typing import List +from re import Pattern + +class CKTYPEINTERFACE: + NAME: str + EXT: List[str] + SYNTAX: List[Pattern] + REGEX: Pattern + NULL: str + + def __init__(self): + pass + + def gensum(self, data: bytes): + pass + + def reset(self): + pass + + def __repr__(self) -> str: + return '' + + def __eq__(self, other) -> bool: + return self.__repr__() == other.__repr__()