+
    TBii                         R t ^ RIHtHtHtHtHt ^ RIHtH	t	H
t
HtHtHtHtHtHt . ROt ! R R]4      t ! R	 R]4      t ! R
 R]4      t ! R R]4      t ! R R]4      tR# )z
pygments.lexers.data
~~~~~~~~~~~~~~~~~~~~

Lexers for data file format.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)LexerExtendedRegexLexerLexerContextincludebygroups)	CommentErrorKeywordLiteralNameNumberPunctuationString
Whitespace	YamlLexer	JsonLexerJsonBareObjectLexerJsonLdLexerc                   6   a a ] tR t^t oRtV 3R ltRtVtV ;t# )YamlLexerContextz'Indentation context for the YAML lexer.c                `   < \         SV `  ! V/ VB  . V n        RV n        ^ V n        RV n        R#    N)super__init__indent_stackindentnext_indentblock_scalar_indent)selfargskwds	__class__s   &*,9/usr/lib/python3.14/site-packages/pygments/lexers/data.pyr   YamlLexerContext.__init__   s4    $'$'#'     )r   r   r   r   )	__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell____classcell__r#   __classdict__s   @@r$   r   r      s     1( (r&   r   c                     a a ] tR t^t oRtRtRtR.tRR.tR.t	Rt
R	 tR
 tRaR ltRaR ltR tR tR tR t/ RR]3R]3R]P*                  3R]! ]P.                  4      R3R]! ]P.                  4      R3R]! ]P0                  4      R3R]! ]RR7      Rb3.bRR]3R]P*                  3R ]R!3.bRR"]! ]]4      R3.bRR#]! ]]P8                  ]]P8                  4      R3.bRR$]! ]4      R!3R%]! ]4      3R&]! ]P<                  4      3R']! ]4      R(3.bRR)]! ]4      R(3R*]3R+]! ]P.                  ]! ]RR,7      4      3]! R-4      ]! R.4      ]! R/4      R0]! ]P@                  4      R13.bR-R2]P8                  3R3]P8                  3R4]PB                  3R5]P@                  3.bR.R6]! ]P<                  RR,7      3R7]P<                  Rc3.bR/R:]P<                  R;3R<]P<                  R=3R>]"R?3R@]"RA3.bRBR*]3R]3R]P*                  3RC]P<                  3]! R-4      ]! R/4      RD]! ]P@                  4      RE3.bR;]! RB4      RF]P<                  R(3.bR=RG]! ]P.                  ]4      3]! RB4      RH]P<                  R(3.bR8R ]3RI]! ]]PF                  4      3RJ]! ]4      3RK]PF                  3.bR9RL]! ]P<                  4      R3RM]! ]P<                  4      R3.bRNRO]3RP]3R]3R*]P@                  3.bR?]! RN4      RQ]"PH                  3RR]"3R>]"R(3.bRA]! RN4      RS]"3RT]"PH                  3RU]"3RV]"R(3.bRWRI]3R]3RX]! ]P0                  4      RY3RJ]! ]4      R(3.R1RZ]! ]4      R(3R[]R(3RP]3R]RW3R*]%PL                  PN                  3R\]%PL                  PN                  3.RER]]! ]4      R(3R[]R(3RO]3RP]3R]3R*]P@                  3R^]P@                  3./Ct(RdV 3R_ llt)R`t*Vt+V ;t,# )er   z?
Lexer for YAML, a human-friendly data serialization
language.
YAMLzhttp://yaml.org/yamlz*.yamlz*.ymlztext/x-yamlz0.11c                   a  V 3R lpV# )zDo not produce empty tokens.c              3      <"   VP                  4       pV'       g   R # VP                  4       SV3x  VP                  4       Vn        R # 5iN)groupstartendposlexermatchcontexttexttoken_classs   &&& r$   callback%YamlLexer.something.<locals>.callback-   s7     ;;=D++-d22))+GKs   AA
 r@   rA   s   f r$   	somethingYamlLexer.something+   s    	& r&   c                   a  V 3R lpV# )zReset the indentation levels.c              3      <"   VP                  4       p. Vn        RVn        ^ Vn        RVn        VP                  4       SV3x  VP                  4       Vn        R# 5ir   )r7   r   r   r   r   r8   r9   r:   r;   s   &&& r$   rA   (YamlLexer.reset_indent.<locals>.callback7   sP     ;;=D#%G GN"#G*.G'++-d22))+GKs   AArC   rD   s   f r$   reset_indentYamlLexer.reset_indent5   s    	& r&   c                   a a VV 3R lpV# )z"Save a possible indentation level.c              3     <"   VP                  4       pR pS'       d   \        V4      Vn        VP                  VP                  8  du   VP                  VP                  8  d"   VP                  P                  4       Vn        K<  VP                  VP                  8  d   W2P                  R pVRVP                   pM"V;P                  \        V4      ,          un        V'       d   VP                  4       SV3x  V'       d0   VP                  4       \        V4      ,           SP                  V3x  VP                  4       Vn	        R# 5i) N)
r7   lenr   r   r   popr8   r   r9   r:   )r<   r=   r>   r?   extrar8   r@   s   &&&  r$   rA   'YamlLexer.save_indent.<locals>.callbackC   s     ;;=DE&)$i#&&7!-->)0)=)=)A)A)C**W^^; $^^_ 5#OW^^4##s4y0#kkm[$66kkmCI-{/@/@%GG))+GKs   C$E(EAErC   )r@   r8   rA   s   ff r$   save_indentYamlLexer.save_indentA   s    	&$ r&   c                   a a VV 3R lpV# )z+Set the previously saved indentation level.c              3   z  <"   VP                  4       pVP                  VP                  8  d7   VP                  P	                  VP                  4       VP                  Vn        S'       g#   V;P                  \        V4      ,          un        VP                  4       SV3x  VP                  4       Vn        R # 5ir6   )	r7   r   r   r   appendrO   r8   r9   r:   )r<   r=   r>   r?   implicitr@   s   &&& r$   rA   &YamlLexer.set_indent.<locals>.callbackY   s     ;;=D~~ 3 33$$++GNN;!(!4!4##s4y0#++-d22))+GKs   A)B;-AB;rC   )r@   rX   rA   s   ff r$   
set_indentYamlLexer.set_indentW   s    	& r&   c                   a  V 3R lpV# )z5Set an explicit indentation level for a block scalar.c              3   H  <"   VP                  4       pR Vn        V'       g   R # VP                  ^4      pV'       d/   \        VP                  ^ 4      p\	        V4      pWT,           Vn        V'       d-   VP                  4       SV3x  VP                  4       Vn        R # R # 5ir6   )r7   r   maxr   intr8   r9   r:   )r<   r=   r>   r?   	incrementcurrent_indentr@   s   &&&   r$   rA   3YamlLexer.set_block_scalar_indent.<locals>.callbackf   s{     ;;=D*.G'AI!$W^^Q!7	N	.<.H+kkm[$66#iik s   :B"5B"4.B"rC   rD   s   f r$   set_block_scalar_indent!YamlLexer.set_block_scalar_indentd   s    	* r&   c                   a a VV 3R lpV# )z(Process an empty line in a block scalar.c              3     <"   VP                  4       pVP                  e   \        V4      VP                  8:  d   V'       d   VP                  4       SV3x  MXVR VP                   pW2P                  R  pVP                  4       SV3x  VP                  4       VP                  ,           SV3x  VP	                  4       Vn        R # 5ir6   )r7   r   rO   r8   r9   r:   )r<   r=   r>   r?   indentationcontentcontent_token_classindent_token_classs   &&&   r$   rA   9YamlLexer.parse_block_scalar_empty_line.<locals>.callbackw   s     ;;=D++3I!<!<<++-);TAA"#?G$?$?@::;<kkm%7DD{{}W%@%@@*G5 5))+GKs   A C	BC	rC   )rj   ri   rA   s   ff r$   parse_block_scalar_empty_line'YamlLexer.parse_block_scalar_empty_lineu   s    	& r&   c                   a  V 3R lpV# )z-Process indentation spaces in a block scalar.c              3   *  <"   VP                  4       pVP                  fl   \        V4      \        VP                  ^ 4      8:  d7   VP
                  P                  4        VP
                  P                  4        R # \        V4      Vn        MP\        V4      VP                  8  d7   VP
                  P                  4        VP
                  P                  4        R # V'       d-   VP                  4       SV3x  VP                  4       Vn	        R # R # 5ir6   )
r7   r   rO   r^   r   stackrP   r8   r9   r:   r;   s   &&& r$   rA   5YamlLexer.parse_block_scalar_indent.<locals>.callback   s     ;;=D**2t9GNNA 66MM%%'MM%%'.1$i+t9w:::MM%%'MM%%'kkm[$66#iik s   C!D%.DrC   rD   s   f r$   parse_block_scalar_indent#YamlLexer.parse_block_scalar_indent   s    	*  r&   c                   a  V 3R lpV# )z-Process indentation spaces in a plain scalar.c              3   8  <"   VP                  4       p\        V4      VP                  8:  d7   VP                  P	                  4        VP                  P	                  4        R # V'       d-   VP                  4       SV3x  VP                  4       Vn        R # R # 5ir6   )r7   rO   r   rp   rP   r8   r9   r:   r;   s   &&& r$   rA   5YamlLexer.parse_plain_scalar_indent.<locals>.callback   sl     ;;=D4yGNN*!!#!!#kkm[$66#iik s   A(B,.BrC   rD   s   f r$   parse_plain_scalar_indent#YamlLexer.parse_plain_scalar_indent   s    	* r&   rootz[ ]+(?=#|$)z\n+z#[^\n]*z^%YAML(?=[ ]|$)zyaml-directivez^%TAG(?=[ ]|$)ztag-directivez^(?:---|\.\.\.)(?=[ ]|$)
block-linez[ ]*(?!\s|$)T)r8   rg   zignored-linez\nz#pop:2z([ ]+)([0-9]+\.[0-9]+)z;([ ]+)(!|![\w-]*!)([ ]+)(!|!?[\w;/?:@&=+$,.!~*\'()\[\]%-]+)z[ ]*$z[ ]+(?=[?:-](?:[ ]|$))z[?:-](?=[ ]|$)z[ ]*z#popz[ ]*(?=#|$)z[ ]+z([^#,?\[\]{}"'\n]+)(:)(?=[ ]|$))rX   descriptorszblock-nodesz
flow-nodesz'(?=[^\s?:,\[\]{}#&*!|>\'"%@`-]|[?:-]\S)zplain-scalar-in-block-contextz!!<[\w#;/?:@&=+$,.!~*\'()\[\]%-]+>z+!(?:[\w-]+!)?[\w#;/?:@&=+$,.!~*\'()\[\]%-]*z&[\w-]+z\*[\w-]+z
:(?=[ ]|$)z[|>]block-scalar-contentblock-scalar-headerz\[zflow-sequencez\{zflow-mappingz\'zsingle-quoted-scalarz\"zdouble-quoted-scalarzflow-collectionz[?:,]z(?=[^\s?:,\[\]{}#&*!|>\'"%@`])zplain-scalar-in-flow-contextz\]z([^,:?\[\]{}"'\n]+)(:)(?=[ ]|$)z\}z^[ ]+$z^[ ]*z[\S\t ]+z([1-9])?[+-]?(?=[ ]|$)z[+-]?([1-9])?(?=[ ]|$)zquoted-scalar-whitespacesz^[ ]+z[ ]+$z\'\'z[^\s\']+z\\[0abt\tn\nvfre "\\N_LP]z5\\(?:x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})z	[^\s"\\]+"z&plain-scalar-in-block-context-new-linez^(?=---|\.\.\.)z#pop:3z[ ]*(?=:[ ]|:$)z	[ ]+(?=#)z(?::(?!\s)|[^\s:])+z[ ]*(?=[,:?\[\]{}])z[^\s,:?\[\]{}]+c                B   < Vf   \        V^ 4      p\        SV `	  W4      # r6   )r   r   get_tokens_unprocessed)r    r?   r>   r#   s   &&&r$   r    YamlLexer.get_tokens_unprocessed  s$    ?&tQ/Gw-d<<r&   rC   )F)rz   rg   )r|   r}   )NN)-r'   r(   r)   r*   r+   nameurlaliases	filenames	mimetypesversion_addedrE   rJ   rS   rZ   rc   rl   rr   rw   r   r   Singler   Tag	Namespacer   r   r	   Typer   	Indicatorr   VariableLabelr   ConstantEscaper
   ScalarPlaintokensr   r,   r-   r.   r/   s   @@r$   r   r      s    
 D
