Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygments/lexers/__pycache__/minecraft.cpython-39.pyc
Ðазад
a a�h�5 � @ s� d Z ddlmZmZmZmZ ddlmZmZm Z m Z mZmZm Z mZmZmZ g d�ZG dd� de�ZG dd� de�ZG d d � d e�ZdS )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 @ s* e Zd ZdZdZdZdgZdgZdgZdZ de d fd efgdefgde fgd e jfdejfdejfdejfdejdfdejdfgdejfdejfdejdfgdejfdejfdejdfgdejfed�ed�ed�de dfde dfd e dfgdejfed�ed�ed�de dfde d fd!e dfgd"�Zd#S )$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"