@@ -57,123 +57,123 @@ export const language = <languages.IMonarchLanguage>{
],
accessmodifiers: ['open', 'public', 'internal', 'fileprivate', 'private'],
keywords: [
- '#available',
- '#colorLiteral',
- '#column',
- '#dsohandle',
- '#else',
- '#elseif',
- '#endif',
- '#error',
- '#file',
- '#fileID',
- '#fileLiteral',
- '#filePath',
- '#function',
- '#if',
- '#imageLiteral',
- '#keyPath',
- '#line',
- '#selector',
- '#sourceLocation',
- '#warning',
-
- 'Any',
- 'Protocol',
- 'Self',
- 'Type',
- 'actor',
- 'as',
- 'assignment',
- 'associatedtype',
- 'associativity',
- 'async',
- 'await',
- 'break',
- 'case',
- 'catch',
- 'class',
- 'continue',
- 'convenience',
- 'default',
- 'defer',
- 'deinit',
- 'didSet',
- 'do',
- 'dynamic',
- 'dynamicType',
- 'else',
- 'enum',
- 'extension',
- 'fallthrough',
- 'false',
- 'fileprivate',
- 'final',
- 'for',
- 'func',
- 'get',
- 'guard',
- 'higherThan',
- 'if',
- 'import',
- 'in',
- 'indirect',
- 'infix',
- 'init',
- 'inout',
- 'internal',
- 'is',
- 'isolated',
- 'lazy',
- 'left',
- 'let',
- 'lowerThan',
- 'mutating',
- 'nil',
- 'none',
- 'nonisolated',
- 'nonmutating',
- 'open',
- 'operator',
- 'optional',
- 'override',
- 'postfix',
- 'precedence',
- 'precedencegroup',
- 'prefix',
- 'private',
- 'protocol',
- 'public',
- 'repeat',
- 'required',
- 'rethrows',
- 'return',
- 'right',
- 'safe',
- 'self',
- 'set',
- 'some',
- 'static',
- 'struct',
- 'subscript',
- 'super',
- 'switch',
- 'throw',
- 'throws',
- 'true',
- 'try',
- 'typealias',
- 'unowned',
- 'unsafe',
- 'var',
- 'weak',
- 'where',
- 'while',
- 'willSet',
+ '#available',
+ '#colorLiteral',
+ '#column',
+ '#dsohandle',
+ '#else',
+ '#elseif',
+ '#endif',
+ '#error',
+ '#file',
+ '#fileID',
+ '#fileLiteral',
+ '#filePath',
+ '#function',
+ '#if',
+ '#imageLiteral',
+ '#keyPath',
+ '#line',
+ '#selector',
+ '#sourceLocation',
+ '#warning',
- '__consuming',
- '__owned'
+ 'Any',
+ 'Protocol',
+ 'Self',
+ 'Type',
+
+ 'actor',
+ 'as',
+ 'assignment',
+ 'associatedtype',
+ 'associativity',
+ 'async',
+ 'await',
+ 'break',
+ 'case',
+ 'catch',
+ 'class',
+ 'continue',
+ 'convenience',
+ 'default',
+ 'defer',
+ 'deinit',
+ 'didSet',
+ 'do',
+ 'dynamic',
+ 'dynamicType',
+ 'else',
+ 'enum',
+ 'extension',
+ 'fallthrough',
+ 'false',
+ 'fileprivate',
+ 'final',
+ 'for',
+ 'func',
+ 'get',
+ 'guard',
+ 'higherThan',
+ 'if',
+ 'import',
+ 'in',
+ 'indirect',
+ 'infix',
+ 'init',
+ 'inout',
+ 'internal',
+ 'is',
+ 'isolated',
+ 'lazy',
+ 'left',
+ 'let',
+ 'lowerThan',
+ 'mutating',
+ 'nil',
+ 'none',
+ 'nonisolated',
+ 'nonmutating',
+ 'open',
+ 'operator',
+ 'optional',
+ 'override',
+ 'postfix',
+ 'precedence',
+ 'precedencegroup',
+ 'prefix',
+ 'private',
+ 'protocol',
+ 'public',
+ 'repeat',
+ 'required',
+ 'rethrows',
+ 'return',
+ 'right',
+ 'safe',
+ 'self',
+ 'set',
+ 'some',
+ 'static',
+ 'struct',
+ 'subscript',
+ 'super',
+ 'switch',
+ 'throw',
+ 'throws',
+ 'true',
+ 'try',
+ 'typealias',
+ 'unowned',
+ 'unsafe',
+ 'var',
+ 'weak',
+ 'where',
+ 'while',
+ 'willSet',
+ '__consuming',
+ '__owned'
symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,