mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Copy the basic keyword types from Xcode
This commit is contained in:
parent
684cbae427
commit
e617386720
1 changed files with 92 additions and 75 deletions
|
|
@ -61,81 +61,98 @@ export const language = <languages.IMonarchLanguage>{
|
|||
'__FILE__',
|
||||
'__FUNCTION__',
|
||||
'__LINE__',
|
||||
'as',
|
||||
'as!',
|
||||
'as?',
|
||||
'associativity',
|
||||
'break',
|
||||
'case',
|
||||
'catch',
|
||||
'class',
|
||||
'continue',
|
||||
'convenience',
|
||||
'default',
|
||||
'deinit',
|
||||
'didSet',
|
||||
'do',
|
||||
'dynamic',
|
||||
'dynamicType',
|
||||
'else',
|
||||
'enum',
|
||||
'extension',
|
||||
'fallthrough',
|
||||
'fileprivate',
|
||||
'final',
|
||||
'for',
|
||||
'func',
|
||||
'get',
|
||||
'guard',
|
||||
'if',
|
||||
'import',
|
||||
'in',
|
||||
'infix',
|
||||
'init',
|
||||
'inout',
|
||||
'internal',
|
||||
'is',
|
||||
'lazy',
|
||||
'left',
|
||||
'let',
|
||||
'mutating',
|
||||
'nil',
|
||||
'none',
|
||||
'nonmutating',
|
||||
'operator',
|
||||
'optional',
|
||||
'override',
|
||||
'postfix',
|
||||
'precedence',
|
||||
'prefix',
|
||||
'private',
|
||||
'protocol',
|
||||
'Protocol',
|
||||
'public',
|
||||
'repeat',
|
||||
'required',
|
||||
'return',
|
||||
'right',
|
||||
'self',
|
||||
'Self',
|
||||
'set',
|
||||
'static',
|
||||
'struct',
|
||||
'subscript',
|
||||
'super',
|
||||
'switch',
|
||||
'throw',
|
||||
'throws',
|
||||
'try',
|
||||
'try!',
|
||||
'Type',
|
||||
'typealias',
|
||||
'unowned',
|
||||
'var',
|
||||
'weak',
|
||||
'where',
|
||||
'while',
|
||||
'willSet',
|
||||
'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',
|
||||
'FALSE',
|
||||
'TRUE'
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue