File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/typoscript.cpython-311.pyc
�
�E�c � � � d Z ddlZddlmZmZmZmZ ddlmZm Z m
Z
mZmZm
Z
mZ g d�Z G d� de� � Z G d� d e� � Z G d
� de� � ZdS )a�
pygments.lexers.typoscript
~~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for TypoScript
`TypoScriptLexer`
A TypoScript lexer.
`TypoScriptCssDataLexer`
Lexer that highlights markers, constants and registers within css.
`TypoScriptHtmlDataLexer`
Lexer that highlights markers, constants and registers within html tags.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�include�bygroups�using)�Text�Comment�Name�String�Number�Operator�Punctuation)�TypoScriptLexer�TypoScriptCssDataLexer�TypoScriptHtmlDataLexerc
� � e Zd ZdZdZdgZdd eeej e� � fd eej
eej ej ej
� � fd eeej
ej eej ej
e� � fdefd e
fd
e
fdefdefgiZd
S )r zn
Lexer that highlights markers, constants and registers within css blocks.
.. versionadded:: 2.2
�TypoScriptCssData�typoscriptcssdata�root�(.*)(###\w+###)(.*)�%(\{)(\$)((?:[\w\-]+\.)*)([\w\-]+)(\})�+(.*)(\{)([\w\-]+)(\s*:\s*)([\w\-]+)(\})(.*)�\s+�/\*(?:(?!\*/).)*\*/�G(?<!(#|\'|"))(?:#(?!(?:[a-fA-F0-9]{6}|[a-fA-F0-9]{3}))[^\n#]+|//[^\n]*)�[<>,:=.*%+|]z[\w"\-!/&;(){}]+N)�__name__�
__module__�__qualname__�__doc__�name�aliasesr r
r �Constant�Symbolr r r �tokens� � �</usr/lib/python3/dist-packages/pygments/lexers/typoscript.pyr r s� � � � � � �� � �D�"�#�G� �
#�X�X�f�d�m�V�%L�%L�M�
5�
�X�f�m�X�t�}��m�V�]�4� 4�
5� <�
�X�f�f�m�T�]�H��m�V�]�F�<� <�
=� �T�N�
#�W�-�
W�
�
� �f�%�
�&�)�'
��F�F�Fr&