YBFj5dZddlmZmZmZmZddlmZmZm Z m Z m Z m Z m Z mZmZmZgdZGddeZGddeZGd d eZd S) 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-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerdefaultincludebygroups) CommentKeywordLiteralNameNumberOperator PunctuationStringText Whitespace) SNBTLexerMCFunctionLexer MCSchemaLexerceZdZdZdZdZdgZdgZdgZdZ de d fd e fgd e fgd e fgd e jfdejfdejfdejfdejdfdejdfgdejfdejfdejdfgdejfdejfdejdfgdejfedededde dfde dfd e dfgdejfedededde dfde d fd!e dfgd"Zd#S)$rz?Lexer for stringified NBT, a data format used in Minecraft SNBTz#https://minecraft.wiki/w/NBT_formatsnbtz*.snbtz text/snbt2.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 whitespaceliteralsz#push\[list\}\])rootr%r$r&rrrr(N)__name__ __module__ __qualname____doc__nameurlaliases filenames mimetypes version_addedr rrrConstantr FloatIntegerrDoubleSingleEscaper AttributertokensGC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/minecraft.pyrrs D /ChG I IM K ,    Z  { # g. /  - !6< 0 "FN 36=": ; 6=": ;  V] # 6= ) 6=& )# V] # 6= ) 6=& )# DN + GK GL ! ! GJ   K ) K ( K (  DN + GJ   GK GL ! ! K ) K , K ( c::FFFr?rc eZdZdZdZdZddgZdgZdgZdZ d Z id e d e d e d e de de de dgd de e ejfdejfdejfe ddejfdejjfgddejfdejfgdde fgd de dejdfdejfgdd e ejd!fd ejd"fed#gd"e d$d%ejfd&ed#fe dgd!e d$d%ejfd&ed#fe dgd$d'ejfe ddejjfgdd(efgd d)efd*ejfd+ejj fd,e!j"fd-e!j#fd.e!j$fd/ej%d0fd1ejd2fgd0d3ej&fd4ej%fd/ej%d#fgd2d3ej&fd5ejfd1ejd#fgdd6ejfgdd7e'd8fd9e'd:fgd;e de dde'd#fd?e'fge dd@ej(dAfdBej(dAfdCej(dAfd/ej(dAd0fd1ej(dAd2fdDe!j$dAfed#gd3ej&fd4ej(fd/ej(d#fgd3ej&fd5ej(fd1ej(d#fge ddEe'dFfd?e'fed#ge ddGej)fdBej)fe d e ded#gdHZ*dIS)JrzLexer for the mcfunction scripting language used in Minecraft. Modelled somewhat after the `GitHub mcfunction grammar `_. MCFunctionz!https://minecraft.wiki/w/Commands mcfunctionmcfz *.mcfunctionztext/mcfunctionrz[>!]r+namescommentsr&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_\.\-\/]+rz^\s*(#))comments.blockcomments.block.emphasizedz#.*$rJz^\s*#rKzcomments.block.normalr"zcomments.block.specialz\S+\nz@\S+z[\-~%^?!+*<>\\/|&=.]z\.\.rz [A-Za-z_]+z[0-7]bz%[+-]?\d*\.?\d+([eE]?[+-]?\d+)?[df]?\bz [+-]?\d+\brzliterals.string-doublerzliterals.string-singler r!r#z@[a-z]r)property.curly property.keyr')property.squarerNrMr)rOr*,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_\.\-/]+)rNzproperty.key.string-doublezproperty.key.string-singlerQrRN)+r,r-r.r/r0r1r2r3r4r5_block_comment_prefixrrrr BuiltinVariablerr6MagicFunctionr Multiliner:rrrDoc Decoratorr r PseudoClassr Byter7r8r9r;r r<Tagr=r>r?r@rres D -CU#G I"#IM#I GG   GJ   GJ   GL ! ! GJ   GK GK  I  *dl!C!C D "DL 15dm D GO $ $#G$4 5  3 4 I6  / ?3DM B  7IF  Z  GIN  /, / / /1B < > gn % OIX  -+ - -w/@ ( * w(*A B GFOO  YId G, - - W& ' D& ! GL ! ! " eIp $ G, - - VZ D& ! GL ! ! & qI| ! dn % GO $ $ 3 4# }IP  $h / QIX  g  gn -DM/ 0  $ 5v| D FN + 6=": ; 6=": ;  YIr ! V] # 6= ) 6=& )# sI| ! V] # 6= ) 6=& )# }IH   & II@  K!C D K!D E AIR  GL ! ! GJ   K ( SI\  GL ! ! GJ   K (;   ]In GL ! ! >t~Oc d '9M N0D E4>#79Q R 4>#79Q Rv~'; < GFOO' ,V] # 4> * 4>6 *' V] # 4> * 4>6 *' GL ! !  %5 6 ;  GFOO   GL ! !5dh ? ' 2 GJ   GJ   GFOO  {IIIFFFr?rc#LeZdZdZdZdZdgZdgZdgZdZ de fd e j fd e j fged d ejd fdedfed gde d fgdejfdej d fdej fgdejfdejd fdejfgdedfed dejfdejfdejfdejfdejfdejfdejfdefd edfd!edfd"efdej d#fdejd$fd%ej fd&e!ej eejeejeejeeee fd'efgd(Z"d)S)*rz`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/mcschemaz2.14rz//.*?$z /\*.*?\*/commentsandwhitespacez7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)r"z(?=/))r"badregexrLr rz[^\\']+rz[^\\"]+z^(?=\s|/|