Guest User

Untitled

a guest
Feb 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. method =
  2. { name = 'meta.function.objc';
  3. begin = '^(-|\+)\s*';
  4. end = '(?=\{)|;';
  5. patterns = (
  6. { begin = '\(';
  7. end = '\)\s*(\w+\b)';
  8. endCaptures = { 1 = { name = 'entity.name.function.objc'; }; };
  9. patterns = (
  10. { include = '#protocol_type_qualifier'; },
  11. { include = '$base'; },
  12. );
  13. },
  14. { name = 'keyword.other.name-of-parameter.objc';
  15. match = '\b\w+(?=:)';
  16. },
  17. { begin = ':\s*\(';
  18. end = '\)\s*(\w+\b)?';
  19. endCaptures = { 1 = { name = 'variable.parameter.function.objc'; }; };
  20. patterns = (
  21. { include = '#protocol_type_qualifier'; },
  22. { include = '$base'; },
  23. );
  24. },
  25. { include = '#comment'; },
  26. );
  27. };
Add Comment
Please, Sign In to add comment