Add cktypeinterface class
This commit is contained in:
parent
0773a2ed65
commit
f76286da82
1 changed files with 24 additions and 0 deletions
24
fck/cktype/cktypeinterface.py
Normal file
24
fck/cktype/cktypeinterface.py
Normal 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__()
|
Loading…
Reference in a new issue