Проверка шаблона шины для iOS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class Mode:
- def __init__(self):
- self.reset()
-
- def parseLine(self, line):
- if line.startswith("src:"):
- self.reset()
- self.isSource = True
- elif line.startswith("replace:"):
- self.reset()
- self.isReplacement = True
-
- def reset(self):
- self.isSource = False
- self.isReplacement = False
|