ChG7#IIM
,""(EZ(Z (dhh!79IJTXX 6H(,t~~*F k*DA*,
E, 	Z((J)
-E@ 	&j&)>;
AEN 	:j',,
GLLI
OE` 	y,h7&J(?@
;+@+@ ABk*-v6	
aEx 	Yz2F;j!3dhh
; FGI M"M"L!7t}}%,.
yEb 	17<<@/07> $$--(

cE| 	J{'<'<tLMk++<>	
}EN 	K))?;K))>:F23F23	
OEf 	j!Z ({,,-M"L!.t}}%+-
gEN 	%&K))62	
OE^ 	3dhh,. %&K))62
_Et 	J*:t}}EG 0<=$--(
!
uEN 	&$[%:%:; '$[%:%:;	 
OEf 	$z"z"Z dmm$&
gE| 	/0fmm$&!FF#	!
}ET 	/0)62E]] 6"66"!
UEr 	1
#Z 4>>!:HE0<fE	3
 	(:!6?:v.z"Z!IJgnn**+#W^^%9%9:*
  	'#Yz%:FC:v.z"z"Z dmm$/)
kEFN= =r&   c                      a  ] tR tRt o RtRtRtRR.t. ROt. ROt	Rt
]! R4      t]! R	4      t]! R
4      t]! R4      t]! R4      t0 RmtR tRtV tR# )r   i  a  
For JSON data structures.

Javascript-style comments are supported (like ``/* */`` and ``//``),
though comments are not part of the JSON specification.
This allows users to highlight JSON as it is used in the wild.

No validation is performed on the input JSON document.
JSONzhttps://www.json.orgjsonzjson-objectz1.5z-0123456789z.eE+truefalsenull0123456789abcdefABCDEFz{}[],c           	   #  
  "   RpRp^ pRpRpRpRpRp	Rp
RpRpRp^ p. p\        V4       EF  w  ppV'       d   V'       d+   VV P                  9   d   V^,          pV'       g   RpM\^ pRpMWV'       d   VR8X  d   ^pMERpMBVR8X  d   RpM8VR8X  d2   VP                  V\        P                  WV^,            34       RpRp^ pK  V'       dH   VV P
                  9   d   K  V'       d   VP                  V\        WV 34       MV\        WV 3x  RpEMV'       d0   VV P                  9   d   EK  V\        P                  WV 3x  RpEMV'       dh   VV P                  9   d   EK<  VV P                  9   d   RpEKR  V'       d   V\        P                  WV 3x  MV\        P                  WV 3x  RpRpEMIV	'       d&   VV P                  9   d   EK  V\         WV 3x  Rp	EMV
'       dR   VR8w  d   EK  V'       d&   VP                  V\"        P$                  WV 34       MV\"        P$                  WV 3x  Rp
MV'       ds   VR8X  d   RpMeV'       d^   RpVR8X  dU   V'       d-   VP                  V\"        P&                  WV^,            34       MV\"        P&                  WV^,            3x  RpEK  V'       dB   RpVR8X  d   Rp
EK  VR8X  d   RpEK  T R	j  xL
  VP)                  4        V\*        WV 3x  TpVR8X  d   RpEK  VV P
                  9   d   RpEK  VR9   d    T R	j  xL
  VP)                  4        RpEK"  VV P                  9   d    T R	j  xL
  VP)                  4        RpEKR  VR
8X  dU   V F9  w  pppV\        P                  J d   V\,        P.                  V3x  K2  VVV3x  K;  	  VP)                  4        Rp	EK  VV P                  9   d    T R	j  xL
  VP)                  4        Rp	EK  VR8X  d   RpEK  T R	j  xL
  VP)                  4        V\*        V3x  EK  	  T R	j  xL
  V'       d   V\*        WR	 3x  R	# V'       d   V\        P                  WR	 3x  R	# V'       d   V\        P                  WR	 3x  R	# V'       d   V\        P                  WR	 3x  R	# V'       d   V\        WR	 3x  R	# V	'       d   V\         WR	 3x  R	# V
'       d   V\"        P$                  WR	 3x  R	# V'       d   V\*        WR	 3x  R	# V'       d   V\*        WR	 3x  R	# R	#  EL` EL EL EL\ EL4 EL5i)zParse JSON data.Fu\Tr~   
*/N:>   fnt)	enumeratehexadecimalsrW   r   Doublewhitespacesr   	constantsr	   r   integersfloatsr   FloatIntegerpunctuationsr   r   r   	Multilineclearr   r   r   )r    r?   	in_string	in_escapein_unicode_escapein_whitespacein_constant	in_numberin_floatin_punctuationin_comment_singlein_comment_multilineexpecting_second_comment_openerexpecting_second_comment_closerr8   queuestop	character_start_token_texts   &&                   r$   r    JsonLexer.get_tokens_unprocessed  s     			!$*/'*/'( (OD)$ D$5$55)Q.)0(-I,-)$)	 C',-)$)	$& $I#%LL%4!88L!MN %I %I()% 0 00LL%T5E!FGT-=== % .W--t$/???# -$++-#Ht$/???D1AAA!	    1 11[$T*:::!& #$LL%D9I!JKD1AAA$)! &#6:346;3 C' !LL%1B1BDtVWxDX)YZ"'):):Dtax<P"PP/4,027/#(,%#%+/( !  UDt$444 EC 	d... $o-   "dmm+    	c!-2)FFE .$dhh55$fe33 .3 !%d///   !%c!26/ !  UI--U  /Z V,,tF|33f55))4<77T&\11d6l22f55!V,,,V,, -g !  ! !4 ! ! 	s   >U!U#U3AUU'3U6U1U<U,U.U AUUU*AUU U !AU2U3/U"U#B
U-U	.*UU)UUUU& U U( U	U U7 UU/UUU	UUUrC   N)z*.jsonz*.jsonlz*.ndjsonzPipfile.lock)zapplication/jsonzapplication/json-objectzapplication/x-ndjsonzapplication/jsonlzapplication/json-seq>   	r    )r'   r(   r)   r*   r+   r   r   r   r   r   r   setr   r   r   r   r   r   r   r,   r-   )r0   s   @r$   r   r     sv      D
 C}%GAI EIM =!H[FO$I/0Lw<L:Ke- e-r&   c                   .    ] tR tRtRtRt. t. t. tRt	Rt
