[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attri
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attributes moved to keywords |
Date: |
Sun, 29 Aug 2021 11:33:28 -0400 (EDT) |
branch: elpa/swift-mode
commit 5611c0f32960539036616b2072aaad3365ba20ab
Author: Christian Kruse <cjk@defunct.ch>
Commit: Christian Kruse <cjk@defunct.ch>
Updated syntax: a lot of attributes moved to keywords
- required, dynamic, final, lazy and optional are now keywords
- the assignment attribute no longer exists
Source:
<https://developer.apple.com/library/mac/documentation/swift/conceptual/Swift_Programming_Language/RevisionHistory.html>
---
swift-mode.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/swift-mode.el b/swift-mode.el
index 7d69b9f..81d6553 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -331,11 +331,12 @@
(defvar swift-mode--contextual-keywords
'("associativity" "didSet" "get" "infix" "inout" "left" "mutating" "none"
"nonmutating" "operator" "override" "postfix" "precedence" "prefix" "right"
- "set" "unowned" "unowned(safe)" "unowned(unsafe)" "weak" "willSet"
"convenience"))
+ "set" "unowned" "unowned(safe)" "unowned(unsafe)" "weak" "willSet"
"convenience"
+ "required" "dynamic" "final" "lazy" "optional"))
(defvar swift-mode--attribute-keywords
- '("assignment" "class_protocol" "exported" "final" "lazy" "noreturn"
- "NSCopying" "NSManaged" "objc" "optional" "required" "auto_closure"
+ '("class_protocol" "exported" "noreturn"
+ "NSCopying" "NSManaged" "objc" "auto_closure"
"IBAction" "IBDesignable" "IBInspectable" "IBOutlet"))
(defvar swift-mode--keywords
- [nongnu] elpa/swift-mode 1dfb1a5 110/496: Add indent rules for function declaration with attributes, (continued)
- [nongnu] elpa/swift-mode 1dfb1a5 110/496: Add indent rules for function declaration with attributes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1a1d81c 125/496: Improve font-lock regex for string interpolation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4059bc1 135/496: Add dot(.) to the allowed symbols inside string interpolation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 88a83ad 145/496: Apply DECSPEC token class only for functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fc009b5 069/496: Add font locking for indentation tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ae32a8b 071/496: Add basic imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d02e2dc 024/496: Update contributors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fc64626 156/496: Merge pull request #56 from ap4y/fix_flycheck_issues, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9cf667c 159/496: Start work on 0.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cba4538 161/496: Merge pull request #61 from ckruse/fix_55, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attributes moved to keywords,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 250e8e4 172/496: Merge pull request #67 from jmibanez/fix-flycheck-and-byte-compilation-bug, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a6267eb 189/496: Improve indentation for the function definitions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 782378c 214/496: Correct regex in lexer for the "default" keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c38b721 216/496: Support default values for arguments in function declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2cb54c9 222/496: Make grammar for if statement a bit more precise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b6bad10 225/496: Set minimum required version to 24.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4a27477 230/496: Merge pull request #89 from uk-ar/fix-indent-in-trailing-closure, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4289bd7 235/496: Fix implicit semicolon rule, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a29398b 239/496: Fix half-open range operator, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7f25806 241/496: Add as! operator, ELPA Syncer, 2021/08/29