HEX
Server: Apache/2.4.67 (Debian)
System: Linux vps-b2547eb4 6.1.0-41-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
User: root (0)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pygments/lexers/__pycache__/ul4.cpython-311.pyc
�

�E�c�"��.�dZddlZddlmZmZmZmZmZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZddlmZmZmZmZddlmZgd�ZGd�d	e��ZGd
�de��ZGd�d
e��ZGd�de��ZGd�de��ZGd�de��ZdS)a
    pygments.lexers.ul4
    ~~~~~~~~~~~~~~~~~~~

    Lexer for the UL4 templating language.

    More information: https://python.livinglogic.de/UL4.html

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�DelegatingLexer�bygroups�words�include)	�Comment�Text�Keyword�String�Number�Literal�Name�Other�Operator)�	HtmlLexer�XmlLexer�CssLexer�JavascriptLexer)�PythonLexer)�UL4Lexer�HTMLUL4Lexer�XMLUL4Lexer�CSSUL4Lexer�JavascriptUL4Lexer�PythonUL4Lexerc��eZdZdZejejzZdZdgZ	dgZ
deej
ejeejej
��fdeej
ejeejej��dfdefdejfd	ed
fdeej
ejeejej��dfdeej
eje��dfd
eej
eje��dfdeej
eje��dfdefdefgd	edfdedfdefdefgdej
dfdedfdedfdedfdedfd ejfd!ejfd"ejfd#ejfd$ejfd%ejfd&ejfd'ejfd(ejfd)ejfd*ejfd+efe d,d-�.��efe d/d-�.��ej!fd0efd1ejfgdej
dfe d2d-�.��efd1efgdej
dfe d3d-�.��ej
fd1ejfgd4ej"fd5ej"fd6ej"fd7ej"fgdedfe#d8��d9efdefgdedfe#d8��d:efdefgdedfe#d8��d9efdefgdedfe#d8��d:efdefgd;�
Z$d<S)=rz<
    Generic lexer for UL4.

    .. versionadded:: 2.12
    �UL4�ul4z*.ul4z(<\?)(\s*)(ul4)(\s*)(\?>)z-(<\?)(\s*)(ul4)(\s*)([a-zA-Z_][a-zA-Z_0-9]*)?z<\?\s*note\s.*?\?>z<\?\s*doc\s.*?\?>z<\?\s*ignore\s*\?>�ignorez-(<\?)(\s*)(def)(\s*)([a-zA-Z_][a-zA-Z_0-9]*)?zK(<\?)(\s*)(printx|print|for|if|elif|else|while|code|renderblocks?|render)\bz(<\?)(\s*)(end)\b�endz(<\?)(\s*)(whitespace)\b�
whitespacez[^<]+�<z#pushz<\?\s*end\s+ignore\s*\?>z#pop�.z\?>z'''�string13z"""�string23�'�string1�"�string2z\d+\.\d*([eE][+-]?\d+)?z\.\d+([eE][+-]?\d+)?z\d+[eE][+-]?\d+z
0[bB][01]+z0[oO][0-7]+z0[xX][0-9a-fA-F]+z9@\(\d\d\d\d-\d\d-\d\d(T(\d\d:\d\d(:\d\d(\.\d{6})?)?)?)?\)z#[0-9a-fA-F]{8}z#[0-9a-fA-F]{6}z#[0-9a-fA-F]{3,4}z\d+zS//|==|!=|>=|<=|<<|>>|\+=|-=|\*=|/=|//=|<<=|>>=|&=|\|=|^=|=|[\[\]{},:*/().~%&|<>^+-])�for�in�if�else�not�is�and�orz\b)�suffix)�None�False�Truez[a-zA-Z_][a-zA-Z0-9_]*z\s+)r*r,�def�while�renderblock�renderblocks)�keep�strip�smartz\\[\\'"abtnfr]z\\x[0-9a-fA-F]{2}z\\u[0-9a-fA-F]{4}z\\U[0-9a-fA-F]{8}�
stringescapesz[^\\']+z[^\\"]+)
�rootrrr r!r=r$r%r'r)N)%�__name__�
__module__�__qualname__�__doc__�re�	MULTILINE�DOTALL�flags�name�aliases�	filenamesrr�Preprocr	�
Whitespacer
r�Functionr�Docrr�Float�Bin�Oct�Hexr
�Date�Color�Integerrr�Constant�Escaper�tokens���5/usr/lib/python3/dist-packages/pygments/lexers/ul4.pyrrs���������
�L�2�9�$�E��D��g�G��	�I�-�����$�/�7���'�/�;�;�	
�A�����$�/�7���$�-�9�9��

�&��	
�%��
�	
�&���
�A�����$�/�7���$�-�9�9��

�_�����$�/�7�C�C��	
�%�����$�/�7�C�C��

�,�����$�/�7�C�C��	
��u��
�5�M�CB
�L#�G�W�5�
(�'�6�:�
�w��
�7�O�
��W�_�f�-�
�F�J�'�
�F�J�'�
�&�)�$�
�&�)�$�
'���6�
$�f�l�3�
���.�
�F�J�'�
�V�Z�(�
!�6�:�.�
I�7�<�X�
���/�
���/�
!�7�=�1�
�V�^�$�
c�em�n�
�U�H�QV�
W�
W�
W�Y`�a�
�U�,�U�
;�
;�
;�W�=M�N�
&��-�
�T�_�%�I%
�P�W�_�f�-�
�U�O�X]�
^�
^�
^�`g�h�
�T�N�
��W�_�f�-�
�U�-�e�
<�
<�
<�g�o�N�
�T�_�%�
�#�F�M�2�
!�6�=�1�
!�6�=�1�
!�6�=�1�	
��V�V�$��G�O�$�$�
�� �
�6�N�	
��V�V�$��G�O�$�$�
�� �
�6�N�	
��6�6�"��G�O�$�$�
�� �
�6�N�	
��6�6�"��G�O�$�$�
�� �
�6�N�	
�e�e�F�F�FrYrc�2��eZdZdZdZdgZdgZ�fd�Z�xZS)rz)
    Lexer for UL4 embedded in HTML.
    zHTML+UL4zhtml+ul4z	*.htmlul4c�R��t��jttfi|��dS�N)�super�__init__rr��self�options�	__class__s  �rZr_zHTMLUL4Lexer.__init__�s*���������H�8�8��8�8�8�8�8rY�	r?r@rArBrGrHrIr_�
