File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/typoscript.cpython-310.pyc
Back
o ;j� � @ s� d Z ddlZddlmZmZmZmZ ddlmZm Z m Z mZmZm Z mZ g d�ZG dd� de�ZG dd � d e�ZG d 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-present 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 @ s� e Zd ZdZdZdgZdZdZddee e je �fdee je e je je j�fd ee e je je e je je �fd efdefdefd e fde fgiZdS )r zS Lexer that highlights markers, constants and registers within css blocks. ZTypoScriptCssDataZtyposcriptcssdata�3http://docs.typo3.org/typo3cms/TyposcriptReference/�2.2�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�aliases�url� version_addedr r r �Constant�Symbolr r r �tokens� r% r% �N/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/typoscript.pyr s6 �� �����r c @ s� e Zd ZdZdZdgZdZdZddej fde fd ee eje �fd ee j eejeje j �fdee e j ejeeje j e �fdefd e fde fgiZdS )r zR Lexer that highlights markers, constants and registers within html tags. ZTypoScriptHtmlDataZtyposcripthtmldatar r r z(INCLUDE_TYPOSCRIPT)�(EXT|FILE|LLL):[^}\n"]*r r r r r z[\w"\-!/&;(){}#]+N)r r r r r r r r! r �Classr r r"