R# )r   i  z~
For JSON data structures (with missing object curly braces).

.. deprecated:: 2.8.0

   Behaves the same as `JsonLexer` now.
JSONBareObjectz2.2rC   N)r'   r(   r)   r*   r+   r   r   r   r   r   r,   rC   r&   r$   r   r     s"     DGIIMr&   c                      aa ] tR tRt oRtRtRtRR.tR.tR.t	R	t
R U u0 uF	  p R
V  R2kK  	  up tV3R ltRtVtV;t# u up i )r   i  z
For JSON-LD linked data.
zJSON-LDzhttps://json-ld.org/jsonldzjson-ldz*.jsonldzapplication/ld+jsonz2.0z"@r~   c              #     <"   \         SV `  V4       FG  w  r#pV\        P                  J d(   W@P                  9   d   V\        P
                  V3x  KA  W#V3x  KI  	  R # 5ir6   )r   r   r   r   json_ld_keywords	Decorator)r    r?   r8   tokenvaluer#   s   &&   r$   r   "JsonLdLexer.get_tokens_unprocessed  sS     #(7#A$#GE% U.C.C%CT^^U22E))	 $Hs   AA rC   )base	containerr>   	directiongraphidimportincludedindexr   languagelistnestnoneprefix	propagate	protectedreverser   typer   versionvocab)r'   r(   r)   r*   r+   r   r   r   r   r   r   r   r   r,   r-   r.   )keywordr#   r0   s   0@@r$   r   r     so      D
 C#GI&'IM

G WIQ
:* *;s   AN)r   r   r   r   )r+   pygments.lexerr   r   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   r   __all__r   r   r   r   r   rC   r&   r$   <module>r      sn    $ $ $ K(| (S=" S=lF- F-R)  .*) .*r&   