|
@@ -57,14 +57,32 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
],
|
|
|
accessmodifiers: ['public', 'private', 'fileprivate', 'internal'],
|
|
|
keywords: [
|
|
|
- '__COLUMN__',
|
|
|
- '__FILE__',
|
|
|
- '__FUNCTION__',
|
|
|
- '__LINE__',
|
|
|
+ '#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',
|
|
@@ -152,9 +170,7 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
'weak',
|
|
|
'where',
|
|
|
'while',
|
|
|
- 'willSet',
|
|
|
- 'FALSE',
|
|
|
- 'TRUE'
|
|
|
+ 'willSet'
|
|
|
],
|
|
|
|
|
|
symbols: /[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,
|