Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygments/lexers/__pycache__/blueprint.cpython-39.pyc
Ðазад
a a�h, � @ sf d Z ddlZddlmZmZmZmZ ddlmZm Z m Z mZmZm Z mZmZ dgZG dd� de�ZdS )z� pygments.lexers.blueprint ~~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for the Blueprint UI markup language. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�include�bygroups�words)�Comment�Operator�Keyword�Name�String�Number�Punctuation� Whitespace�BlueprintLexerc @ s� e Zd ZdZdZdgZdgZdgZdZdZ e jZe d�gd ejfd eejeeeej�fgdefdejfd ejdfgdejdfdejfdejfgdeeee�dfed�ejfdejfdefdejfdejfdejfdej fdefg e d�e d�dedfge d�ed �efd!eej!j"ee�d"fd#eeee�dfd$eej!ee�d"fd%eejejeeeejeejee� d&fe d'�d(efgd)eeeejeeje�fd*eeeejee�d&fd+eeee�d&fd,eeee�d-fd.ej#d.fd/eeee�d0fd1eeee�d&fd2eeee�d"fd3ed4fd5eej$ee�d6fe d7�ge d�d8edfge d7�d8edfge d�d9edfge d�d:edfge d7�d;edfge d�d<eeeej%eee�fed=�efdej&fe d'�d>efd9edfge d�e d�d?efd@edAfgdB�Z'dCS )Dr z" For Blueprint UI markup. � Blueprint� blueprintz*.blpztext/x-blueprintz4https://gitlab.gnome.org/jwestman/blueprint-compilerz2.16� block-contentz\$\s*[a-z_][a-z0-9_\-]*z;(?:([a-z_][a-z0-9_\-]*)(\s*)(\.)(\s*))?([a-z_][a-z0-9_\-]*)z\s+z//.*?\nz/\*�comment-multilinez\*/�#popz[^*]+z\*z(typeof)(\s*)(<)�typeof)�true�false�nullz[a-z_][a-z0-9_\-]*z\|z".*?"z\'.*?\'z0x[\d_]*z[0-9_]+z \d[\d\.a-z_]*� whitespace�type�>) �after� bidirectionalz bind-property�bind�defaultZdestructive�disabled�invertedzno-sync-createZ suggestedZswappedzsync-create�templatez(C?_)(\s*)(\()� paren-contentz(as)(\s*)(<)z (\$?[a-z_][a-z0-9_\-]*)(\s*)(\()z�(?:(\$\s*[a-z_][a-z0-9_\-]+)|(?:([a-z_][a-z0-9_\-]*)(\s*)(\.)(\s*))?([a-z_][a-z0-9_\-]*))(?:(\s+)([a-z_][a-z0-9_\-]*))?(\s*)(\{)�brace-block�valuez,|\.z3(using)(\s+)([a-z_][a-z0-9_\-]*)(\s+)(\d[\d\.]*)(;)z=(menu|section|submenu)(?:(\s+)([a-z_][a-z0-9_\-]*))?(\s*)(\{)z(item)(\s*)(\{)z(item)(\s*)(\()�paren-blockr! zT(responses|items|mime-types|patterns|suffixes|marks|widgets|strings|styles)(\s*)(\[)� bracket-blockz,(accessibility|setters|layout|item)(\s*)(\{)z(condition|mark|item)(\s*)(\()z\[� child-typez0([a-z_][a-z0-9_\-]*(?:::[a-z0-9_]+)?)(\s*)(:|=>)� statement�contentz\)z\]z\}�;z$(action)(\s+)(response)(\s*)(=)(\s*))r zinternal-child�response�=�:z\{)r r# )�rootr r r r$ r r) r r% r"