
    5h[                         S r SSKrSSKJrJrJrJrJrJrJ	r	J
r
  SSKJrJrJrJrJrJrJrJrJrJr  SSKJrJr  / SQrS r " S S	\" \5      5      r " S
 S\" \5      5      r " S S\5      r " S S\5      rg)z
pygments.lexers.objective
~~~~~~~~~~~~~~~~~~~~~~~~~

Lexers for Objective-C family languages.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
    N)
RegexLexerincludebygroupsusingthiswordsinheritdefault)
TextKeywordNameStringOperatorNumberPunctuationLiteralComment
Whitespace)CLexerCppLexer)ObjectiveCLexerObjectiveCppLexer
LogosLexer
SwiftLexerc                    ^ ^^ [         R                  " S5      m[         R                  " S5      m " UUU 4S jST 5      nU$ )zR
Generate a subclass of baselexer that accepts the Objective-C syntax
extensions.
z @(?:end|implementation|protocol)z<\[\s*[a-zA-Z_]\w*\s+(?:[a-zA-Z_]\w*\s*\]|(?:[a-zA-Z_]\w*)?:)c                     > \ rS rSrSrS\S4S\4S\R                  4S\R                  4S\R                  4S	\R                  4S
\R                  4S\R                  4S\S4S\S4S\S4\" SSS9\4\" SSS9\R                  4S\R"                  4S\R"                  4S\R                  4S\R"                  4S\" \\5      S4S\" \\5      S4S\4\/S\" \R,                  \\R,                  \\5      S 4S!\" \R,                  \\R,                  5      S"4S#\" \R,                  \\R.                  \\5      S 4S$\" \R,                  \\R.                  5      S"4S%\" \R,                  \\5      S 4S&\R,                  S"4/S'\" \R,                  \5      S(4S)\" \R,                  \5      S"4/\" S*5      \" S+5      S,\4S-\S.4S/\S"4/S0\" \\\" \5      \\R6                  5      S14\/\" S*5      S2\4S3\4S4\" \" \5      \\R8                  5      4S5\R6                  4S,\S"4S-\S64\" S"5      /S7\S84S9\S"4\" S:5      /S7\S.4S9\S"4\" S:5      /S;\S<4S=\S"4\" S:5      /S;\S.4S=\S"4\" S:5      /S/\S"4\" S:5      /S>.rU U4S? jrSCU4S@ jjr SAr!gB)D-objective.<locals>.GeneratedObjectiveCVariant*   zE
Implements Objective-C syntax on top of an existing C family lexer.
@"stringz	@(YES|NO)z3@'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'z&@(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?z@(\d+\.\d*|\.\d+|\d+[fF])[fF]?z@0x[0-9a-fA-F]+[Ll]?z@0[0-7]+[Ll]?z	@\d+[Ll]?z@\(literal_numberz@\[literal_arrayz@\{literal_dictionary)*z	@selectorz@privatez
@protectedz@publicz@encodez@synchronizedz@tryz@throwz@catchz@finallyz@endz	@propertyz@synthesize__bridge__bridge_transfer__autoreleasing__block__weak__strongweakstrongcopyretainassignunsafe_unretainedatomic	nonatomicreadonly	readwritesettergettertypeofinoutinoutreleaseclassz@dynamicz	@optionalz	@requiredz@autoreleasepoolz@import\bsuffix)	idinstancetypeClassIMPSELBOOLIBOutletIBActionunicharz@(true|false|YES|NO)\nz(YES|NO|nil|self|super)\bz3(Boolean|UInt8|SInt8|UInt16|SInt16|UInt32|SInt32)\bz(TRUE|FALSE)\bz!(@interface|@implementation)(\s+))#popoc_classnamez(@class|@protocol)(\s+))rH   oc_forward_classname@z7([a-zA-Z$_][\w$]*)(\s*:\s*)([a-zA-Z$_][\w$]*)?(\s*)(\{))rH   oc_ivars.([a-zA-Z$_][\w$]*)(\s*:\s*)([a-zA-Z$_][\w$]*)?rH   z6([a-zA-Z$_][\w$]*)(\s*)(\([a-zA-Z$_][\w$]*\))(\s*)(\{)z-([a-zA-Z$_][\w$]*)(\s*)(\([a-zA-Z$_][\w$]*\))z([a-zA-Z$_][\w$]*)(\s*)(\{)([a-zA-Z$_][\w$]*)z([a-zA-Z$_][\w$]*)(\s*,\s*)rJ   z([a-zA-Z$_][\w$]*)(\s*;?)
whitespace
statements;z\{#pushz\}z/^([-+])(\s*)(\(.*?\))?(\s*)([a-zA-Z$_][\w$]*:?)method,z\.\.\.z (\(.*?\))(\s*)([a-zA-Z$_][\w$]*)z[a-zA-Z$_][\w$]*:function\(literal_number_inner\)	statementz\[literal_array_innerz\])rP   rI   rJ   rL   rootrS   r!   rW   r"   rZ   r#   c                    > TR                  U 5      (       a  gSU ;   a  g[        R                   " SU 5      (       a  gTR                  U 5      (       a  gg)N      ?r   g?z@[0-9]+gffffff?r   )searchre)text_oc_keywords_oc_messages    d/var/www/html/cementerio_25MayoBackend/env/lib/python3.13/site-packages/pygments/lexers/objective.pyanalyse_text:objective.<locals>.GeneratedObjectiveCVariant.analyse_text   sL    ""4((9d++##D))    c              3      >#    SSK JnJnJn  T	R	                  XU5       HQ  u  pgnU[
        L d  U[
        R                  L a)  X;   d
  X;   d  X;   a  [
        R                  R                  nXgU4v   MS     g 7fNr   )COCOA_INTERFACESCOCOA_PROTOCOLSCOCOA_PRIMITIVES)	pygments.lexers._cocoa_builtinsri   rj   rk   get_tokens_unprocessedr   rA   BuiltinPseudo)
