@wooorm/starry-night
Version:
Syntax highlighting, like GitHub
386 lines (385 loc) • 167 kB
JavaScript
// This is a TextMate grammar distributed by `starry-night`.
// This grammar is licensed permissive.
// See <https://github.com/wooorm/starry-night> for more info.
/**
* @import {Grammar} from '@wooorm/starry-night'
*/
/** @type {Grammar} */
const grammar = {
extensions: [],
names: [],
patterns: [
{
match:
'\\bNS(?:AnyType|CompositingOperationHighlight|DoubleType|FloatType|IntType|Positive(?:DoubleType|FloatType|IntType))\\b',
name: 'invalid.deprecated.10.0.support.constant.cocoa.objc'
},
{
match: '\\bNS(?:CompositeHighlight|SmallIconButtonBezelStyle)\\b',
name: 'invalid.deprecated.10.0.support.variable.cocoa.objc'
},
{
match: '\\bNS(?:CalendarDate|Form|GarbageCollector)\\b',
name: 'invalid.deprecated.10.10.support.class.cocoa.objc'
},
{
match:
'\\bNS(?:Alert(?:AlternateReturn|DefaultReturn|ErrorReturn|OtherReturn)|Ca(?:lendarCalendarUnit|ncelButton)|D(?:ayCalendarUnit|ragOperationAll(?:_Obsolete)?)|EraCalendarUnit|H(?:PUXOperatingSystem|ourCalendarUnit)|M(?:ACHOperatingSystem|inuteCalendarUnit|onthCalendarUnit)|O(?:KButton|SF1OperatingSystem)|PopoverAppearance(?:HUD|Minimal)|QuarterCalendarUnit|Run(?:AbortedResponse|ContinuesResponse|StoppedResponse)|S(?:cale(?:None|Proportionally|ToFit)|econdCalendarUnit|olarisOperatingSystem|unOSOperatingSystem)|TimeZoneCalendarUnit|UndefinedDateComponent|W(?:eek(?:CalendarUnit|Of(?:MonthCalendarUnit|YearCalendarUnit)|day(?:CalendarUnit|OrdinalCalendarUnit))|indows(?:95OperatingSystem|NTOperatingSystem)|rapCalendarComponents)|Year(?:CalendarUnit|ForWeekOfYearCalendarUnit))\\b',
name: 'invalid.deprecated.10.10.support.constant.cocoa.objc'
},
{
match: '\\bNSPopoverAppearance\\b',
name: 'invalid.deprecated.10.10.support.type.cocoa.objc'
},
{
match:
'\\bNS(?:A(?:ccessibilityMatte(?:ContentUIElementAttribute|HoleAttribute)|ppearanceNameLightContent)|BuddhistCalendar|ChineseCalendar|GregorianCalendar|HebrewCalendar|I(?:SO8601Calendar|ndianCalendar|slamicC(?:alendar|ivilCalendar))|JapaneseCalendar|PersianCalendar|RepublicOfChinaCalendar)\\b',
name: 'invalid.deprecated.10.10.support.variable.cocoa.objc'
},
{
match:
'\\bNS(?:Glyph(?:Attribute(?:BidiLevel|Elastic|Inscribe|Soft)|Inscribe(?:Above|B(?:ase|elow)|Over(?:Below|strike)))|StringDrawing(?:DisableScreenFontSubstitution|OneShot)|TextWritingDirection(?:Embedding|Override)|WorkspaceLaunch(?:AllowingClassicStartup|PreferringClassic))\\b',
name: 'invalid.deprecated.10.11.support.constant.cocoa.objc'
},
{
match: '\\bNSConfinementConcurrencyType\\b',
name: 'invalid.deprecated.10.11.support.constant.objc'
},
{
match: '\\bNS(?:GlyphInscription|WorkspaceFileOperationName)\\b',
name: 'invalid.deprecated.10.11.support.type.cocoa.objc'
},
{
match:
'\\bNS(?:AccessibilityException|CharacterShapeAttributeName|U(?:nderlineByWordMask|sesScreenFontsDocumentAttribute)|Workspace(?:Co(?:mpressOperation|pyOperation)|D(?:e(?:c(?:ompressOperation|ryptOperation)|stroyOperation)|idPerformFileOperationNotification|uplicateOperation)|EncryptOperation|LinkOperation|MoveOperation|RecycleOperation))\\b',
name: 'invalid.deprecated.10.11.support.variable.cocoa.objc'
},
{
match:
'\\bPDFAnnotation(?:ButtonWidget|C(?:hoiceWidget|ircle)|FreeText|Ink|Lin(?:e|k)|Markup|Popup|S(?:quare|tamp)|Text(?:Widget)?)\\b',
name: 'invalid.deprecated.10.12.support.class.objc'
},
{
match: '\\bNSOpenGLPFAStereo\\b',
name: 'invalid.deprecated.10.12.support.constant.cocoa.objc'
},
{
match:
'\\bNSPersistentStoreUbiquitousTransitionType(?:Account(?:Added|Removed)|ContentRemoved|InitialImportCompleted)\\b',
name: 'invalid.deprecated.10.12.support.constant.objc'
},
{
match: '\\bNSGradientType\\b',
name: 'invalid.deprecated.10.12.support.type.cocoa.objc'
},
{
match: '\\bNSPersistentStoreUbiquitousTransitionType\\b',
name: 'invalid.deprecated.10.12.support.type.objc'
},
{
match:
'\\bNS(?:A(?:WTEventType|l(?:phaShiftKeyMask|ternateKeyMask)|nyEventMask|pp(?:KitDefined(?:Mask)?|lication(?:ActivatedEventType|De(?:activatedEventType|fined(?:Mask)?))))|BorderlessWindowMask|C(?:enterTextAlignment|ircularSlider|losableWindowMask|o(?:m(?:mandKeyMask|posite(?:C(?:lear|o(?:lor(?:Burn|Dodge)?|py))|D(?:arken|estination(?:Atop|In|O(?:ut|ver))|ifference)|Exclusion|H(?:ardLight|ue)|L(?:ighten|uminosity)|Multiply|Overlay|Plus(?:Darker|Lighter)|S(?:aturation|creen|o(?:ftLight|urce(?:Atop|In|O(?:ut|ver))))|XOR))|ntrolKeyMask)|riticalAlertStyle|ursor(?:PointingDevice|Update(?:Mask)?))|D(?:eviceIndependentModifierFlagsMask|ocModalWindowMask)|EraserPointingDevice|F(?:lagsChanged(?:Mask)?|u(?:llS(?:creenWindowMask|izeContentViewWindowMask)|nctionKeyMask))|H(?:UDWindowMask|elpKeyMask)|InformationalAlertStyle|JustifiedTextAlignment|Key(?:Down(?:Mask)?|Up(?:Mask)?)|L(?:eft(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|TextAlignment)|inearSlider)|M(?:ini(?:ControlSize|aturizableWindowMask)|ouse(?:E(?:ntered(?:Mask)?|ventSubtype|xited(?:Mask)?)|Moved(?:Mask)?))|N(?:aturalTextAlignment|onactivatingPanelMask|umericPadKeyMask)|OtherMouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|P(?:e(?:n(?:LowerSideMask|PointingDevice|TipMask|UpperSideMask)|riodic(?:Mask)?)|owerOffEventType)|R(?:e(?:gularControlSize|sizableWindowMask)|ight(?:Mouse(?:D(?:own(?:Mask)?|ragged(?:Mask)?)|Up(?:Mask)?)|TextAlignment))|S(?:cr(?:eenChangedEventType|ollWheel(?:Mask)?)|hiftKeyMask|mallControlSize|ystemDefined(?:Mask)?)|T(?:abletP(?:oint(?:EventSubtype|Mask)?|roximity(?:EventSubtype|Mask)?)|exturedBackgroundWindowMask|hick(?:SquareBezelStyle|erSquareBezelStyle)|i(?:ckMark(?:Above|Below|Left|Right)|tledWindowMask)|ouchEventSubtype)|U(?:n(?:ifiedTitleAndToolbarWindowMask|knownPointingDevice)|tilityWindowMask)|W(?:arningAlertStyle|indow(?:ExposedEventType|FullScreenButton|MovedEventType)))\\b',
name: 'invalid.deprecated.10.12.support.variable.cocoa.objc'
},
{
match:
'\\bNSPersistentStore(?:DidImportUbiquitousContentChangesNotification|Re(?:buildFromUbiquitousContentOption|moveUbiquitousMetadataOption)|Ubiquitous(?:Cont(?:ainerIdentifierKey|ent(?:NameKey|URLKey))|PeerTokenOption|TransitionTypeKey))\\b',
name: 'invalid.deprecated.10.12.support.variable.objc'
},
{
match:
'\\bNS(?:Archiver|Connection|D(?:istantObject(?:Request)?|rawer)|M(?:achBootstrapServer|essagePortNameServer)|Port(?:Coder|NameServer)|SocketPortNameServer|Unarchiver)\\b',
name: 'invalid.deprecated.10.13.support.class.cocoa.objc'
},
{
match:
'\\bNS(?:BackingStore(?:Nonretained|Retained)|Drawer(?:Clos(?:edState|ingState)|Open(?:State|ingState))|FileHandlingPanel(?:CancelButton|OKButton)|NativeShortGlyphPacking)\\b',
name: 'invalid.deprecated.10.13.support.constant.cocoa.objc'
},
{
match: '\\bNSMultibyteGlyphPacking\\b',
name: 'invalid.deprecated.10.13.support.type.cocoa.objc'
},
{
match:
'\\bNS(?:Connection(?:Did(?:DieNotification|InitializeNotification)|ReplyMode)|D(?:ockWindowLevel|ra(?:gPboard|wer(?:Did(?:CloseNotification|OpenNotification)|Will(?:CloseNotification|OpenNotification))))|F(?:ailedAuthenticationException|indPboard|ontPboard)|GeneralPboard|RulerPboard)\\b',
name: 'invalid.deprecated.10.13.support.variable.cocoa.objc'
},
{
match:
'\\b(?:NS(?:BinaryExternalRecordType|E(?:ntityNameInPathKey|xternalRecord(?:ExtensionOption|s(?:DirectoryOption|FileFormatOption)))|ModelPathKey|ObjectURIKey|Store(?:PathKey|UUIDInPathKey)|XMLExternalRecordType)|kPDFAnnotationKey_(?:A(?:ction|dditionalActions|ppearance(?:Dictionary|State))|Border(?:Style)?|Co(?:lor|ntents)|D(?:ate|e(?:faultAppearance|stination))|Flags|HighlightingMode|I(?:conName|n(?:klist|teriorColor))|Line(?:EndingStyles|Points)|Name|Open|P(?:a(?:ge|rent)|opup)|Quad(?:Points|ding)|Rect|Subtype|TextLabel|Widget(?:AppearanceDictionary|DefaultValue|Field(?:Flags|Type)|MaxLen|Options|TextLabelUI|Value)))\\b',
name: 'invalid.deprecated.10.13.support.variable.objc'
},
{
match:
'\\b(?:DOM(?:A(?:bstractView|ttr)|Blob|C(?:DATASection|SS(?:CharsetRule|FontFaceRule|ImportRule|MediaRule|P(?:ageRule|rimitiveValue)|Rule(?:List)?|Style(?:Declaration|Rule|Sheet)|UnknownRule|Value(?:List)?)|haracterData|o(?:mment|unter))|Document(?:Fragment|Type)?|E(?:lement|ntity(?:Reference)?|vent)|File(?:List)?|HTML(?:A(?:nchorElement|ppletElement|reaElement)|B(?:RElement|ase(?:Element|FontElement)|odyElement|uttonElement)|Collection|D(?:ListElement|i(?:rectoryElement|vElement)|ocument)|E(?:lement|mbedElement)|F(?:ieldSetElement|o(?:ntElement|rmElement)|rame(?:Element|SetElement))|H(?:RElement|ead(?:Element|ingElement)|tmlElement)|I(?:FrameElement|mageElement|nputElement)|L(?:IElement|abelElement|egendElement|inkElement)|M(?:a(?:pElement|rqueeElement)|e(?:nuElement|taElement)|odElement)|O(?:ListElement|bjectElement|pt(?:GroupElement|ion(?:Element|sCollection)))|P(?:ara(?:graphElement|mElement)|reElement)|QuoteElement|S(?:criptElement|electElement|tyleElement)|T(?:able(?:C(?:aptionElement|ellElement|olElement)|Element|RowElement|SectionElement)|extAreaElement|itleElement)|UListElement)|Implementation|KeyboardEvent|M(?:ediaList|ouseEvent|utationEvent)|N(?:amedNodeMap|ode(?:Iterator|List)?)|O(?:bject|verflowEvent)|Pro(?:cessingInstruction|gressEvent)|R(?:GBColor|ange|ect)|StyleSheet(?:List)?|T(?:ext|reeWalker)|UIEvent|WheelEvent|XPath(?:Expression|Result))|NSOpenGL(?:Context|Layer|PixelFormat|View)|Web(?:Archive|BackForwardList|D(?:ataSource|ownload)|Frame(?:View)?|History(?:Item)?|Preferences|ScriptObject|Undefined|View))\\b',
name: 'invalid.deprecated.10.14.support.class.cocoa.objc'
},
{
match: '\\b(?:CAOpenGLLayer|IKImageBrowserView|QCCompositionLayer)\\b',
name: 'invalid.deprecated.10.14.support.class.objc'
},
{
match:
'\\b(?:DOM_(?:A(?:DDITION|LLOW_KEYBOARD_INPUT|NY_(?:TYPE|UNORDERED_NODE_TYPE)|T(?:TRIBUTE_NODE|_TARGET))|B(?:AD_BOUNDARYPOINTS_ERR|O(?:OLEAN_TYPE|TH)|UBBLING_PHASE)|C(?:APTURING_PHASE|DATA_SECTION_NODE|HARSET_RULE|OMMENT_NODE|SS_(?:ATTR|C(?:M|OUNTER|USTOM)|D(?:EG|IMENSION)|E(?:MS|XS)|GRAD|HZ|I(?:DENT|N(?:HERIT)?)|KHZ|M(?:M|S)|NUMBER|P(?:C|ERCENTAGE|RIMITIVE_VALUE|T|X)|R(?:AD|ECT|GBCOLOR)|S(?:TRING)?|U(?:NKNOWN|RI)|V(?:ALUE_LIST|H|M(?:AX|IN)|W)))|DO(?:CUMENT_(?:FRAGMENT_NODE|NODE|POSITION_(?:CONTAIN(?:ED_BY|S)|DISCONNECTED|FOLLOWING|IMPLEMENTATION_SPECIFIC|PRECEDING)|TYPE_NODE)|M(?:STRING_SIZE_ERR|_DELTA_(?:LINE|P(?:AGE|IXEL))))|E(?:LEMENT_NODE|N(?:D_TO_(?:END|START)|TITY_(?:NODE|REFERENCE_NODE)))|F(?:I(?:LTER_(?:ACCEPT|REJECT|SKIP)|RST_ORDERED_NODE_TYPE)|ONT_FACE_RULE)|H(?:IERARCHY_REQUEST_ERR|ORIZONTAL)|I(?:MPORT_RULE|N(?:DEX_SIZE_ERR|USE_ATTRIBUTE_ERR|VALID_(?:ACCESS_ERR|CHARACTER_ERR|EXPRESSION_ERR|MODIFICATION_ERR|NODE_TYPE_ERR|STATE_ERR)))|KEY(?:FRAME(?:S_RULE|_RULE)|_LOCATION_(?:LEFT|NUMPAD|RIGHT|STANDARD))|M(?:EDIA_RULE|ODIFICATION)|N(?:AMESPACE_(?:ERR|RULE)|O(?:DE_(?:AFTER|BEFORE(?:_AND_AFTER)?|INSIDE)|NE|T(?:ATION_NODE|_(?:FOUND_ERR|SUPPORTED_ERR))|_(?:DATA_ALLOWED_ERR|MODIFICATION_ALLOWED_ERR))|UMBER_TYPE)|ORDERED_NODE_(?:ITERATOR_TYPE|SNAPSHOT_TYPE)|P(?:AGE_RULE|ROCESSING_INSTRUCTION_NODE)|REMOVAL|S(?:HOW_(?:A(?:LL|TTRIBUTE)|C(?:DATA_SECTION|OMMENT)|DOCUMENT(?:_(?:FRAGMENT|TYPE))?|E(?:LEMENT|NTITY(?:_REFERENCE)?)|NOTATION|PROCESSING_INSTRUCTION|TEXT)|T(?:ART_TO_(?:END|START)|RING_TYPE|YLE_RULE)|UPPORTS_RULE|YNTAX_ERR)|T(?:EXT_NODE|YPE_ERR)|UN(?:KNOWN_RULE|ORDERED_NODE_(?:ITERATOR_TYPE|SNAPSHOT_TYPE)|SPECIFIED_EVENT_TYPE_ERR)|VERTICAL|W(?:EBKIT_(?:KEYFRAME(?:S_RULE|_RULE)|REGION_RULE)|RONG_DOCUMENT_ERR))|NS(?:LandscapeOrientation|O(?:nlyScrollerArrows|penGL(?:ContextParameter(?:CurrentRendererID|GPU(?:FragmentProcessing|VertexProcessing)|HasDrawable|MPSwapsInFlight|R(?:asterizationEnable|eclaimResources)|S(?:tateValidation|urface(?:BackingSize|O(?:pacity|rder)|SurfaceVolatile)|wap(?:Interval|Rectangle(?:Enable)?)))|GO(?:ClearFormatCache|FormatCacheSize|RetainRenderers|UseBuildCache)|P(?:FA(?:A(?:cc(?:elerated(?:Compute)?|umSize)|l(?:l(?:Renderers|owOfflineRenderers)|phaSize)|ux(?:Buffers|DepthStencil))|BackingStore|C(?:losestPolicy|olor(?:Float|Size))|D(?:epthSize|oubleBuffer)|M(?:aximumPolicy|inimumPolicy|ultisample)|NoRecovery|OpenGLProfile|RendererID|S(?:ample(?:Alpha|Buffers|s)|creenMask|tencilSize|upersample)|TripleBuffer|VirtualScreenCount)|rofileVersion(?:3_2Core|4_1Core|Legacy))))|PortraitOrientation|Scroller(?:DecrementLine|IncrementLine))|Web(?:CacheModel(?:Document(?:Browser|Viewer)|PrimaryWebBrowser)|Drag(?:DestinationAction(?:Any|DHTML|Edit|Load|None)|SourceAction(?:Any|DHTML|Image|Link|None|Selection))|KitError(?:BlockedPlugInVersion|Cannot(?:FindPlugIn|LoadPlugIn|Show(?:MIMEType|URL))|FrameLoadInterruptedByPolicyChange|JavaUnavailable)|MenuItem(?:PDF(?:A(?:ctualSize|utoSize)|Continuous|FacingPages|NextPage|PreviousPage|SinglePage|Zoom(?:In|Out))|Tag(?:C(?:opy(?:ImageToClipboard|LinkToClipboard)?|ut)|Download(?:ImageToDisk|LinkToDisk)|Go(?:Back|Forward)|IgnoreSpelling|L(?:earnSpelling|ookUpInDictionary)|NoGuessesFound|O(?:pen(?:FrameInNewWindow|ImageInNewWindow|LinkInNewWindow|WithDefaultApplication)|ther)|Paste|Reload|S(?:earch(?:InSpotlight|Web)|pellingGuess|top)))|NavigationType(?:BackForward|Form(?:Resubmitted|Submitted)|LinkClicked|Other|Reload)|ViewInsertAction(?:Dropped|Pasted|Typed)))\\b',
name: 'invalid.deprecated.10.14.support.constant.cocoa.objc'
},
{
match:
'\\b(?:DOM(?:E(?:ventExceptionCode|xceptionCode)|RangeExceptionCode|XPathExceptionCode)|NS(?:CellStateValue|OpenGL(?:ContextParameter|GlobalOption|PixelFormatAttribute)|Pr(?:intingOrientation|ogressIndicatorThickness)|Scroll(?:ArrowPosition|erArrow)|WindowBackingLocation)|Web(?:CacheModel|Drag(?:DestinationAction|SourceAction)|NavigationType|ViewInsertAction))\\b',
name: 'invalid.deprecated.10.14.support.type.cocoa.objc'
},
{
match: '\\bQLPreviewItemLoadingBlock\\b',
name: 'invalid.deprecated.10.14.support.type.objc'
},
{
match:
'\\b(?:DOM(?:E(?:ventException|xception)|RangeException|XPathException)|NS(?:16Bit(?:BigEndianBitmapFormat|LittleEndianBitmapFormat)|32Bit(?:BigEndianBitmapFormat|LittleEndianBitmapFormat)|A(?:cceleratorButton|lpha(?:FirstBitmapFormat|NonpremultipliedBitmapFormat))|BMPFileType|C(?:MYK(?:ColorSpaceModel|ModeColorPanel)|ircularBezelStyle|o(?:lor(?:ListModeColorPanel|PboardType)|ntinuousCapacityLevelIndicatorStyle)|rayonModeColorPanel|ustomPaletteModeColorPanel)|D(?:e(?:faultTokenStyle|viceNColorSpaceModel)|isc(?:losureBezelStyle|reteCapacityLevelIndicatorStyle))|F(?:ile(?:namesPboardType|sPromisePboardType)|loatingPointSamplesBitmapFormat|ontPboardType)|G(?:IFFileType|ray(?:ColorSpaceModel|ModeColorPanel))|H(?:SBModeColorPanel|TMLPboardType|elpButtonBezelStyle)|In(?:dexedColorSpaceModel|kTextPboardType|lineBezelStyle)|JPEG(?:2000FileType|FileType)|KeyedUnarchiveFromDataTransformerName|LABColorSpaceModel|M(?:ixedState|omentary(?:ChangeButton|LightButton|PushInButton)|ulti(?:LevelAcceleratorButton|pleTextSelectionPboardType))|NoModeColorPanel|O(?:ffState|n(?:OffButton|State)|penGLCP(?:CurrentRendererID|GPU(?:FragmentProcessing|VertexProcessing)|HasDrawable|MPSwapsInFlight|R(?:asterizationEnable|eclaimResources)|S(?:tateValidation|urface(?:BackingSize|O(?:pacity|rder)|SurfaceVolatile)|wap(?:Interval|Rectangle(?:Enable)?))))|P(?:DFPboardType|NGFileType|a(?:steboardTypeFindPanelSearchOptions|tternColorSpaceModel)|lainTextTokenStyle|ostScriptPboardType|rogressIndicator(?:BarStyle|SpinningStyle)|ushOnPushOffButton)|R(?:GB(?:ColorSpaceModel|ModeColorPanel)|TF(?:DPboardType|PboardType)|a(?:dioButton|tingLevelIndicatorStyle)|e(?:cessedBezelStyle|gularSquareBezelStyle|levancyLevelIndicatorStyle)|ound(?:RectBezelStyle|ed(?:BezelStyle|DisclosureBezelStyle|TokenStyle))|ulerPboardType)|S(?:ha(?:dowlessSquareBezelStyle|ringServiceName(?:Post(?:ImageOnFlickr|On(?:Facebook|LinkedIn|SinaWeibo|T(?:encentWeibo|witter))|VideoOn(?:Tudou|Vimeo|Youku))|UseAs(?:FacebookProfileImage|LinkedInProfileImage|TwitterProfileImage)))|mallSquareBezelStyle|tringPboardType|witchButton)|T(?:IFF(?:FileType|PboardType)|abularTextPboardType|extured(?:RoundedBezelStyle|SquareBezelStyle)|oggleButton)|U(?:RLPboardType|n(?:archiveFromDataTransformerName|knownColorSpaceModel))|V(?:CardPboardType|iew(?:GlobalFrameDidChangeNotification|NoInstrinsicMetric))|WheelModeColorPanel)|Web(?:A(?:ction(?:ButtonKey|ElementKey|ModifierFlagsKey|NavigationTypeKey|OriginalURLKey)|rchivePboardType)|Element(?:DOMNodeKey|FrameKey|I(?:mage(?:AltStringKey|Key|RectKey|URLKey)|sSelectedKey)|Link(?:LabelKey|T(?:argetFrameKey|itleKey)|URLKey))|History(?:AllItemsRemovedNotification|Item(?:ChangedNotification|s(?:AddedNotification|Key|RemovedNotification))|LoadedNotification|SavedNotification)|KitError(?:Domain|MIMETypeKey|PlugIn(?:NameKey|PageURLStringKey))|P(?:lugIn(?:AttributesKey|BaseURLKey|Contain(?:erKey|ingElementKey)|ShouldLoadMainResourceKey)|referencesChangedNotification)|ViewProgress(?:EstimateChangedNotification|FinishedNotification|StartedNotification)))\\b',
name: 'invalid.deprecated.10.14.support.variable.cocoa.objc'
},
{
match:
'\\b(?:IOSurfacePropertyAllocSizeKey|QCComposition(?:InputRSS(?:ArticleDurationKey|FeedURLKey)|ProtocolRSSVisualizer)|kCIImageTexture(?:Format|Target))\\b',
name: 'invalid.deprecated.10.14.support.variable.objc'
},
{
match:
'\\bQC(?:Composition(?:P(?:arameterView|icker(?:Panel|View))|Repository)?|P(?:atchController|lugIn(?:ViewController)?)|Renderer|View)\\b',
name: 'invalid.deprecated.10.15.support.class.objc'
},
{
match: '\\bNSURLNetworkServiceTypeVoIP\\b',
name: 'invalid.deprecated.10.15.support.constant.cocoa.objc'
},
{
match:
'\\bQCPlugIn(?:BufferReleaseCallback|ExecutionMode|T(?:extureReleaseCallback|imeMode))\\b',
name: 'invalid.deprecated.10.15.support.type.objc'
},
{
match:
'\\bQC(?:Composition(?:Attribute(?:BuiltInKey|C(?:ategoryKey|opyrightKey)|DescriptionKey|HasConsumersKey|IsTimeDependentKey|NameKey)|Category(?:Distortion|Stylize|Utility)|Input(?:Audio(?:PeakKey|SpectrumKey)|DestinationImageKey|ImageKey|Pr(?:eviewModeKey|imaryColorKey)|S(?:creenImageKey|econdaryColorKey|ourceImageKey)|Track(?:InfoKey|PositionKey|SignalKey)|XKey|YKey)|Output(?:ImageKey|WebPageURLKey)|P(?:icker(?:PanelDidSelectCompositionNotification|ViewDidSelectCompositionNotification)|rotocol(?:Graphic(?:Animation|Transition)|ImageFilter|MusicVisualizer|ScreenSaver))|RepositoryDidUpdateNotification)|P(?:lugIn(?:Attribute(?:C(?:ategoriesKey|opyrightKey)|DescriptionKey|ExamplesKey|NameKey)|ExecutionArgument(?:EventKey|MouseLocationKey)|PixelFormat(?:ARGB8|BGRA8|I(?:8|f)|RGBAf))|ort(?:Attribute(?:DefaultValueKey|M(?:aximumValueKey|enuItemsKey|inimumValueKey)|NameKey|TypeKey)|Type(?:Boolean|Color|I(?:mage|ndex)|Number|Str(?:ing|ucture))))|Renderer(?:EventKey|MouseLocationKey)|ViewDidSt(?:artRenderingNotification|opRenderingNotification))\\b',
name: 'invalid.deprecated.10.15.support.variable.objc'
},
{
match:
'\\bNSPrint(?:FormName|JobFeatures|ManualFeed|Pa(?:gesPerSheet|perFeed))\\b',
name: 'invalid.deprecated.10.2.support.variable.cocoa.objc'
},
{
match: '\\bNSOpenGLGOResetLibrary\\b',
name: 'invalid.deprecated.10.4.support.constant.cocoa.objc'
},
{
match:
'\\bNS(?:F(?:TPProperty(?:ActiveTransferModeKey|F(?:TPProxy|ileOffsetKey)|User(?:LoginKey|PasswordKey))|ontColorAttribute)|HTTPProperty(?:ErrorPageDataKey|HTTPProxy|RedirectionHeadersKey|S(?:erverHTTPVersionKey|tatus(?:CodeKey|ReasonKey)))|ViewFocusDidChangeNotification)\\b',
name: 'invalid.deprecated.10.4.support.variable.cocoa.objc'
},
{
match: '\\bNSMovie\\b',
name: 'invalid.deprecated.10.5.support.class.cocoa.objc'
},
{
match: '\\bNSOpenGLPFA(?:M(?:PSafe|ultiScreen)|Robust)\\b',
name: 'invalid.deprecated.10.5.support.constant.cocoa.objc'
},
{
match:
'\\bNS(?:AMPMDesignation|CurrencySymbol|D(?:ate(?:FormatString|TimeOrdering)|ecimal(?:Digits|Separator))|EarlierTimeDesignations|HourNameDesignations|Int(?:HashCallBacks|Map(?:KeyCallBacks|ValueCallBacks)|ernationalCurrencyString)|LaterTimeDesignations|MonthNameArray|Ne(?:gativeCurrencyFormatString|xt(?:DayDesignations|NextDayDesignations))|P(?:ositiveCurrencyFormatString|riorDayDesignations)|Short(?:DateFormatString|MonthNameArray|TimeDateFormatString|WeekDayNameArray)|T(?:h(?:isDayDesignations|ousandsSeparator)|ime(?:DateFormatString|FormatString))|VoiceLanguage|WeekDayNameArray|YearMonthWeekDesignations)\\b',
name: 'invalid.deprecated.10.5.support.variable.cocoa.objc'
},
{
match: '\\bNS(?:CachedImageRep|Input(?:Manager|Server))\\b',
name: 'invalid.deprecated.10.6.support.class.cocoa.objc'
},
{
match: '\\bNSOpenGLPFAFullScreen\\b',
name: 'invalid.deprecated.10.6.support.constant.cocoa.objc'
},
{
match:
'\\bNS(?:A(?:ccessibilitySortButtonRole|pplicationFileType)|CalibratedBlackColorSpace|D(?:eviceBlackColorSpace|irectoryFileType)|ErrorFailingURLStringKey|FilesystemFileType|P(?:ICTPboardType|lainFileType|rintSavePath)|ShellCommandFileType)\\b',
name: 'invalid.deprecated.10.6.support.variable.cocoa.objc'
},
{
match: '\\bNSOpenGLPixelBuffer\\b',
name: 'invalid.deprecated.10.7.support.class.cocoa.objc'
},
{
match:
'\\bNS(?:AutosaveOperation|OpenGLPFA(?:OffScreen|PixelBuffer|RemotePixelBuffer)|PathStyleNavigationBar)\\b',
name: 'invalid.deprecated.10.7.support.constant.cocoa.objc'
},
{
match:
'\\b(?:NS(?:FileHandleNotificationMonitorModes|ImageNameDotMac)|kAB(?:AIM(?:HomeLabel|InstantProperty|MobileMeLabel|WorkLabel)|ICQ(?:HomeLabel|InstantProperty|WorkLabel)|Jabber(?:HomeLabel|InstantProperty|WorkLabel)|MSN(?:HomeLabel|InstantProperty|WorkLabel)|Yahoo(?:HomeLabel|InstantProperty|WorkLabel)))\\b',
name: 'invalid.deprecated.10.7.support.variable.cocoa.objc'
},
{
match:
'\\bNS(?:MacintoshInterfaceStyle|N(?:extStepInterfaceStyle|oInterfaceStyle)|PointerFunctionsZeroingWeakMemory|Windows95InterfaceStyle)\\b',
name: 'invalid.deprecated.10.8.support.constant.cocoa.objc'
},
{
match: '\\bNSInterfaceStyle\\b',
name: 'invalid.deprecated.10.8.support.type.cocoa.objc'
},
{match: '\\bCalSpan\\b', name: 'invalid.deprecated.10.8.support.type.objc'},
{
match:
'\\bNS(?:ApplicationLaunchRemoteNotificationKey|HashTableZeroingWeakMemory|InterfaceStyleDefault|MapTableZeroingWeakMemory|Nib(?:Owner|TopLevelObjects)|URLUbiquitousItemPercent(?:DownloadedKey|UploadedKey))\\b',
name: 'invalid.deprecated.10.8.support.variable.cocoa.objc'
},
{
match:
'\\bCal(?:AlarmAction(?:Display|Email|Procedure|Sound)|Calendar(?:StoreErrorDomain|Type(?:Birthday|CalDAV|Exchange|IMAP|Local|Subscription)|sChanged(?:ExternallyNotification|Notification))|DefaultRecurrenceInterval|EventsChanged(?:ExternallyNotification|Notification)|SenderProcessIDKey|TasksChanged(?:ExternallyNotification|Notification)|UserUIDKey)\\b',
name: 'invalid.deprecated.10.8.support.variable.objc'
},
{
match:
'\\bNS(?:NoUnderlineStyle|OpenGLPFA(?:Compliant|SingleRenderer|Window)|SingleUnderlineStyle|URLBookmarkCreationPreferFileIDResolution)\\b',
name: 'invalid.deprecated.10.9.support.constant.cocoa.objc'
},
{
match:
'\\bNS(?:M(?:etadataUbiquitousItemIsDownloadedKey|omentary(?:Light|PushButton))|U(?:RLUbiquitousItemIsDownloadedKey|n(?:derlineStrikethroughMask|scaledWindowMask)))\\b',
name: 'invalid.deprecated.10.9.support.variable.cocoa.objc'
},
{
match: '\\bNSUserNotification(?:Action|Center)?\\b',
name: 'invalid.deprecated.tba.support.class.cocoa.objc'
},
{
match:
'\\bNS(?:AtomicWrite|DataReadingMapped|JSONReadingAllowFragments|MappedRead|U(?:ncachedRead|serNotificationActivationType(?:ActionButtonClicked|ContentsClicked|None))|VisualEffectMaterial(?:AppearanceBased|Dark|Light|MediumLight|UltraDark)|W(?:indowStyleMaskTexturedBackground|orkspaceLaunch(?:A(?:nd(?:Hide(?:Others)?|Print)|sync)|Default|InhibitingBackgroundOnly|NewInstance|With(?:ErrorPresentation|outA(?:ctivation|ddingToRecents)))))\\b',
name: 'invalid.deprecated.tba.support.constant.cocoa.objc'
},
{
match:
'\\bNS(?:UserNotificationActivationType|WorkspaceLaunchConfigurationKey)\\b',
name: 'invalid.deprecated.tba.support.type.cocoa.objc'
},
{
match:
'\\bNS(?:AutoPagination|B(?:ackgroundStyle(?:Dark|Light)|evelLineJoinStyle|ox(?:OldStyle|Secondary)|uttLineCapStyle)|C(?:l(?:ipPagination|o(?:ckAndCalendarDatePickerStyle|sePathBezierPathElement))|ontrolTintDidChangeNotification|urveToBezierPathElement)|E(?:raDatePickerElementFlag|venOddWindingRule)|FitPagination|HourMinute(?:DatePickerElementFlag|SecondDatePickerElementFlag)|LineToBezierPathElement|M(?:iterLineJoinStyle|oveToBezierPathElement|ultipleValuesMarker)|No(?:SelectionMarker|nZeroWindingRule|tApplicableMarker)|R(?:angeDateMode|oundLine(?:CapStyle|JoinStyle))|S(?:ingleDateMode|quareLineCapStyle)|T(?:extField(?:AndStepperDatePickerStyle|DatePickerStyle)|humbnail1024x1024SizeKey|imeZoneDatePickerElementFlag|oolbar(?:CustomizeToolbarItemIdentifier|SeparatorItemIdentifier))|U(?:RLThumbnail(?:DictionaryKey|Key)|serNotificationDefaultSoundName)|WorkspaceLaunchConfiguration(?:A(?:ppleEvent|r(?:chitecture|guments))|Environment)|YearMonthDa(?:tePickerElementFlag|yDatePickerElementFlag))\\b',
name: 'invalid.deprecated.tba.support.variable.cocoa.objc'
},
{
match: '\\bIB(?:Action|Inspectable|Outlet|_DESIGNABLE)\\b',
name: 'storage.type.cocoa.objc'
},
{match: '\\binstancetype\\b', name: 'storage.type.objc'},
{
match:
'\\b(?:CI(?:QRCodeFeature|RectangleFeature)|NS(?:AsynchronousFetchRe(?:quest|sult)|BatchUpdateRe(?:quest|sult)|PersistentStore(?:AsynchronousResult|Result)))\\b',
name: 'support.class.10.10.objc'
},
{
match:
'\\b(?:AU(?:AudioUnit(?:Bus(?:Array)?|Preset|V2Bridge)?|Parameter(?:Group|Node|Tree)?)|C(?:A(?:MetalLayer|SpringAnimation)|I(?:ColorKernel|TextFeature|WarpKernel))|M(?:DL(?:A(?:reaLight|sset)|C(?:amera|heckerboardTexture|olorSwatchTexture)|Light(?:Probe)?|M(?:aterial(?:Property)?|esh(?:Buffer(?:Data(?:Allocator)?|Map))?)|No(?:iseTexture|rmalMapTexture)|Object(?:Container)?|Ph(?:otometricLight|ysicallyPlausible(?:Light|ScatteringFunction))|S(?:catteringFunction|kyCubeTexture|tereoscopicCamera|ubmesh(?:Topology)?)|T(?:exture(?:Filter|Sampler)?|ransform)|URLTexture|V(?:ertex(?:Attribute(?:Data)?|BufferLayout|Descriptor)|oxelArray))|T(?:K(?:Mesh(?:Buffer(?:Allocator)?)?|Submesh|TextureLoader|View)|L(?:Ar(?:gument|rayType)|Comp(?:ileOptions|utePipeline(?:Descriptor|Reflection))|DepthStencilDescriptor|RenderP(?:ass(?:AttachmentDescriptor|ColorAttachmentDescriptor(?:Array)?|De(?:pthAttachmentDescriptor|scriptor)|StencilAttachmentDescriptor)|ipeline(?:ColorAttachmentDescriptor(?:Array)?|Descriptor|Reflection))|S(?:amplerDescriptor|t(?:encilDescriptor|ruct(?:Member|Type)))|TextureDescriptor|Vertex(?:Attribute(?:Descriptor(?:Array)?)?|BufferLayoutDescriptor(?:Array)?|Descriptor))))|NS(?:BatchDeleteRe(?:quest|sult)|ConstraintConflict))\\b',
name: 'support.class.10.11.objc'
},
{
match:
'\\b(?:CIImageProcessorKernel|IOSurface|M(?:DLMaterialProperty(?:Connection|Graph|Node)|TL(?:Attribute(?:Descriptor(?:Array)?)?|BufferLayoutDescriptor(?:Array)?|FunctionConstant(?:Values)?|StageInputOutputDescriptor))|NS(?:FetchedResultsController|Persistent(?:Container|StoreDescription)|QueryGenerationToken))\\b',
name: 'support.class.10.12.objc'
},
{
match:
'\\b(?:CI(?:AztecCodeDescriptor|B(?:arcodeDescriptor|lendKernel)|DataMatrixCodeDescriptor|PDF417CodeDescriptor|QRCodeDescriptor|Render(?:Destination|Info|Task))|M(?:DL(?:Animat(?:ed(?:Matrix4x4|QuaternionArray|Scalar(?:Array)?|V(?:alue|ector(?:2|3(?:Array)?|4)))|ionBindComponent)|BundleAssetResolver|M(?:atrix4x4Array|eshBufferZoneDefault)|Pa(?:ckedJointAnimation|thAssetResolver)|RelativeAssetResolver|Skeleton|Transform(?:MatrixOp|Rotate(?:Op|XOp|YOp|ZOp)|S(?:caleOp|tack)|TranslateOp))|TL(?:ArgumentDescriptor|CaptureManager|HeapDescriptor|P(?:ipelineBufferDescriptor(?:Array)?|ointerType)|T(?:extureReferenceType|ype)))|NS(?:CoreDataCoreSpotlightDelegate|FetchIndex(?:Description|ElementDescription)|PersistentHistory(?:Change(?:Request)?|Result|T(?:oken|ransaction)))|PDFAppearanceCharacteristics)\\b',
name: 'support.class.10.13.objc'
},
{
match:
'\\bM(?:DL(?:AnimatedQuaternion|TransformOrientOp)|TL(?:IndirectCommandBufferDescriptor|Shared(?:Event(?:Handle|Listener)|TextureHandle)))\\b',
name: 'support.class.10.14.objc'
},
{
match:
'\\b(?:CAEDRMetadata|MTL(?:C(?:aptureDescriptor|ounterSampleBufferDescriptor)|RasterizationRate(?:Layer(?:Array|Descriptor)|MapDescriptor|SampleArray))|NS(?:BatchInsertRe(?:quest|sult)|DerivedAttributeDescription|PersistentCloudKitContainer(?:Options)?))\\b',
name: 'support.class.10.15.objc'
},
{
match:
'\\b(?:NS(?:AccessibilityElement|BackgroundActivityScheduler|ClickGestureRecognizer|Date(?:ComponentsFormatter|IntervalFormatter)|E(?:nergyFormatter|xtension(?:Context|Item))|FileAccessIntent|GestureRecognizer|ItemProvider|LengthFormatter|Ma(?:gnificationGestureRecognizer|ssFormatter)|P(?:a(?:nGestureRecognizer|thControlItem)|ress(?:GestureRecognizer|ureConfiguration))|RotationGestureRecognizer|S(?:plitView(?:Controller|Item)|t(?:atusBarButton|oryboard(?:Segue)?))|T(?:abViewController|itlebarAccessoryViewController)|U(?:RLQueryItem|serActivity)|VisualEffectView)|WK(?:BackForwardList(?:Item)?|FrameInfo|Navigation(?:Action|Response)?|Pr(?:eferences|ocessPool)|ScriptMessage|User(?:ContentController|Script)|W(?:ebView(?:Configuration)?|indowFeatures)))\\b',
name: 'support.class.cocoa.10.10.objc'
},
{
match:
'\\b(?:NS(?:AlignmentFeedbackFilter|CollectionView(?:FlowLayout(?:InvalidationContext)?|GridLayout|Layout(?:Attributes|InvalidationContext)?|TransitionLayout|UpdateItem)|D(?:ataAsset|ictionaryControllerKeyValuePair)|HapticFeedbackManager|Layout(?:Anchor|Dimension|Guide|XAxisAnchor|YAxisAnchor)|PersonNameComponents(?:Formatter)?|StringDrawingContext|TableViewRowAction|URLSessionStreamTask)|WK(?:SecurityOrigin|WebsiteData(?:Record|Store)))\\b',
name: 'support.class.cocoa.10.11.objc'
},
{
match:
'\\b(?:NS(?:C(?:andidateListTouchBarItem|olorPickerTouchBarItem|ustomTouchBarItem)|D(?:ateInterval|imension)|FilePromise(?:Provider|Receiver)|Gr(?:id(?:C(?:ell|olumn)|Row|View)|oupTouchBarItem)|ISO8601DateFormatter|Measurement(?:Formatter)?|PopoverTouchBarItem|S(?:crubber(?:ArrangedView|FlowLayout|I(?:mageItemView|temView)|Layout(?:Attributes)?|ProportionalLayout|Selection(?:Style|View)|TextItemView)?|haringServicePickerTouchBarItem|lider(?:Accessory(?:Behavior)?|TouchBarItem))|TouchBar(?:Item)?|U(?:RLSessionTask(?:Metrics|TransactionMetrics)|nit(?:A(?:cceleration|ngle|rea)|Con(?:centrationMass|verter(?:Linear)?)|D(?:ispersion|uration)|E(?:lectric(?:C(?:harge|urrent)|PotentialDifference|Resistance)|nergy)|F(?:requency|uelEfficiency)|Illuminance|Length|Mass|P(?:ower|ressure)|Speed|Temperature|Volume)?))|WKOpenPanelParameters)\\b',
name: 'support.class.cocoa.10.12.objc'
},
{
match:
'\\b(?:NS(?:AccessibilityCustom(?:Action|Rotor(?:ItemResult|SearchParameters)?)|F(?:ileProviderService|ontAssetRequest)|UserInterfaceCompressionOptions|WindowTab(?:Group)?)|WK(?:ContentRuleList(?:Store)?|HTTPCookieStore|SnapshotConfiguration))\\b',
name: 'support.class.cocoa.10.13.objc'
},
{
match:
'\\b(?:NS(?:BindingSelectionMarker|SecureUnarchiveFromDataTransformer|WorkspaceAuthorization)|UN(?:CalendarNotificationTrigger|MutableNotificationContent|Notification(?:A(?:ction|ttachment)|C(?:ategory|ontent)|Re(?:quest|sponse)|S(?:e(?:rviceExtension|ttings)|ound)|Trigger)?|PushNotificationTrigger|T(?:extInputNotification(?:Action|Response)|imeIntervalNotificationTrigger)|UserNotificationCenter))\\b',
name: 'support.class.cocoa.10.14.objc'
},
{
match:
'\\b(?:NS(?:ButtonTouchBarItem|Col(?:lection(?:Layout(?:Anchor|BoundarySupplementaryItem|D(?:ecorationItem|imension)|EdgeSpacing|Group(?:CustomItem)?|Item|S(?:ection|ize|pacing|upplementaryItem))|View(?:CompositionalLayout(?:Configuration)?|DiffableDataSource))|orSampler)|DiffableDataSourceSnapshot|ListFormatter|MenuToolbarItem|OrderedCollection(?:Change|Difference)|PickerTouchBarItem|RelativeDateTimeFormatter|S(?:haringServicePickerToolbarItem|tepperTouchBarItem|witch)|TextCheckingController|U(?:RLSessionWebSocket(?:Message|Task)|nitInformationStorage)|WorkspaceOpenConfiguration)|WKWebpagePreferences)\\b',
name: 'support.class.cocoa.10.15.objc'
},
{
match:
'\\bNS(?:ByteCountFormatter|PageController|SharingService(?:Picker)?|TextAlternatives|U(?:UID|ser(?:A(?:ppleScriptTask|utomatorTask)|ScriptTask|UnixTask))|XPC(?:Co(?:der|nnection)|Interface|Listener(?:Endpoint)?))\\b',
name: 'support.class.cocoa.10.8.objc'
},
{
match:
'\\bNS(?:Appearance|MediaLibraryBrowserController|P(?:DF(?:Info|Panel)|rogress)|StackView|URL(?:Components|Session(?:Configuration|Task)?))\\b',
name: 'support.class.cocoa.10.9.objc'
},
{
match:
'\\b(?:AB(?:AddressBook|Group|Mu(?:ltiValue|tableMultiValue)|Pe(?:oplePickerView|rson(?:View)?)|Record|SearchElement)|NS(?:A(?:TSTypesetter|ctionCell|ffineTransform|lert|nimation(?:Context)?|ppl(?:e(?:Event(?:Descriptor|Manager)|Script)|ication)|rray(?:Controller)?|ssertionHandler|ttributedString|utoreleasePool)|B(?:ezierPath|itmapImageRep|lockOperation|ox|rowser(?:Cell)?|u(?:ndle(?:ResourceRequest)?|tton(?:Cell)?))|C(?:IImageRep|a(?:che(?:dURLResponse)?|lendar)|ell|haracterSet|l(?:assDescription|ipView|o(?:neCommand|seCommand))|o(?:der|l(?:lectionView(?:Item)?|or(?:List|P(?:anel|icker)|Space|Well)?)|m(?:boBox(?:Cell)?|p(?:arisonPredicate|oundPredicate))|n(?:dition(?:Lock)?|stantString|trol(?:ler)?)|unt(?:Command|edSet))|reateCommand|u(?:rsor|stomImageRep))|D(?:at(?:a(?:Detector)?|e(?:Components|Formatter|Picker(?:Cell)?)?)|e(?:cimalNumber(?:Handler)?|leteCommand)|i(?:ctionary(?:Controller)?|rectoryEnumerator|stributed(?:Lock|NotificationCenter))|oc(?:kTile|ument(?:Controller)?)|ragging(?:I(?:mageComponent|tem)|Session))|E(?:PSImageRep|numerator|rror|vent|x(?:ception(?:Handler)?|istsCommand|pression))|F(?:ile(?:Coordinator|Handle|Manager|Security|Version|Wrapper)|o(?:nt(?:Collection|Descriptor|Manager|Panel)?|rm(?:Cell|atter)))|G(?:etCommand|lyph(?:Generator|Info)|ra(?:dient|phicsContext))|H(?:TTP(?:Cookie(?:Storage)?|URLResponse)|ashTable|elpManager|ost)|I(?:mage(?:Cell|Rep|View)?|n(?:dex(?:Path|S(?:et|pecifier))|putStream|vocation(?:Operation)?))|JSONSerialization|Keyed(?:Archiver|Unarchiver)|L(?:ayout(?:Constraint|Manager)|evelIndicator(?:Cell)?|inguisticTagger|o(?:c(?:ale|k)|gicalTest))|M(?:a(?:chPort|pTable|trix)|e(?:nu(?:Item(?:Cell)?)?|ssagePort|t(?:adata(?:Item|Query(?:AttributeValueTuple|ResultGroup)?)|hodSignature))|iddleSpecifier|oveCommand|utable(?:A(?:rray|ttributedString)|CharacterSet|D(?:ata|ictionary)|FontCollection|IndexSet|OrderedSet|ParagraphStyle|S(?:et|tring)|URLRequest))|N(?:ameSpecifier|etService(?:Browser)?|ib(?:Con(?:nector|trolConnector)|OutletConnector)?|otification(?:Center|Queue)?|u(?:ll|mber(?:Formatter)?))|O(?:bjectController|pe(?:nPanel|ration(?:Queue)?)|r(?:deredSet|thography)|ut(?:lineView|putStream))|P(?:DFImageRep|ICTImageRep|a(?:geLayout|nel|ragraphStyle|steboard(?:Item)?|thC(?:ell|o(?:mponentCell|ntrol)))|ersistentDocument|ipe|o(?:inter(?:Array|Functions)|p(?:UpButton(?:Cell)?|over)|rt(?:Message)?|sitionalSpecifier)|r(?:edicate(?:Editor(?:RowTemplate)?)?|int(?:Info|Operation|Panel|er)|o(?:cessInfo|gressIndicator|perty(?:ListSerialization|Specifier)|tocolChecker|xy))|urgeableData)|QuitCommand|R(?:an(?:domSpecifier|geSpecifier)|e(?:cursiveLock|gularExpression|lativeSpecifier|sponder)|u(?:le(?:Editor|r(?:Marker|View))|n(?:Loop|ningApplication)))|S(?:avePanel|c(?:anner|r(?:een|ipt(?:C(?:lassDescription|o(?:ercionHandler|mmand(?:Description)?))|ExecutionContext|ObjectSpecifier|SuiteRegistry|WhoseTest)|oll(?:View|er)))|e(?:archField(?:Cell)?|cureTextField(?:Cell)?|gmentedC(?:ell|ontrol)|t(?:Command)?)|hadow|impleCString|lider(?:Cell)?|o(?:cketPort|rtDescriptor|und)|p(?:e(?:cifierTest|ech(?:Recognizer|Synthesizer)|ll(?:Checker|Server))|litView)|t(?:atus(?:Bar|Item)|epper(?:Cell)?|r(?:eam|ing)))|T(?:a(?:b(?:View(?:Item)?|le(?:C(?:ellView|olumn)|Header(?:Cell|View)|RowView|View))|sk)|ext(?:Attachment(?:Cell)?|Block|C(?:heckingResult|ontainer)|Fi(?:eld(?:Cell)?|nder)|InputContext|List|Storage|Tab(?:le(?:Block)?)?|View)?|hread|ime(?:Zone|r)|o(?:kenField(?:Cell)?|olbar(?:Item(?:Group)?)?|uch)|r(?:ackingArea|ee(?:Controller|Node))|ypesetter)|U(?:RL(?:AuthenticationChallenge|C(?:ache|onnection|redential(?:Storage)?)|Download|Handle|Prot(?:ectionSpace|ocol)|Re(?:quest|sponse)|Session(?:D(?:ataTask|ownloadTask)|UploadTask))?|biquitousKeyValueStore|n(?:doManager|iqueIDSpecifier)|serDefaults(?:Controller)?)|V(?:alue(?:Transformer)?|iew(?:Animation|Controller)?)|W(?:hoseSpecifier|indow(?:Controller)?|orkspace)|XML(?:D(?:TD(?:Node)?|ocument)|Element|Node|Parser))|UNLocationNotificationTrigger|WebResource)\\b',
name: 'support.class.cocoa.objc'
},
{
match:
'\\b(?:AM(?:A(?:ction|ppleScriptAction)|BundleAction|ShellScriptAction|Work(?:flow(?:Controller|View)?|space))|C(?:A(?:Animation(?:Group)?|BasicAnimation|Constraint(?:LayoutManager)?|DisplayLink|Emitter(?:Cell|Layer)|GradientLayer|KeyframeAnimation|Layer|MediaTimingFunction|PropertyAnimation|Re(?:moteLayer(?:Client|Server)|nderer|plicatorLayer)|S(?:crollLayer|hapeLayer)|T(?:extLayer|iledLayer|rans(?:action|formLayer|ition))|ValueFunction)|B(?:GroupIdentity|Identity(?:Authority|Picker)?|UserIdentity)|I(?:Co(?:lor|ntext)|Detector|F(?:aceFeature|eature|ilter(?:Generator|Shape)?)|Image(?:Accumulator)?|Kernel|PlugIn|Sampler|Vector)|X(?:A(?:ction|nswerCallAction)|Call(?:Action|Controller|Directory(?:ExtensionContext|Manager|Provider)|Observer|Update)?|EndCallAction|Handle|P(?:layDTMFCallAction|rovider(?:Configuration)?)|S(?:et(?:GroupCallAction|HeldCallAction|MutedCallAction)|tartCallAction)|Transaction)|al(?:A(?:larm|ttendee)|Calendar(?:Item|Store)?|Event|NthWeekDay|Recurrence(?:End|Rule)|Task))|DR(?:Burn|CDTextBlock|Device|Erase|F(?:SObject|ile|older)|MSF(?:Formatter)?|NotificationCenter|Track)|I(?:C(?:Camera(?:Device|F(?:ile|older)|Item)|Device(?:Browser)?|Scanner(?:BandData|Device|F(?:eature(?:Boolean|Enumeration|Range|Template)?|unctionalUnit(?:DocumentFeeder|Flatbed|NegativeTransparency|PositiveTransparency)?)))|K(?:CameraDeviceView|DeviceBrowserView|Filter(?:Browser(?:Panel|View)|UIView)|Image(?:BrowserCell|EditPanel|View)|PictureTaker|S(?:aveOptions|cannerDeviceView|lideshow))|OBluetooth(?:AccessibilityIgnored(?:ImageCell|TextFieldCell)|Device(?:Inquiry|Pair|SelectorController)?|H(?:andsFree(?:AudioGateway|Device)?|ostController)|L2CAPChannel|O(?:BEXSession|bject(?:PushUIController)?)|Pa(?:iringController|sskeyDisplay)|RFCOMMChannel|S(?:DP(?:DataElement|Service(?:Attribute|Record)|UUID)|erviceBrowserController)|UserNotification))|NS(?:At(?:omicStore(?:CacheNode)?|tributeDescription)|E(?:ntity(?:Description|M(?:apping|igrationPolicy))|xpressionDescription)|Fetch(?:Request(?:Expression)?|edPropertyDescription)|IncrementalStore(?:Node)?|M(?:a(?:nagedObject(?:Context|ID|Model)?|ppingModel)|erge(?:Conflict|Policy)|igrationManager)|Object|P(?:ersistentStore(?:Coordinator|Request)?|r(?:eferencePane|operty(?:Description|Mapping)))|RelationshipDescription|SaveChangesRequest)|O(?:BEX(?:FileTransferServices|Session)|SA(?:Language(?:Instance)?|Script(?:Controller|View)?))|PDF(?:A(?:ction(?:GoTo|Named|Re(?:moteGoTo|setForm)|URL)?|nnotation)|Border|D(?:estination|ocument)|Outline|Page|Selection|ThumbnailView|View)|Q(?:LPreview(?:Panel|View)|uartzFilter(?:Manager|View)?)|S(?:F(?:Authorization(?:PluginView|View)?|C(?:ertificate(?:Panel|TrustPanel|View)|hooseIdentity(?:Panel|TableCellView))|KeychainS(?:avePanel|ettingsPanel))|creenSaver(?:Defaults|View)))\\b',
name: 'support.class.objc'
},
{
match:
'\\bNS(?:BatchUpdateRequestType|StatusOnlyResultType|UpdatedObject(?:IDsResultType|sCountResultType))\\b',
name: 'support.constant.10.10.objc'
},
{
match:
'\\b(?:MTL(?:Argument(?:Access(?:Read(?:Only|Write)|WriteOnly)|Type(?:Buffer|Sampler|T(?:exture|hreadgroupMemory)))|Bl(?:end(?:Factor(?:Blend(?:Alpha|Color)|Destination(?:Alpha|Color)|One(?:Minus(?:Blend(?:Alpha|Color)|Destination(?:Alpha|Color)|Source(?:Alpha|Color)))?|Source(?:Alpha(?:Saturated)?|Color)|Zero)|Operation(?:Add|M(?:ax|in)|ReverseSubtract|Subtract))|itOption(?:DepthFromDepthStencil|None|StencilFromDepthStencil))|C(?:PUCacheMode(?:DefaultCache|WriteCombined)|o(?:lorWriteMask(?:Al(?:l|pha)|Blue|Green|None|Red)|m(?:mandBuffer(?:Error(?:Blacklisted|In(?:ternal|validResource)|No(?:ne|tPermitted)|OutOfMemory|PageFault|Timeout)|Status(?:Com(?:mitted|pleted)|E(?:nqueued|rror)|NotEnqueued|Scheduled))|pareFunction(?:Always|Equal|Greater(?:Equal)?|Less(?:Equal)?|N(?:ever|otEqual))))|ullMode(?:Back|Front|None))|D(?:ataType(?:Array|Bool(?:2|3|4)?|Char(?:2|3|4)?|Float(?:2(?:x(?:2|3|4))?|3(?:x(?:2|3|4))?|4(?:x(?:2|3|4))?)?|Half(?:2(?:x(?:2|3|4))?|3(?:x(?:2|3|4))?|4(?:x(?:2|3|4))?)?|Int(?:2|3|4)?|None|S(?:hort(?:2|3|4)?|truct)|U(?:Char(?:2|3|4)?|Int(?:2|3|4)?|Short(?:2|3|4)?))|epthClipModeCl(?:amp|ip))|F(?:eatureSet_(?:OSX_GPUFamily1_v1|macOS_GPUFamily1_v1)|unctionType(?:Fragment|Kernel|Vertex))|IndexTypeUInt(?:16|32)|L(?:anguageVersion1_1|ibraryError(?:Compile(?:Failure|Warning)|Internal|Unsupported)|oadAction(?:Clear|DontCare|Load))|P(?:i(?:pelineOption(?:ArgumentInfo|BufferTypeInfo|None)|xelFormat(?:A8Unorm|B(?:C(?:1_RGBA(?:_sRGB)?|2_RGBA(?:_sRGB)?|3_RGBA(?:_sRGB)?|4_R(?:Snorm|Unorm)|5_RG(?:Snorm|Unorm)|6H_RGB(?:Float|Ufloat)|7_RGBAUnorm(?:_sRGB)?)|GR(?:A8Unorm(?:_sRGB)?|G422))|Depth(?:24Unorm_Stencil8|32Float(?:_Stencil8)?)|GBGR422|Invalid|R(?:16(?:Float|S(?:int|norm)|U(?:int|norm))|32(?:Float|Sint|Uint)|8(?:S(?:int|norm)|U(?:int|norm))|G(?:1(?:1B10Float|6(?:Float|S(?:int|norm)|U(?:int|norm)))|32(?:Float|Sint|Uint)|8(?:S(?:int|norm)|U(?:int|norm))|B(?:10A2U(?:int|norm)|9E5Float|A(?:16(?:Float|S(?:int|norm)|U(?:int|norm))|32(?:Float|Sint|Uint)|8(?:S(?:int|norm)|U(?:int|norm(?:_sRGB)?))))))|Stencil8))|rimitiveT(?:opologyClass(?:Line|Point|Triangle|Unspecified)|ype(?:Line(?:Strip)?|Point|Triangle(?:Strip)?))|urgeableState(?:Empty|KeepCurrent|NonVolatile|Volatile))|Resource(?:CPUCacheMode(?:DefaultCache|WriteCombined)|OptionCPUCacheMode(?:Default|WriteCombined)|StorageMode(?:Managed|Private|Shared))|S(?:ampler(?:AddressMode(?:ClampTo(?:Edge|Zero)|Mirror(?:ClampToEdge|Repeat)|Repeat)|Mi(?:nMagFilter(?:Linear|Nearest)|pFilter(?:Linear|N(?:earest|otMipmapped))))|t(?:encilOperation(?:Decrement(?:Clamp|Wrap)|In(?:crement(?:Clamp|Wrap)|vert)|Keep|Replace|Zero)|or(?:ageMode(?:Managed|Private|Shared)|eAction(?:DontCare|MultisampleResolve|Store))))|T(?:exture(?:Type(?:1D(?:Array)?|2D(?:Array|Multisample)?|3D|Cube(?:Array)?)|Usage(?:PixelFormatView|RenderTarget|Shader(?:Read|Write)|Unknown))|riangleFillMode(?:Fill|Lines))|V(?:ertex(?:Format(?:Char(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|Float(?:2|3|4)?|Half(?:2|3|4)|In(?:t(?:1010102Normalized|2|3|4)?|valid)|Short(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|U(?:Char(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|Int(?:1010102Normalized|2|3|4)?|Short(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)))|StepFunction(?:Constant|Per(?:Instance|Vertex)))|isibilityResultMode(?:Boolean|Counting|Disabled))|WindingC(?:lockwise|ounterClockwise))|NSBatchDeleteRe(?:questType|sultType(?:Count|ObjectIDs|StatusOnly)))\\b',
name: 'support.constant.10.11.objc'
},
{
match:
'\\b(?:MTL(?:AttributeFormat(?:Char(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|Float(?:2|3|4)?|Half(?:2|3|4)|In(?:t(?:1010102Normalized|2|3|4)?|valid)|Short(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|U(?:Char(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)|Int(?:1010102Normalized|2|3|4)?|Short(?:2(?:Normalized)?|3(?:Normalized)?|4(?:Normalized)?)))|BlendFactor(?:OneMinusSource1(?:Alpha|Color)|Source1(?:Alpha|Color))|FeatureSet_(?:OSX_(?:GPUFamily1_v2|ReadWriteTextureTier2)|macOS_(?:GPUFamily1_v2|ReadWriteTextureTier2))|L(?:anguageVersion1_2|ibraryErrorF(?:ileNotFound|unctionNotFound))|P(?:atchType(?:None|Quad|Triangle)|ixelFormat(?:Depth16Unorm|X(?:24_Stencil8|32_Stencil8)))|S(?:ampler(?:AddressModeClampToBorderColor|BorderColor(?:Opaque(?:Black|White)|TransparentBlack))|t(?:epFunction(?:Constant|Per(?:Instance|Patch(?:ControlPoint)?|Vertex)|ThreadPositionInGrid(?:X(?:Indexed)?|Y(?:Indexed)?))|oreAction(?:StoreAndMultisampleResolve|Unknown)))|Tessellation(?:ControlPointIndexType(?:None|UInt(?:16|32))|Factor(?:FormatHalf|StepFunction(?:Constant|Per(?:Instance|Patch(?:AndPerInstance)?)))|PartitionMode(?:Fractional(?:Even|Odd)|Integer|Pow2))|VertexStepFunctionPerPatch(?:ControlPoint)?)|NSFetchedResultsChange(?:Delete|Insert|Move|Update))\\b',
name: 'support.constant.10.12.objc'
},
{
match:
'\\b(?:M(?:DLDataPrecision(?:Double|Float|Undefined)|TL(?:A(?:rgumentBuffersTier(?:1|2)|ttributeFormat(?:Char(?:Normalized)?|Half|Short(?:Normalized)?|U(?:Char(?:4Normalized_BGRA|Normalized)?|Short(?:Normalized)?)))|CommandBufferErrorDeviceRemoved|DataType(?:Pointer|Sampler|Texture)|FeatureSet_macOS_GPUFamily1_v3|LanguageVersion2_0|Mutability(?:Default|Immutable|Mutable)|PixelFormatBGR10A2Unorm|Re(?:adWriteTextureTier(?:1|2|None)|nderStage(?:Fragment|Vertex)|source(?:HazardTrackingMode(?:Default|Untracked)|Usage(?:Read|Sample|Write)))|StoreAction(?:CustomSampleDepthStore|Option(?:CustomSamplePositions|None))|VertexFormat(?:Char(?:Normalized)?|Half|Short(?:Normalized)?|U(?:Char(?:4Normalized_BGRA|Normalized)?|Short(?:Normalized)?))))|NS(?:FetchIndexElementType(?:Binary|RTree)|PersistentHistory(?:ChangeType(?:Delete|Insert|Update)|ResultType(?:C(?:hangesOnly|ount)|ObjectIDs|StatusOnly|Transactions(?:AndChanges|Only)))|U(?:RIAttributeType|UIDAttributeType)))\\b',
name: 'support.constant.10.13.objc'
},
{
match:
'\\bMTL(?:BarrierScope(?:Buffers|RenderTargets|Textures)|D(?:ataType(?:IndirectCommandBuffer|RenderPipeline)|ispatchType(?:Concurrent|Serial))|FeatureSet_macOS_GPUFamily(?:1_v4|2_v1)|IndirectCommandTypeDraw(?:Indexed)?|LanguageVersion2_1|Multisample(?:DepthResolveFilter(?:M(?:ax|in)|Sample0)|StencilResolveFilter(?:DepthResolvedSample|Sample0))|TextureType(?:2DMultisampleArray|TextureBuffer))\\b',
name: 'support.constant.10.14.objc'
},
{
match:
'\\b(?:MTL(?:C(?:apture(?:Destination(?:DeveloperTools|GPUTraceDocument)|Error(?:AlreadyCapturing|InvalidDescriptor|NotSupported))|ounterSampleBufferError(?:Internal|OutOfMemory))|DeviceLocation(?:BuiltIn|External|Slot|Unspecified)|GPUFamily(?:Apple(?:1|2|3|4|5)|Common(?:1|2|3)|Mac(?:1|2|Catalyst(?:1|2)))|H(?:azardTrackingMode(?:Default|Tracked|Untracked)|eapType(?:Automatic|Placement))|LanguageVersion2_2|ResourceHazardTrackingModeTracked|TextureSwizzle(?:Alpha|Blue|Green|One|Red|Zero))|NSBatchInsertRequest(?:ResultType(?:Count|ObjectIDs|StatusOnly)|Type))\\b',
name: 'support.constant.10.15.objc'
},
{
match:
'\\b(?:NS(?:B(?:ackgroundActivityResult(?:Deferred|Finished)|itmapFormat(?:SixteenBit(?:BigEndian|LittleEndian)|ThirtyTwoBit(?:BigEndian|LittleEndian))|uttonType(?:Accelerator|MultiLevelAccelerator))|CompositingOperation(?:Color(?:Burn|Dodge)?|D(?:arken|ifference)|Exclusion|H(?:ardLight|ue)|L(?:ighten|uminosity)|Multiply|Overlay|S(?:aturation|creen|oftLight))|DateIntervalFormatter(?:FullStyle|LongStyle|MediumStyle|NoStyle|ShortStyle)|E(?:nergyFormatterUnit(?:Calorie|Joule|Kilo(?:calorie|joule))|vent(?:MaskPressure|Type(?:DirectTouch|Pressure)))|F(?:ileCoordinator(?:Reading(?:ForUploading|ImmediatelyAvailableMetadataOnly)|WritingContentIndependentMetadataOnly)|ormatting(?:Context(?:BeginningOfSentence|Dynamic|ListItem|MiddleOfSentence|Standalone|Unknown)|UnitStyle(?:Long|Medium|Short)))|ItemProvider(?:ItemUnavailableError|Un(?:expectedValueClassError|knownError))|LengthFormatterUnit(?:Centimeter|Foot|Inch|Kilometer|M(?:eter|il(?:e|limeter))|Yard)|MassFormatterUnit(?:Gram|Kilogram|Ounce|Pound|Stone)|Pro(?:cessInfoThermalState(?:Critical|Fair|Nominal|Serious)|pertyListWriteInvalidError)|QualityOfService(?:Background|Default|U(?:serIn(?:itiated|teractive)|tility))|SegmentS(?:tyleSeparated|witchTrackingMomentaryAccelerator)|TokenStyle(?:PlainSquared|Squared)|U(?:RL(?:Error(?:BackgroundSession(?:InUseByAnotherProcess|RequiresSharedContainer|WasDisconnected)|CancelledReason(?:BackgroundUpdatesDisabled|InsufficientSystemResources|UserForceQuitApplication))|Relationship(?:Contains|Other|Same))|ser(?:Activity(?:ConnectionUnavailableError|ErrorM(?:aximum|inimum)|Handoff(?:FailedError|UserInfoTooLargeError)|RemoteApplicationTimedOutError)|NotificationActivationTypeAdditionalActionClicked))|WindowStyleMaskFullSizeContentView)|WK(?:Error(?:JavaScriptExceptionOccurred|Unknown|Web(?:ContentProcessTerminated|ViewInvalidated))|Navigation(?:ActionPolicy(?:Allow|Cancel)|ResponsePolicy(?:Allow|Cancel)|Type(?:Back