
    5h                     x    S r SSKrSSK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  SSKJrJr  S/r " S S\5      rg)z
pygments.lexers.stata
~~~~~~~~~~~~~~~~~~~~~

Lexer for Stata

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
    N)
RegexLexerdefaultincludewords)CommentKeywordNameNumberStringTextOperator)builtins_basebuiltins_functions
StataLexerc                      \ rS rSrSrSrSrSrSS/rSS	/r	/ S
Qr
\R                  \R                  -  r0 S\" S5      \" S5      \" S5      \" S5      \" S5      \" S5      \" S5      S\4/_SS\R$                  S4S\R$                  S4S\R&                  S4S\R(                  S4/_SS\R&                  S4S\R&                  4S\R&                  S4S\R&                  4/_SS \R$                  S!4S\R$                  S"4S\R&                  S4S#\R$                  S4S\R$                  4/_SS$\R(                  S4S%\R$                  S4S\R(                  4/_SS$\S4S\R$                  4/_SS&\S'4S(\S)4/_S'S&\S4S*\S4S+\R,                  4\" S5      S\4/_S)S,\S4S+\R,                  4\" S5      S\4/_SS-\R0                  R2                  S.4S/\R0                  R2                  S04S1\R0                  S24/_S2S1\R0                  S4S3\R0                  S4S-\R0                  R2                  S.4S/\R0                  R2                  S04S\R0                  4/_S.S-\R0                  R2                  S4S4\R0                  R2                  S4S/\R0                  R2                  S04S1\R0                  S24S5\R0                  R2                  4\" S5      /_S0S-\R0                  R2                  S.S4S/\R0                  R2                  S0S4S1\R0                  S2S4S6\R0                  R2                  S4/_S\" \S7S8S99\R:                  4\" \S:S7S99\4/_SS;\ 4S<\ 4/_SS=\!4/_SS>\RD                  4S?\RD                  4S@\RD                  4SA\RD                  4/_r#SBr$gC)Dr      z
For Stata do files.
Statazhttp://www.stata.com/z2.2statadoz*.doz*.ado)ztext/x-stataz
text/statazapplication/x-statarootcommentsstringsmacrosnumberskeywords	operatorsformat.z(^//|(?<=\s)//)(?!/)comments-double-slashz^\s*\*zcomments-starz/\*zcomments-blockz(^///|(?<=\s)///)comments-triple-slashz#pushz\*/\*z(\*/\s+\*(?!/)[^\n]*)|(\*/)#popz///.*?\n)r!   r    )r!   r   z.(?=\n)z\nz//.*?(?=\n)z`"zstring-compoundz(?<!`)"zstring-regularz"\'z\\\\|\\"|\\\$|\\`|\\\nz(")(?!\')|(?=\n)z\$(\{|(?=[$`]))zmacro-global-nestedz\$zmacro-global-name`zmacro-local'z\}z\wz\w{1,32}z\bz(?=\())prefixsuffixz	(^\s*|\s)z-|==|<=|>=|<|>|&|!=z\*|\+|\^|/|!|~|==|~=z>\b[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+|\.)([eE][+-]?[0-9]+)?[i]?\bz%-?\d{1,2}(\.\d{1,2})?[gfe]c?z%(21x|16H|16L|8H|8L)z'%-?(tc|tC|td|tw|tm|tq|th|ty|tg)\S{0,32}z%[-~]?\d{1,4}s N)%__name__
__module____qualname____firstlineno____doc__nameurlversion_addedaliases	filenames	mimetypesre	MULTILINEDOTALLflagsr   r   r   Single	MultilineSpecialr   Escaper	   VariableGlobalr   r   r   Functionr   r   r   r
   Othertokens__static_attributes__r&       `/var/www/html/cementerio_25MayoBackend/env/lib/python3.13/site-packages/pygments/lexers/stata.pyr   r      s    D
!CM$G!IEIryy(EDJIHIJK H4L	
D 	$gnn6MN8W&&(89!7??4KL	
D* 	W&&0 w(()+W->->G7$$%
+D< 	'..13$gnn13W&&(8907>>"
=DN 	 GOOV,W^^V47??#	"
ODZ 	 D&!7>>""
[Df 	F-.!12
gDn 	FG$VV$&6H6N
oD| 	 &&1&6H6N	
}Db 	!5!57LMDMM((+>?4==-0
cDl 	4=='*4==&)!5!57LMDMM((*=>4==!
mDz 	!5!5w?DMM((&1DMM((*=>4==-0DMM(()FO 
{DJ 	!5!57LfUDMM((*=vF4==-8$--..7	
KDX 	%	J]]=<%H
YDf 	#X.$h/
gDp 	N
qD| 	-tzz:$djj17D

+	
}DFr@   )r+   r2   pygments.lexerr   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   pygments.lexers._stata_builtinsr   r   __all__r   r&   r@   rA   <module>rF      s?    
 > >   N.U Ur@   