|
@@ -40,20 +40,44 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
identifier: /[a-zA-Z_][\w$]*/,
|
|
|
// TODO(owensd): Support the @availability macro properly.
|
|
|
attributes: [
|
|
|
+ '@GKInspectable',
|
|
|
+ '@IBAction',
|
|
|
+ '@IBDesignable',
|
|
|
+ '@IBInspectable',
|
|
|
+ '@IBOutlet',
|
|
|
+ '@IBSegueAction',
|
|
|
+ '@NSApplicationMain',
|
|
|
+ '@NSCopying',
|
|
|
+ '@NSManaged',
|
|
|
+ '@Sendable',
|
|
|
+ '@UIApplicationMain',
|
|
|
+
|
|
|
'@autoclosure',
|
|
|
- '@noescape',
|
|
|
- '@noreturn',
|
|
|
- '@NSApplicationMain',
|
|
|
- '@NSCopying',
|
|
|
- '@NSManaged',
|
|
|
- '@objc',
|
|
|
- '@UIApplicationMain',
|
|
|
- '@noreturn',
|
|
|
- '@availability',
|
|
|
- '@IBAction',
|
|
|
- '@IBDesignable',
|
|
|
- '@IBInspectable',
|
|
|
- '@IBOutlet'
|
|
|
+ '@actorIndependent',
|
|
|
+ '@asyncHandler',
|
|
|
+ '@available',
|
|
|
+ '@convention',
|
|
|
+ '@discardableResult',
|
|
|
+ '@dynamicCallable',
|
|
|
+ '@dynamicMemberLookup',
|
|
|
+ '@escaping',
|
|
|
+ '@frozen',
|
|
|
+ '@globalActor',
|
|
|
+ '@inlinable',
|
|
|
+ '@inline',
|
|
|
+ '@main',
|
|
|
+ '@nonobjc',
|
|
|
+ '@noreturn',
|
|
|
+ '@objc',
|
|
|
+ '@objcMembers',
|
|
|
+ '@propertyWrapper',
|
|
|
+ '@requires_stored_property_inits',
|
|
|
+ '@resultBuilder',
|
|
|
+ '@testable',
|
|
|
+ '@unchecked',
|
|
|
+ '@unknown',
|
|
|
+ '@usableFromInline',
|
|
|
+ '@warn_unqualified_access',
|
|
|
],
|
|
|
accessmodifiers: ['open', 'public', 'internal', 'fileprivate', 'private'],
|
|
|
keywords: [
|