Files
docs/node_modules/@shikijs/langs/dist/objective-c.mjs

6 lines
112 KiB
JavaScript
Raw Normal View History

2025-08-27 14:05:33 +08:00
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Objective-C\",\"name\":\"objective-c\",\"patterns\":[{\"include\":\"#anonymous_pattern_1\"},{\"include\":\"#anonymous_pattern_2\"},{\"include\":\"#anonymous_pattern_3\"},{\"include\":\"#anonymous_pattern_4\"},{\"include\":\"#anonymous_pattern_5\"},{\"include\":\"#apple_foundation_functional_macros\"},{\"include\":\"#anonymous_pattern_7\"},{\"include\":\"#anonymous_pattern_8\"},{\"include\":\"#anonymous_pattern_9\"},{\"include\":\"#anonymous_pattern_10\"},{\"include\":\"#anonymous_pattern_11\"},{\"include\":\"#anonymous_pattern_12\"},{\"include\":\"#anonymous_pattern_13\"},{\"include\":\"#anonymous_pattern_14\"},{\"include\":\"#anonymous_pattern_15\"},{\"include\":\"#anonymous_pattern_16\"},{\"include\":\"#anonymous_pattern_17\"},{\"include\":\"#anonymous_pattern_18\"},{\"include\":\"#anonymous_pattern_19\"},{\"include\":\"#anonymous_pattern_20\"},{\"include\":\"#anonymous_pattern_21\"},{\"include\":\"#anonymous_pattern_22\"},{\"include\":\"#anonymous_pattern_23\"},{\"include\":\"#anonymous_pattern_24\"},{\"include\":\"#anonymous_pattern_25\"},{\"include\":\"#anonymous_pattern_26\"},{\"include\":\"#anonymous_pattern_27\"},{\"include\":\"#anonymous_pattern_28\"},{\"include\":\"#anonymous_pattern_29\"},{\"include\":\"#anonymous_pattern_30\"},{\"include\":\"#bracketed_content\"},{\"include\":\"#c_lang\"}],\"repository\":{\"anonymous_pattern_1\":{\"begin\":\"((@)(interface|protocol))(?!.+;)\\\\s+([A-Za-z_][A-Za-z0-9_]*)\\\\s*((:)(?:\\\\s*)([A-Za-z][A-Za-z0-9]*))?(\\\\s|\\\\n)?\",\"captures\":{\"1\":{\"name\":\"storage.type.objc\"},\"2\":{\"name\":\"punctuation.definition.storage.type.objc\"},\"4\":{\"name\":\"entity.name.type.objc\"},\"6\":{\"name\":\"punctuation.definition.entity.other.inherited-class.objc\"},\"7\":{\"name\":\"entity.other.inherited-class.objc\"},\"8\":{\"name\":\"meta.divider.objc\"},\"9\":{\"name\":\"meta.inherited-class.objc\"}},\"contentName\":\"meta.scope.interface.objc\",\"end\":\"((@)end)\\\\b\",\"name\":\"meta.interface-or-protocol.objc\",\"patterns\":[{\"include\":\"#interface_innards\"}]},\"anonymous_pattern_10\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.keyword.objc\"}},\"match\":\"(@)(defs|encode)\\\\b\",\"name\":\"keyword.other.objc\"},\"anonymous_pattern_11\":{\"match\":\"\\\\bid\\\\b\",\"name\":\"storage.type.id.objc\"},\"anonymous_pattern_12\":{\"match\":\"\\\\b(IBOutlet|IBAction|BOOL|SEL|id|unichar|IMP|Class|instancetype)\\\\b\",\"name\":\"storage.type.objc\"},\"anonymous_pattern_13\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.storage.type.objc\"}},\"match\":\"(@)(class|protocol)\\\\b\",\"name\":\"storage.type.objc\"},\"anonymous_pattern_14\":{\"begin\":\"((@)selector)\\\\s*(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.objc\"},\"2\":{\"name\":\"punctuation.definition.storage.type.objc\"},\"3\":{\"name\":\"punctuation.definition.storage.type.objc\"}},\"contentName\":\"meta.selector.method-name.objc\",\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.storage.type.objc\"}},\"name\":\"meta.selector.objc\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.separator.arguments.objc\"}},\"match\":\"\\\\b(?:[a-zA-Z_:][\\\\w]*)+\",\"name\":\"support.function.any-method.name-of-parameter.objc\"}]},\"anonymous_pattern_15\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.storage.modifier.objc\"}},\"match\":\"(@)(synchronized|public|package|private|protected)\\\\b\",\"name\":\"storage.modifier.objc\"},\"anonymous_pattern_16\":{\"match\":\"\\\\b(YES|NO|Nil|nil)\\\\b\",\"name\":\"constant.language.objc\"},\"anonymous_pattern_17\":{\"match\":\"\\\\bNSApp\\\\b\",\"name\":\"support.variable.foundation.objc\"},\"anonymous_pattern_18\":{\"captures\":{\"1\":{\"name\":\"punctuation.whitespace.support.function.cocoa.leopard.objc\"},\"2\":{\"name\":\"support.function.cocoa.leopard.objc\"}},\"match\":\"(\\\\s*)\\\\b(NS(Rect(ToCGRect|FromCGRect)|MakeCollectable|S(tringFromProtocol|ize(ToCGSize|FromCGSize))|Draw(NinePartImage|ThreePartImage)|P(oint(ToCGPoint|FromCGPoint)|rotoc
export default [
lang
]