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

sectionFunctions.py 461B

11 maanden geleden
1234567891011121314
  1. def sectionFunctions(name, c):
  2. path = f"{c.src}/{c.module}.Section{name}.swift"
  3. lines = c.readFile(path)
  4. items = []
  5. for ln in lines:
  6. if ln.startswith(" static func destroyCore"):
  7. items.append("destroyCore")
  8. elif ln.startswith(" static func setupCore"):
  9. items.append("setupCore")
  10. elif ln.startswith(" static func setupService"):
  11. items.append("setupService")
  12. return items