+
    TBi5                         R t ^ RI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Ht . R
Ot ! R R]4      t ! R R]4      t ! R R]4      tR	# )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                   n   ] tR t^tRtRtRtR.tR.tR.t	Rt
RR	]R
3R]3.RR]3.RR]3.RR]P                  3R]P"                  3R]P"                  3R]P$                  3R]P(                  R3R]P*                  R3.RR]P,                  3R]P(                  3R]P(                  R3.RR]P,                  3R]P*                  3R]P*                  R3.R
R]P0                  3]! R4      ]! R4      ]! R4      R	]R3R]R 3R!]R3.R R]P0                  3]! R4      ]! R4      ]! R4      R]R3R	]R
3R"]R3./tR#tR$# )%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root\{compoundz[^\{]+
whitespace\s+	operatorsz[,:;]literals(true|false)z-?\d+[eE]-?\d+z-?\d*\.\d+[fFdD]?z-?\d+[bBsSlLfFdD]?"zliterals.string_double'zliterals.string_single\\.	[^\\"\n]+#pop	[^\\'\n]+z
[A-Z_a-z]+z#push\[list\}\] N)__name__
__module____qualname____firstlineno____doc__nameurlaliases	filenames	mimetypesversion_addedr   r   r   r   Constantr
   FloatIntegerr   DoubleSingleEscaper	   	Attributer   tokens__static_attributes__r)       >/usr/lib/python3.14/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>   c                   Z   ] tR t^etRtRtRtRR.tR.tR.t	Rt
R	t/ R
]! R4      ]! R4      ]! R4      ]! R4      ]! R4      ]! R4      ]! R4      .bRR]! ]]P                   4      3R]P                   3R]P"                  3]! R4      R]P&                  3R]P"                  P(                  3.bRR]P*                  3R]P*                  3.bRR]3.bRR] R2]P.                  RJ3R]P0                  3.bRR ] 2]P.                  R3R ]P.                  R!3]! R"4      .bR!]! R#4      R$]P.                  3R%]R"3]! R4      .bR]! R#4      R$]P8                  3R%]R"3]! R4      .bR#R&]P:                  3]! R4      R]P"                  P(                  3.bRR']3.bRR(]3R)]P@                  3R*]P"                  PB                  3R+]"PF                  3R,]"PH                  3R-]"PJ                  3R.]PL                  R/3R0]P0                  R13.bR/R2]PN                  3R3]PL                  3R.]PL                  R"3.bR1R2]PN                  3R4]P0                  3R0]P0                  R"3.bRR5]P"                  3.bRR6](RK3R9](RL3.bR7]! R4      ]! R4      R;](R"3.bR:]! R4      ]! R4      R<](R"3R=](3.bR8]! R4      R>]PR                  R?3R@]PR                  R?3RA]PR                  R?3R.]PR                  R?R/3R0]PR                  R?R13RB]"PJ                  R?3]! R"4      .RCR2]PN                  3R3]PR                  3R.]PR                  R"3.RDR2]PN                  3R4]PR                  3R0]PR                  R"3.R?]! R4      RE](RF3R=](3]! R"4      .RF]! R4      RG]PT                  3R@]PT                  3]! R4      ]! R4      ]! R"4      ./Ct+RHt,RI# )Mr   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#.*$z^\s*#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.squarer'   r(   ,z-#?[a-z_][a-z_\.\-]*\:[a-z0-9_\.\-/]+(?=\s*\=)zproperty.delimiterz#?[a-z_][a-z0-9_\.\-/]+z[A-Za-z_\-\+]+z-?\d+zproperty.key.string-doublezproperty.key.string-singlez[:=]!?zproperty.valuez$#?[a-z_][a-z_\.\-]*\:[a-z0-9_\.\-/]+r)   N)rI   rJ   )rL   rM   )rN   rM   )-r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   _block_comment_prefixr   r   r   r	   BuiltinVariabler   r5   MagicFunctionr   	Multiliner9   r   r   r   Doc	Decoratorr   r   PseudoClassr
   Byter6   r7   r8   r:   r   r;   Tagr<   r=   r)   r>   r?   r   r   e   sm    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l 	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>   c            )       ,   ] tR tRtRtRtRtR.tR.tR.t	Rt
R	R
]3R]P                  3R]P                  3.R]! R	4      R]P"                  R3R]R,3]! R4      .RR]R3.RR]P(                  3R]P                  R3R]P                  3.RR]P(                  3R]P*                  R3R]P*                  3.RR]R3]! R	4      R]P.                  3R]P2                  3R]P6                  3R]P8                  3R ]P:                  3R!]P<                  3R"]P>                  3R#] 3R$]R3R%] R3R&] 3R]P                  R3R]P*                  R3R']PB                  3R(]"! ]PB                  ]]P<                  ]]P<                  ]]P<                  ]]]]4      3R)]3./t#R*t$R+# )-r   i@  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.14commentsandwhitespacer   z//.*?$z	/\*.*?\*/slashstartsregexz7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)r#   z(?=/)badregexrK   singlestringr!   r    z[^\\']+doublestringr   z[^\\"]+r   z^(?=\s|/|<!--)z
(?<=: )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[})\].]z[\w-]*?(?=:\{?\n)z([\w-]*?)(:)(\d+)(?:(\.)(\d+)(?:(\.)(\d+)(?:(\-)((?:[^\W_]|-)*(?:\.(?:[^\W_]|-)*)*))?(?:(\+)((?:[^\W_]|-)+(?:\.(?:[^\W_]|-)+)*))?)?)?(?=:\{?\n)z.*\nr)   N)r#   ra   )%r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r   r   r9   rU   r   r   Regexr   r   r:   r8   r   Wordr   Declarationr
   BinOctHexr7   r6   r   Symbolr   r<   r=   r)   r>   r?   r   r   @  s    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>   N)r   r   r   )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>rn      sU   * B A* * * <E
 EPXj XvGJ Gr>   