allow Formatless and Folded to be nested

This commit is contained in:
jesopo 2020-06-01 14:17:19 +01:00
parent 97c4a616c9
commit 5b04a5d1fd
2 changed files with 49 additions and 12 deletions

View file

@ -67,6 +67,11 @@ class IMatchResponse(object):
class IMatchResponseParam(object):
def match(self, server: "IServer", arg: str) -> bool:
pass
class IMatchResponseValueParam(IMatchResponseParam):
def value(self, server: "IServer"):
pass
def set_value(self, value: str):
pass
class IMatchResponseHostmask(object):
def match(self, server: "IServer", hostmask: Hostmask) -> bool:
pass