Current File : //proc/self/root/lib/python3/dist-packages/pygments/lexers/__pycache__/typoscript.cpython-312.pyc |
�
|�e � � � 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� Zy)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-2023 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
�B � e Zd ZdZdZdgZdd eeej e� fd eej eej ej ej � fd eeej ej eej ej e� fdefd e
fd
e
fdefdefgiZy
)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�f�d�m�m�V�%L�M�
5�
�f�m�m�X�t�}�}��m�m�V�]�]�4�
5� <�
�f�f�m�m�T�]�]�H��m�m�V�]�]�F�<�
=� �T�N�
#�W�-�
W�
�
� �f�%�
�&�)�'
��Fr&