
    ,h5                         d Z ddlmZmZmZmZ ddlmZmZm	Z	m
Z
mZmZmZmZmZmZ g dZ G d de      Z G d de      Z G d	 d
e      Zy)a  
    pygments.lexers.minecraft
    ~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for Minecraft related languages.

    SNBT. A data communication format used in Minecraft.
    wiki: https://minecraft.wiki/w/NBT_format

    MCFunction. The Function file for Minecraft Data packs and Add-ons.
    official: https://learn.microsoft.com/en-us/minecraft/creator/documents/functionsintroduction
    wiki: https://minecraft.wiki/w/Function

    MCSchema. A kind of data Schema for Minecraft Add-on Development.
    official: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/schemasreference/
    community example: https://www.mcbe-dev.net/addons/data-driven/manifest.html

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerdefaultincludebygroups)
CommentKeywordLiteralNameNumberOperatorPunctuationStringText
Whitespace)	SNBTLexerMCFunctionLexerMCSchemaLexerc                   V   e Zd ZdZdZdZdgZdgZdgZdZ	de
d	fd
efgdefgde
fgdej                  fdej                   fdej                   fdej"                  fdej&                  dfdej(                  dfgdej*                  fdej&                  fdej&                  dfgdej*                  fdej(                  fdej(                  dfgdej.                  f ed       ed       ed      de
dfde
dfd e
dfgdej.                  f ed       ed       ed      de
dfde
d	fd!e
dfgd"Zy#)$r   z?Lexer for stringified NBT, a data format used in Minecraft
    SNBTz#https://minecraft.wiki/w/NBT_formatsnbtz*.snbtz	text/snbt2.12\{compoundz[^\{]+\s+z[,:;](true|false)z-?\d+[eE]-?\d+z-?\d*\.\d+[fFdD]?z-?\d+[bBsSlLfFdD]?"literals.string_double'literals.string_single\\.	[^\\"\n]+#pop	[^\\'\n]+z
