Add cktypeinterface class

This commit is contained in:
Kevin Baensch 2024-11-23 22:15:12 +01:00
parent 0773a2ed65
commit f76286da82
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -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__()