Copy attribute keywords from Xcode

pull/2855/head
Philip Turner 3 years ago committed by GitHub
parent 7fc2b23c7e
commit 41ff265429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: [

Loading…
Cancel
Save