__classcell__�rcs@rZrr�sW����������D��l�G��
�I�9�9�9�9�9�9�9�9�9rYrc�2��eZdZdZdZdgZdgZ�fd�Z�xZS)rz(
    Lexer for UL4 embedded in XML.
    zXML+UL4zxml+ul4z*.xmlul4c�R��t��jttfi|��dSr])r^r_rrr`s  �rZr_zXMLUL4Lexer.__init__��*���������8�7�7�w�7�7�7�7�7rYrdrfs@rZrr��W����������D��k�G���I�8�8�8�8�8�8�8�8�8rYrc�2��eZdZdZdZdgZdgZ�fd�Z�xZS)rz(
    Lexer for UL4 embedded in CSS.
    zCSS+UL4zcss+ul4z*.cssul4c�R��t��jttfi|��dSr])r^r_rrr`s  �rZr_zCSSUL4Lexer.__init__�rirYrdrfs@rZrr�rjrYrc�2��eZdZdZdZdgZdgZ�fd�Z�xZS)rz/
    Lexer for UL4 embedded in Javascript.
    zJavascript+UL4zjs+ul4z*.jsul4c�R��t��jttfi|��dSr])r^r_rrr`s  �rZr_zJavascriptUL4Lexer.__init__�s*���������(�>�>�g�>�>�>�>�>rYrdrfs@rZrr�sW����������D��j�G���I�?�?�?�?�?�?�?�?�?rYrc�2��eZdZdZdZdgZdgZ�fd�Z�xZS)rz+
    Lexer for UL4 embedded in Python.
    z
Python+UL4zpy+ul4z*.pyul4c�R��t��jttfi|��dSr])r^r_rrr`s  �rZr_zPythonUL4Lexer.__init__
s*���������h�:�:�'�:�:�:�:�:rYrdrfs@rZrrsW����������D��j�G���I�;�;�;�;�;�;�;�;�;rYr) rBrC�pygments.lexerrrrrr�pygments.tokenrr	r
rrr
rrr�pygments.lexers.webrrrr�pygments.lexers.pythonr�__all__rrrrrrrXrYrZ�<module>rvs��
�
�
�	�	�	�P�P�P�P�P�P�P�P�P�P�P�P�P�P�����������������������N�N�N�N�N�N�N�N�N�N�N�N�.�.�.�.�.�.�3�3�3��r�r�r�r�r�z�r�r�r�h
9�
9�
9�
9�
9�?�
9�
9�
9�
8�
8�
8�
8�
8�/�
8�
8�
8�
8�
8�
8�
8�
8�/�
8�
8�
8�
?�
?�
?�
?�
?��
?�
?�
?�
;�
;�
;�
;�
;�_�
;�
;�
;�
;�
;rY