Проверка шаблона шины для 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.

21 line
528B

  1. from Mode import *
  2. def parseLines(lines, structure):
  3. mode = Mode()
  4. for line in lines:
  5. # Определяем режим строки.
  6. mode.parseLine(line)
  7. ln = line.strip()
  8. # Игнорируем пустую строку.
  9. if len(ln) == 0:
  10. continue
  11. # Игнорируем комментарий.
  12. if ln.startswith("#"):
  13. continue
  14. # featureToggle.
  15. if mode.isFeatureToggle:
  16. structure.featureToggle.parseLine(ln)