3
V'íc6 ã @ s d Z ddlmZmZmZmZ ddlmZmZm Z m
Z
mZmZm
Z
mZmZmZ dddgZG dd deZG dd deZG d d deZd
S )a9
pygments.lexers.minecraft
~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for Minecraft related languages.
SNBT. A data communication format used in Minecraft.
wiki: https://minecraft.fandom.com/wiki/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.fandom.com/wiki/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-2022 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 @ s& e Zd ZdZdZdZdgZdgZdgZde dfd e
fgd
efgde fgdej
fd
ejfdejfdejfdejdfdejdfgdejfdejfdejdfgdejfdejfdejdfgdejfedededde dfde dfde dfgdejfedededde dfde dfd e dfgd!Zd"S )#r z]Lexer for stringified NBT, a data format used in Minecraft
.. versionadded:: 2.12.0
ZSNBTz,https://minecraft.fandom.com/wiki/NBT_formatZsnbtz*.snbtz text/snbtz\{Úcompoundz[^\{]+z\s+z[,:;]z(true|false)z-?\d+[eE]-?\d+z-?\d*\.\d+[fFdD]?z-?\d+[bBsSlLfFdD]?ú"zliterals.string_doubleú'zliterals.string_singlez\\.z [^\\"\n]+z#popz [^\\'\n]+z
[A-Z_a-z]+Ú operatorsÚ
whitespaceÚliteralsz#pushz\[Úlistz\}z\])Úrootr r r zliterals.string_doublezliterals.string_singler r N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ filenamesÚ mimetypesr r r r ÚConstantr