2022-06-03 19:30:11 +02:00
|
|
|
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"conf\": () => (/* binding */ conf),\n/* harmony export */ \"language\": () => (/* binding */ language)\n/* harmony export */ });\n/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/swift/swift.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"`\", close: \"`\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"`\", close: \"`\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".swift\",\n identifier: /[a-zA-Z_][\\w$]*/,\n attributes: [\n \"@GKInspectable\",\n \"@IBAction\",\n \"@IBDesignable\",\n \"@IBInspectable\",\n \"@IBOutlet\",\n \"@IBSegueAction\",\n \"@NSApplicationMain\",\n \"@NSCopying\",\n \"@NSManaged\",\n \"@Sendable\",\n \"@UIApplicationMain\",\n \"@autoclosure\",\n \"@actorIndependent\",\n \"@asyncHandler\",\n \"@available\",\n \"@convention\",\n \"@derivative\",\n \"@differentiable\",\n \"@discardableResult\",\n \"@dynamicCallable\",\n \"@dynamicMemberLookup\",\n \"@escaping\",\n \"@frozen\",\n \"@globalActor\",\n \"@inlinable\",\n \"@inline\",\n \"@main\",\n \"@noDerivative\",\n \"@nonobjc\",\n \"@noreturn\",\n \"@objc\",\n \"@objcMembers\",\n \"@preconcurrency\",\n \"@propertyWrapper\",\n \"@requires_stored_property_inits\",\n \"@resultBuilder\",\n \"@testable\",\n \"@unchecked\",\n \"@unknown\",\n \"@usableFromInline\",\n \"@warn_unqualified_access\"\n ],\n accessmodifiers: [\"open\", \"public\", \"internal\", \"fileprivate\", \"private\"],\n keywords: [\n \"#available\",\n \"#colorLiteral\",\n \"#column\",\n \"#dsohandle\",\n \"#else\",\n \"#elseif\",\n \"#endif\",\n \"#error\",\n \"#file\",\n \"#fileID\",\n \"#fileLiteral\",\n \"#filePath\",\n \"#function\",\n \"#if\",\n \"#imageLiteral\",\n \"#keyPath\",\n \"#line\",\n \"#selector\",\n \"#sourceLocation\",\n \"#warning\",\n \"Any\",\n \"Protocol\",\n \"Self\",\n \"Type\",\n \"actor\",\n \"as\",\n \"assignment\",\n \"associatedtype\",\n \"associativity\",\n \"async\",\n \"await\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"continue\",\n \"convenience\",\n \"default\",\n \"defer\",\n \"deinit\",\n \"didSet\",\n \"do\",\n \"dynamic\",\n \"dynamicType\",\n \"else\",\n \"enum\",\n \"extension\",\n \"fallthrough\",\n \"false\",\n \"fileprivate\",\n \"final\",\n \"for\",\n \"func\",\n \"get\",\n \"guard\",\n \"higherThan\",\n \"if\",\n \"import\",\n \"in\",\n \"indirect\",\n \"infix\",\n \"init\",\n \"inout\",\n \"internal\",\n \"is\",\n \"isolated\",\n \"lazy\",\n \"left\",\n \"let\",\n \"lowerThan\",\n \"mutating\",\n \"nil\",\n \"none\",\n \"nonisolated\",\n \"nonmutating\",\n \"open\",\n \"operator\",\n \"optional\",\n \"override\",\n \"postfix\",\n \"precedence\",\n \"precedencegroup\",\n \"prefix\",\n \"private\",\n \"protocol\"
|