+
    TBiE                     j    R t ^ RIt^ RI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.t ! R R]4      tR# )z
pygments.lexers.nix
~~~~~~~~~~~~~~~~~~~

Lexers for the NixOS Nix language.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)
RegexLexerinclude)	TextCommentOperatorKeywordNameStringNumberPunctuationLiteralNixLexerc                   N  a  ] tR t^t o RtRtRtRR.tR.tR.t	Rt
. R9Ot. R:Ot. R;Ot. R<OtR	R
]P                   3R]P"                  R3R]3RP'                  RP)                  R ] 4       4      4      ]3RP'                  RP)                  R ] 4       4      4      ]P.                  3R]P0                  3R]P4                  3R]P6                  3R]3R]3R]3RP'                  RP)                  R ] 4       4      4      ]3R]P<                  3R]R3RP'                  RP)                  R ] 4       4      4      ]3R] PB                  R3R] P"                  R 3R!]3R"] PD                  3R#]3R$] PF                  R%3.RR&]P"                  3R]P"                  R'3R(]P"                  R)3R*]P"                  3.R R+] PH                  3R] P"                  R)3R$] PF                  R%3R,] P"                  3R-] P"                  3R.] P"                  3R/] P"                  3.RR0] PH                  3R] PB                  R)3R$] PF                  R%3R1] PB                  3R2] PB                  3R3] PB                  3R4] PB                  3.R%R5] PF                  R)3R$] PF                  R'3]%! R	4      .RR5]R)3]%! R	4      ./t&R6 t'R7t(V t)R8# )=r   z
For the Nix language.
Nixzhttp://nixos.org/nix/nixosnixz*.nixz
text/x-nixz2.0rootz#.*$z/\*commentz\s+z({})|c              #  \   "   T F"  p\         P                  ! V4      R ,           x  K$  	  R# 5iz\bNreescape.0entrys   & 8/usr/lib/python3.14/site-packages/pygments/lexers/nix.py	<genexpr>NixLexer.<genexpr>5   !     #S(BIIe$4u$<$<(   *,c              #  \   "   T F"  p\         P                  ! V4      R ,           x  K$  	  R# 5ir   r   r   s   & r   r   r   8   r    r!   z\b(true|false|null)\bz!-?(\d+\.\d*|\.\d+)([eE][-+]?\d+)?z-?[0-9]+z[\w.+-]*(\/[\w.+-]+)+z~(\/[\w.+-]+)+z\<[\w.+-]+(\/[\w.+-]+)*\>c              #  N   "   T F  p\         P                  ! V4      x  K  	  R # 5iNr   r   s   & r   r   r   I   s     #L)BIIe$4$4)   #%z\b(or|and)\bz\{blockc              #  N   "   T F  p\         P                  ! V4      x  K  	  R # 5ir$   r   r   s   & r   r   r   R   s     #O,BIIe$4$4,r%   "doublequotez''	multilinez4[a-zA-Z][a-zA-Z0-9\+\-\.]*\:[\w%/?:@&=+$,\\.!~*\'-]+z[\w-]+(?=\s*=)z[a-zA-Z_][\w\'-]*z\$\{	antiquotez[^/*]+z#pushz\*/z#popz[*/]z''(\$|'|\\n|\\r|\\t|\\)z[^'\$]+z\$[^\{']z'[^']z\$(?=')z\\(\\|"|\$|n)z	[^"\\\$]+z\$[^\{"]z\$(?=")z\\z\}c                :   R p\         P                  ! RV 4      '       d
   VR,          p\         P                  ! RV 4      '       d
   VR,          p\         P                  ! RV 4      '       d
   VR,          p\         P                  ! RV 4      '       d
   VR,          pV# )g        zimport.+?<[^>]+>g?zmkDerivation\s+(\(|\{|rec)z=\s+mkIf\s+z\{[a-zA-Z,\s]+\}:g?)r   search)textrvs   & r   analyse_textNixLexer.analyse_text   sw    99($//#IB992D99#IB99^T**#IB99)400#IB	     N)
recwithletininheritassertifelsethenz...)importabort
baseNameOfdirOfisNullbuiltinsmapremoveAttrsthrowtoString
derivation)z+++?.!z//z==/z!=z&&z||z->=<>*-)
()[];{}:,@)*__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenames	mimetypesversion_addedkeywordsrB   	operatorspunctuationsr   Single	Multiliner   formatjoinr   r   BuiltinConstantr
   FloatIntegerr   r   Wordr   r	   DoubleSymbolInterpolEscaper   tokensr0   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s4     D
!CG	IIM'HIHBI FL 	gnn% W&&	2 TN ]]388#S(#SSTV]^ ]]388#S(#SST\\ &t}}5 26<<@ &..) &w/()73 ]]388#L)#LLM hmm,K) ]]388#O,#OOPR]^ 6==-0F$$k2 EgN .!4(foo{3k6
n 	))*W&&0W&&/g''(	
 	'7F$$f-foo{3))*&**+v''())*
 	v}}-6==&)foo{36==)&--('FMM"
 	FOOV,foow/FO	
 	K(FO
mZFx r2   )r`   r   pygments.lexerr   r   pygments.tokenr   r   r   r   r   r	   r
   r   r   __all__r   r3   r2   r   <module>r~      s8    
 .! ! ! ,|z |r2   