selfr`   stackri   rj   rk   indextokenvalue	baselexers
            rc   rm   Dobjective.<locals>.GeneratedObjectiveCVariant.get_tokens_unprocessed   sn     2 2 44TG $eD=ETZZ$70E4L3 $ 3 3E)) Hs   A3A6 N))r[   )"__name__
__module____qualname____firstlineno____doc__r   r   CharFloatHexOctIntegerr   r   r   Typer   rn   r   r   r   r	   rA   Labelr   r   r   FunctionVariabler
   tokensrd   rm   __static_attributes__)ra   rb   ru   s   rc   GeneratedObjectiveCVariantr   *   s   	 )v&GU:FLLI2FLLA(&**5!6::.v~~."23/2"67 @ INO 	  ;CHJ +DLL9-t||<GV"DLL15x7N)++Xgt-D13 {#K&R L$**dDJJkJ%' C$**dDJJ7A K$**dDJJkJ%' B$**dDJJ7A 0$**dK8:NP&

F;!& 0$**d+-CE-$**d+V5% %%k"W-V,) +tU4[/ 	 % {#K(4%+tT]];=%t}}5k6*Z0 %;<($ W-V,$% %:;($ W-V,$$ ($#ev
p			* 	*rf   r   )r_   compile)ru   r   ra   rb   s   ` @@rc   	objectiver      sF     ::ABL ** 4 5KS* S*Y S*j &%rf   c                   >    \ rS rSrSrSrSr/ SQrSS/rS/r	S	r
S
rSrg)r      z;
For Objective-C source code with preprocessor directives.
zObjective-Czhttps://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html)zobjective-c
objectiveczobj-cobjcz*.mz*.hztext/x-objective-c 皙?rw   N)rx   ry   rz   r{   r|   nameurlaliases	filenames	mimetypesversion_addedpriorityr   rw   rf   rc   r   r      s6     D PC<GI%&IMHrf   r   c                   :    \ rS rSrSrSr/ SQrSS/rS/rSr	S	r
S
rg)r      z=
For Objective-C++ source code with preprocessor directives.
zObjective-C++)zobjective-c++zobjectivec++zobj-c++zobjc++z*.mmz*.hhztext/x-objective-c++r   r   rw   N)rx   ry   rz   r{   r|   r   r   r   r   r   r   r   rw   rf   rc   r   r      s/     DDG I'(IMHrf   r   c                      \ rS rSrSrSrS/r/ SQrS/rSr	Sr
S	\4S
\" \\\\R                   \\5      4S\" \\5      S4S\" \5      4S\" \\\R                   5      S4S\" \\5      S4\/S\4S\S4S\" \R                   \\\\5      4S\R                   4S\S4/S\" \R                   \\R                   5      S4S\R                   S4/S\" \\5      S4S\" \\\R                   5      4S\" \\\R$                  \\\5      4S\" \\\5      S4S\" \\\\\5      4S\" \\\5      4\/S.r\R,                  " S 5      rS! rS"rg#)$r      zC
For Logos + Objective-C source code with preprocessor directives.
Logoslogos)z*.xz*.xiz*.xmz*.xmiztext/x-logosz1.6g      ?z(%orig|%log)\bz*(%c)\b(\()(\s*)([a-zA-Z$_][\w$]*)(\s*)(\))z(%init)\b(\()logos_init_directivez(%init)(?=\s*;)z%(%hook|%group)(\s+)([a-zA-Z$_][\w$]+)rH   z(%subclass)(\s+))rH   logos_classname\s+rT   )r   rH   z'([a-zA-Z$_][\w$]*)(\s*)(=)(\s*)([^);]*)rN   rX   rM   r   z*(%config)(\s*\(\s*)(\w+)(\s*=)(.*?)(\)\s*)z(%ctor)(\s*)(\{)rU   z(%new)(\s*)(\()(.*?)(\))z(\s*)(%end)(\s*))rP   r   r   r[   z%(?:hook|ctor|init|c\()c                 N    [         R                  R                  U 5      (       a  gg)Nr]   r   )r   _logos_keywordsr^   )r`   s    rc   rd   LogosLexer.analyse_text  s    %%,,T22rf   rw   N)rx   ry   rz   r{   r|   r   r   r   r   r   r   r   r   r   r   r   rA   r	   r   r   r   r_   r   r   rd   r   rw   rf   rc   r   r      s    DiG0I IMH (:g{D$**dKPRg{+-CE'!235gtTZZ0&: (7D"9(*
 TN+?@7djj$T4@B"DJJ/K(!
 ?djj$

3V="DJJ7
 !(7D"9 5gtTZZ02:gtT]]D&$GI (7D+"F(gtWfg>@ (4$"?@
7)FV jj!;<Orf   r   c                   (   \ rS rSrSrSrSrS/rS/rS/r	Sr
S	\4S
\4S\R                  S4S\R                  S4S\R                   S4\" S5      \" SSS9\R(                  4\" SSS9\R(                  R*                  4S\R,                  4S\R0                  4S\R2                  4S\R4                  4S\R6                  4S\R8                  4S\S4S\S4S \4S!\4S"\4/\" S#SS9\ 4S$\ RB                  4\" S%SS9\ RB                  4S&\ RD                  4S'\ RF                  S(4S)\$" \ RF                  \\RJ                  5      4S*\$" \ RF                  \\RL                  5      4S+\$" \ RF                  \\R,                  5      4\" S,SS9\ RF                  4/	S-\RN                  4/S	\S.4\" S/5      S0\R                  4/\" S/5      S1\R                  4S\R                  S24S3\R                  S.4S4\R                  4/S	\S.4S"\RJ                  4\" S55      /S	\S.4\" S5      S6\R                   4\" S55      /S\S.4\" S75      /S\S.4\" S75      /S8\RP                  S94S:\RR                  4S;\4S<\4/S=\RP                  S24S>\RP                  S.4\" S55      /S?.r*S@ r+SAr,gB)Cr   i  z
For Swift source.
Swiftzhttps://www.swift.org/z*.swiftswiftztext/x-swiftz2.0z\nr   z//comment-singlez/\*comment-multiz##(if|elseif|else|endif|available)\bpreprockeywords)Array!AutoreleasingUnsafeMutablePointerBidirectionalReverseViewBitBoolCFunctionPointerCOpaquePointerCVaListPointer	CharacterClosedIntervalCollectionOfOneContiguousArray
DictionaryDictionaryGeneratorDictionaryIndexDoubleEmptyCollectionEmptyGeneratorEnumerateGeneratorEnumerateSequenceFilterCollectionViewFilterCollectionViewIndexFilterGeneratorFilterSequenceViewr~   Float80FloatingPointClassificationGeneratorOfGeneratorOfOneGeneratorSequenceHalfOpenInterval
HeapBufferHeapBufferStorageImplicitlyUnwrappedOptionalIndexingGeneratorIntInt16Int32Int64Int8LazyBidirectionalCollectionLazyForwardCollectionLazyRandomAccessCollectionLazySequenceMapCollectionViewMapSequenceGeneratorMapSequenceViewMirrorDispositionObjectIdentifierOnHeapOptionalPermutationGeneratorQuickLookObjectRandomAccessReverseViewRangeRangeGeneratorRawByteRepeatReverseBidirectionalIndexReverseRandomAccessIndex
SequenceOfSinkOfSliceStaticStringStrideThroughStrideThroughGeneratorStrideToStrideToGeneratorr   UIntUInt16UInt32UInt64UInt8UTF16UTF32UTF8UnicodeDecodingResultUnicodeScalar	UnmanagedUnsafeBufferPointerUnsafeBufferPointerGeneratorUnsafeMutableBufferPointerUnsafeMutablePointerUnsafePointerZip2ZipGenerator2AbsoluteValuable	AnyObjectArrayLiteralConvertibleBidirectionalIndexTypeBitwiseOperationsTypeBooleanLiteralConvertibleBooleanTypeCVarArgTypeCollectionType
ComparableDebugPrintableDictionaryLiteralConvertible	Equatable)ExtendedGraphemeClusterLiteralConvertibleExtensibleCollectionTypeFloatLiteralConvertibleFloatingPointTypeForwardIndexTypeGeneratorTypeHashableIntegerArithmeticTypeIntegerLiteralConvertibleIntegerTypeIntervalType
MirrorTypeMutableCollectionTypeMutableSliceableNilLiteralConvertibleOutputStreamType	PrintableRandomAccessIndexTypeRangeReplaceableCollectionTypeRawOptionSetTypeRawRepresentableReflectableSequenceTypeSignedIntegerTypeSignedNumberTypeSinkType	Sliceable
Streamable
StrideableStringInterpolationConvertibleStringLiteralConvertibleUnicodeCodecTypeUnicodeScalarLiteralConvertibleUnsignedIntegerType_ArrayBufferType_BidirectionalIndexType_CocoaStringType_CollectionType_Comparable_ExtensibleCollectionType_ForwardIndexType_Incrementable_IntegerArithmeticType_IntegerType_ObjectiveCBridgeable_RandomAccessIndexType_RawOptionSetType_SequenceType_Sequence_Type_SignedIntegerType_SignedNumberType
_Sliceable_Strideable"_SwiftNSArrayRequiredOverridesType_SwiftNSArrayType_SwiftNSCopyingType'_SwiftNSDictionaryRequiredOverridesType_SwiftNSDictionaryType_SwiftNSEnumeratorType_SwiftNSFastEnumerationType#_SwiftNSStringRequiredOverridesType_SwiftNSStringType_UnsignedIntegerTypeC_ARGCC_ARGVProcessAnyAnyClassBooleanLiteralTypeCBoolCCharCChar16CChar32CDoubleCFloatCIntCLong	CLongLongCShortCSignedCharCUnsignedIntCUnsignedLongCUnsignedShort	CWideCharExtendedGraphemeClusterTypeFloat32Float64FloatLiteralTypeIntMaxIntegerLiteralTypeStringLiteralTypeUIntMaxUWordUnicodeScalarTypeVoidWordNSErrorPointerNSObjectProtocolSelectorr<   r=   )KabsadvancealignofalignofValueassertassertionFailurecontainscountcountElements
debugPrintdebugPrintlndistance	dropFirstdropLastdump	enumerateequalextend
fatalErrorfilterfindfirst	getVaListindicesinsertisEmptyjoinlastlazylexicographicalComparemapmax
maxElementmin
minElementnumericCastoverlaps	partitionpreconditionpreconditionFailureprefixprintprintlnreducereflect	removeAllremoveAtIndex
removeLastremoveRangereversesizeofsizeofValuesortsortedsplicesplit
startsWithstridestrideofstrideofValuer>   swaptoDebugStringtoString	transcodeunderestimateCountunsafeAddressOfunsafeBitCastunsafeDowncastwithExtendedLifetimewithUnsafeMutablePointerwithUnsafeMutablePointerswithUnsafePointerwithUnsafePointers
withVaListz\$\d+z0b[01_]+z	0o[0-7_]+z0x[0-9a-fA-F_]+zD[0-9][0-9_]*(\.[0-9_]+[eE][+\-]?[0-9_]+|\.[0-9_]*|[eE][+\-]?[0-9_]+)z[0-9][0-9_]*z"""string-multi"r    z/[(){}\[\].,:;=@#`?]|->|[<&?](?=\w)|(?<=\w)[>!?]z[/=\-+!*%<>&|^?~]+z[a-zA-Z_]\w*)asasyncawaitbreakcasecatchcontinuer
   deferdoelsefallthroughforguardifr7   isrepeatreturnz	#selectorswitchthrowtrywherewhilez@availability\([^)]+\)))associativityconveniencedynamicdidSetfinalgetindirectinfixr9   r  leftmutatingnonenonmutatingoptionaloverridepostfix
precedencer  Protocolrequiredrethrowsrightsetthrowsr   unownedr*   willSetz@availabilityz@autoclosurez	@noreturnz@NSApplicationMainz
@NSCopyingz
@NSManagedz@objcz@UIApplicationMainz	@IBActionz@IBDesignablez@IBInspectablez	@IBOutletz(as|dynamicType|false|is|nil|self|Self|super|true|__COLUMN__|__FILE__|__FUNCTION__|__LINE__|_|#(?:file|line|column|function))\bzimport\bmodulez9(class|enum|extension|struct|protocol)(\s+)([a-zA-Z_]\w*)z(func)(\s+)([a-zA-Z_]\w*)z(var|let)(\s+)([a-zA-Z_]\w*))actorassociatedtyper;   deinitenum	extensionfuncimportinitinternalletoperatorprivateprotocolpublicstaticstruct	subscript	typealiasvarz2:param: [a-zA-Z_]\w*|:returns?:|(FIXME|MARK|TODO):rH   commentz[^\n]+z[^*/]+rR   z\*/z[*/]+r[   z[A-Za-z]\w*string-commonz\\\(string-intpzN\\['"\\nrt]|\\x[0-9a-fA-F]{2}|\\[0-7]{1,3}|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}z[^\\"]+z\\rV   rX   )r[   r   r  r   r   r  r   r    r  r  r   c              #      #    SSK JnJnJn  [        R
                  " X5       HQ  u  pVnU[        L d  U[        R                  L a)  Xr;   d
  Xs;   d  Xt;   a  [        R                  R                  nXVU4v   MS     g 7frh   )
rl   ri   rj   rk   r   rm   r   rA   rn   ro   )rp   r`   ri   rj   rk   rr   rs   rt   s           rc   rm   !SwiftLexer.get_tokens_unprocessed  sj     	. 	. 11$=  E%} 3,0H/ LL//E%% >s   A7A9rw   N)-rx   ry   rz   r{   r|   r   r   r   r   r   r   r   r   r   Single	MultilinePreprocr   r   r   rn   ro   r   r   Binr   r   r~   r   r   r   r   r   ReservedConstantDeclarationr   rA   r   SpecialInterpolEscaper   rm   r   rw   rf   rc   r   r     s    D
"CIiG IM
 DMZ GNN$45W&&83W__iP J  ?B~ KP?Q@ \\A@D   ',-  \\  !"& t}}% &**%6::&,-.4ll<fnn-V^,68$ @M"H- d#mw
r  " +0	1
  '(8(89 	/ 8=	> 
34;4D4DF '--x8Ig)):tzzBD)g)):t}}EG,hw7J7J/( ) E NST   	";"
H C__
 J'I'
 I))*W&&0W&&/w(()
 J'djj)FO
 J'JW__-FO	
 66"O$

 VV$O$

 foo}59:@--I FO
 FOOW-FOOV,FO
QMF^&rf   r   )r|   r_   pygments.lexerr   r   r   r   r   r   r	   r
   pygments.tokenr   r   r   r   r   r   r   r   r   r   pygments.lexers.c_cppr   r   __all__r   r   r   r   r   rw   rf   rc   <module>r     s|    
  6 6 6 3
Nh&Vi' 
	(+ 
<" <~e& e&rf   