[A-Z_a-z]+	operators
whitespaceliteralsz#push\[list\}\])rootr%   r$   r&   r   r   r   r(   N)__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesversion_addedr   r   r   r   Constantr   FloatIntegerr   DoubleSingleEscaper
   	Attributer   tokens     [/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pygments/lexers/minecraft.pyr   r      s    D
/ChG
IIM K,	
 Z 

 {#

 g../-!6<<0"FNN3 6==":;6==":;	
 V]]#6==)6==&)#
 V]]#6==)6==&)#
 DNN+K L!JK)K(K(

 DNN+JK L!K)K,K(
c:Fr?   r   c                   H   e Zd ZdZdZdZddgZdgZdgZdZ	d	Z
i d
 ed       ed       ed       ed       ed       ed       ed      gdd eeej                        fdej                  fdej                   f ed      dej$                  fdej                   j&                  fgddej(                  fdej(                  fgddefgdde
 dej,                  dfdej.                  fgdd e
 ej,                  d!fd ej,                  d"f ed#      gd" ed$      d%ej,                  fd&ed#f ed      gd! ed$      d%ej6                  fd&ed#f ed      gd$d'ej8                  f ed      dej                   j&                  fgdd(efgdd)efd*ej>                  fd+ej                   j@                  fd,e!jD                  fd-e!jF                  fd.e!jH                  fd/ejJ                  d0fd1ej.                  d2fgd0d3ejL                  fd4ejJ                  fd/ejJ                  d#fgd2d3ejL                  fd5ej.                  fd1ej.                  d#fgdd6ej                   fgdd7e'd8fd9e'd:fgd; ed       ed      d<e'd#fgd= ed       ed      d>e'd#fd?e'fg ed      d@ejP                  dAfdBejP                  dAfdCejP                  dAfd/ejP                  dAd0fd1ejP                  dAd2fdDe!jH                  dAf ed#      gd3ejL                  fd4ejP                  fd/ejP                  d#fgd3ejL                  fd5ejP                  fd1ejP                  d#fg ed      dEe'dFfd?e'f ed#      g ed      dGejR                  fdBejR                  f ed       ed       ed#      gdHZ*yI)Jr   zLexer for the mcfunction scripting language used in Minecraft
    Modelled somewhat after the `GitHub mcfunction grammar <https://github.com/Arcensoth/language-mcfunction>`_.
    
MCFunctionz!https://minecraft.wiki/w/Commands
mcfunctionmcfz*.mcfunctionztext/mcfunctionr   z[>!]r+   namescommentsr&   r%   propertyr$   	selectorsz^(\s*)([a-z_]+)z(?<=run)\s+[a-z_]+z$\b[0-9a-fA-F]+(?:-[0-9a-fA-F]+){4}\bzresource-namez[A-Za-z_][\w.#%$]+z[#%$][\w.#%$]+z#?[a-z_][a-z_.-]*:[a-z0-9_./-]+z"#?[a-z0-9_\.\-]+\/[a-z0-9_\.\-\/]+r   z^\s*(#))comments.blockcomments.block.emphasizedz#.*$rJ   z^\s*#rK   zcomments.block.normalr"   zcomments.block.specialz\S+\nz@\S+z[\-~%^?!+*<>\\/|&=.]z\.\.r   z
[A-Za-z_]+z[0-7]bz%[+-]?\d*\.?\d+([eE]?[+-]?\d+)?[df]?\bz
[+-]?\d+\br   zliterals.string-doubler   zliterals.string-singler    r!   r#   z@[a-z]r   )property.curlyproperty.keyr'   )property.squarerN   rM   r)   rO   r*   ,z-#?[a-z_][a-z_\.\-]*\:[a-z0-9_\.\-/]+(?=\s*\=)property.delimiterz#?[a-z_][a-z0-9_\.\-/]+z[A-Za-z_\-\+]+z-?\d+z[:=]!?property.valuez$#?[a-z_][a-z_\.\-]*\:[a-z0-9_\.\-/]+)rN   zproperty.key.string-doublezproperty.key.string-singlerQ   rR   N)+r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   _block_comment_prefixr   r   r   r
   BuiltinVariabler   r6   MagicFunctionr   	Multiliner:   r   r   r   Doc	Decoratorr   r	   PseudoClassr   Byter7   r8   r9   r;   r   r<   Tagr=   r>   r?   r@   r   r   e   s^    D
-CU#G I"#IM #IGJJL!JK K 
I 	  *dll!CD"DLL1 5dmmDO$ #G$4$45 3 34
I6 	/? 3DMMB
7IF 	Z 
GIN 	,-Q/1B1B<>gnn%
OIX 	+,-w/@/@(*w((*ABFO	
YId 	 ,-W&&'D&!L!	"
eIp 	$,-VZZ D&!L!	&
qI| 	!dnn%O$  3 34#
}IP 	$h/
QIX 	ggnn- DMM//0$5v||DFNN+6==":;6==":;
YIr 	!V]]#6==)6==&)#
sI| 	!V]]#6==)6==&)#
}IH 	&
II@ 	 K!CDK!DE
AIR 	L!JK(
SI\ 	L!JK( ;
]In L!
 >t~~Ocd'9MN 0DE 4>>#79QR4>>#79QR v~~';<FO'
, V]]#4>>*4>>6*'
 V]]#4>>*4>>6*'
 L!%56;FO
 L! 5dhh?'2JJFO
{IFr?   r   c            #          e Zd ZdZdZdZdgZdgZdgZdZ	de
fd	ej                  fd
ej                  fg ed      dej                   dfdedf ed      gde
dfgdej&                  fdej                  dfdej                  fgdej&                  fdej(                  dfdej(                  fgdedf ed      dej,                  fdej0                  fdej4                  fdej6                  fdej8                  fdej:                  fdej<                  fdefd edfd!edfd"efdej                  d#fdej(                  d$fd%ej@                  fd& e!ej@                  eej:                  eej:                  eej:                  eeee      fd'efgd(Z"y))*r   z`Lexer for Minecraft Add-ons data Schemas, an interface structure standard used in Minecraft
    MCSchemazWhttps://learn.microsoft.com/en-us/minecraft/creator/reference/content/schemasreference/mcschemaz
*.mcschemaztext/mcschemaz2.14r   z//.*?$z	/\*.*?\*/commentsandwhitespacez7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)r"   z(?=/))r"   badregexrL   r    r   z[^\\']+r   z[^\\"]+z^(?=\s|/|<!--)slashstartsregexz
(?<=: )optz(?<=\s)[\w-]*(?=(\s+"|\n))z
0[bB][01]+z0[oO]?[0-7]+z0[xX][0-9a-fA-F]+z\d+z#(\.\d+|\d+\.\d*|\d+)([eE][-+]?\d+)?z	\.\.\.|=>zP\+\+|--|~|\?\?=?|\?|:|\\(?=\n)|(<<|>>>?|==?|!=?|(?:\*\*|\|\||&&|[-<>+*%&|^/]))=?z[{(\[;,]z[})\].]singlestringdoublestringz[\w-]*?(?=:\{?\n)z([\w-]*?)(:)(\d+)(?:(\.)(\d+)(?:(\.)(\d+)(?:(\-)((?:[^\W_]|-)*(?:\.(?:[^\W_]|-)*)*))?(?:(\+)((?:[^\W_]|-)+(?:\.(?:[^\W_]|-)+)*))?)?)?(?=:\{?\n)z.*\n)rb   rd   rc   re   rf   r+   N)#r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r   r   r:   rX   r   r   Regexr   r   r;   r9   r   Wordr   Declarationr   BinOctHexr8   r7   r   Symbolr   r=   r>   r?   r@   r   r   @  su    D
cClGI !IM Z '7,,-"
 +,"#)<<9t12FO
 J'
 V]]#6==&)'
 V]]#6==&)'
 &89+, HMM**G,?,?@ FJJ'fjj)!6::.V^^$3V\\B ;'BCKM_a+'9:% 6==.16==.1 "6==1 `  bj  kq  kx  kx  zB  DJ  DR  DR  T\  ^d  ^l  ^l  nv  x~  xF  xF  HP  RX  Zb  dj  bk  ldOA!
5<Fr?   r   N)r/   pygments.lexerr   r   r   r   pygments.tokenr   r   r	   r
   r   r   r   r   r   r   __all__r   r   r   r>   r?   r@   <module>rq      sU   * B A* * * <E
 EPXj XvGJ Gr?   