HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/__pycache__/dylan.cpython-311.pyc
�

�;f�(���dZddlZddlmZmZmZmZmZmZddl	m
Z
mZmZm
Z
mZmZmZmZmZmZgd�ZGd�de��ZGd�d	e��ZGd
�de��ZdS)z�
    pygments.lexers.dylan
    ~~~~~~~~~~~~~~~~~~~~~

    Lexers for the Dylan language.

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Lexer�
RegexLexer�bygroups�
do_insertions�default�line_re)
�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic�Literal�
Whitespace)�
DylanLexer�DylanConsoleLexer�
DylanLidLexerc��eZdZdZdZdZdgZgd�ZdgZdZ	e
jZhd�Z
hd	�Zhd
�Zhd�ZdZd
�Zdefdejfdeejeee��fed��gdefdeeje��fdejdfdedfdejfdejfdej fdej!fdej"fdej#fdezdzeej$eej%��fdeej$eej%��fd ezej$fd!e&fd"efd#e'fd$ej(d%fd&e)fed'ze)fd(ezd)zej*fd*ezd*zej+j,fd+ezej-feefgd,ejfdejd-fd.ejd/fd0ejfgdej(d/fd1ej(fgded/fd2ej.fd3efd4efd5efgd6�Z/d7S)8rz!
    For the Dylan language.
    �Dylan�http://www.opendylan.org/�dylan)z*.dylanz*.dylz*.intrztext/x-dylanz0.7>%�inline-only�
compiler-open�
each-subclass�compiler-sideways�open�slot�block�class�macro�domain�import�inline�method�module�sealed�thread�dynamic�exclude�generic�handler�keyword�library�primary�virtual�abstract�concrete�constant�function�instance�required�sideways�subclass�variable�	exception�	inherited�	interface�	singleton>�by�if�in�to�end�for�let�use�case�else�from�then�when�above�begin�below�local�until�while�create�define�elseif�export�rename�select�signal�unless�cleanup�finally�	otherwise�
afterwards>�<=�==�>=�~=�~==�*�&�+�-�<�=�>�^�|�~>��add!�any?�odd?�even?�fill!�sort!�zero?�empty?�every?�floor/�map-as�one-of�round/�add-new�logbit?�member?�remove!�add-new!�ceiling/�false-or�find-key�key-test�map-into�pop-last�reverse!�subtype?�	choose-by�	instance?�	integral?�	negative?�	positive?�	push-last�	truncate/�
add-method�
check-type�
type-union�aref-setter�do-handlers�find-method�head-setter�last-setter�next-method�object-hash�remove-key!�size-setter�tail-setter�as-lowercase�as-uppercase�first-setter�key-sequence�object-class�return-query�shallow-copy�third-setter�
as-lowercase!�
as-uppercase!�
copy-sequence�
remove-method�
restart-query�
second-setter�
type-for-copy�concatenate-as�element-setter�table-protocol�default-handler�return-allowed?�row-major-index�all-superclasses�merge-hash-codes�type-error-value�direct-subclasses�remove-duplicates�replace-elements!�slot-initialized?�applicable-method?�function-arguments�remove-duplicates!�return-description�direct-superclasses�replace-subsequence!�subsequence-position�function-specializers�function-return-values�condition-format-string�generic-function-methods�type-error-expected-type�sorted-applicable-methods�condition-format-arguments�forward-iteration-protocol�backward-iteration-protocol�#generic-function-mandatory-keywords�as�do�abs�add�ash�gcd�lcm�map�max�min�pop�aref�head�last�list�make�pair�push�rank�size�sort�tail�abort�apply�break�curry�error�first�floor�range�round�third�union�always�cerror�choose�logand�logior�lognot�logxor�modulo�rcurry�reduce�remove�secondrX�values�vector�ceiling�compose�conjoin�disjoin�element�limited�reduce1�reverse�identity�negative�truncate�	dimension�	remainderr>�
complement�
dimensions�
initialize�concatenate�intersectionz\\?[\w!&*<>|^$%@\-+~?/=]+c#�NK�tj||��D]�\}}}|turv|���}||jvr|tj|fV��>||jvr
|t|fV��T||jvr|tj|fV��o||j	vr
|t|fV���|||fV���dS)N)r�get_tokens_unprocessedr�lower�builtins�Builtin�keywordsr�	functions�	operatorsr
)�self�text�index�token�value�lowercase_values      �H/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/dylan.pyr
z!DylanLexer.get_tokens_unprocessed]s�����#-�#D�T�4�#P�#P�	&�	&��E�5�%���}�}�"'�+�+�-�-��"�d�m�3�3����u�4�4�4�4��"�d�m�3�3���%�/�/�/�/��"�d�n�4�4����u�4�4�4�4��"�d�n�4�4���5�0�0�0�0�����%�%�%�%�%�	&�	&��\s+z//.*?\nz)([a-z0-9-]+)(:)([ \t]*)(.*(?:\n[ \t].+)*)�code�(//.*?)(\n)z/\*�comment�"�stringz/'(\\.|\\[0-7]{1,3}|\\x[a-f0-9]{1,2}|[^\\\'\n])'z#b[01]+z#o[0-7]+z0[-+]?(\d*\.\d+(e[-+]?\d+)?|\d+(\.\d*)?e[-+]?\d+)z[-+]?\d+z#x[0-9a-f]+z(\?z6)(:)(token|name|variable|expression|body|case-body|\*)z9(\?)(:)(token|name|variable|expression|body|case-body|\*)z\?z,(=>|::|#\(|#\[|##|\?\?|\?=|\?|[(){}\[\],.;])z:=z#[tf]z#"r.z#[a-z0-9-]+�:rgriz\*z\$z[^*/]+z#pushz\*/z#popz[*/]z[^\\"]+z,\\([\\abfnrtv"\']|x[a-f0-9]{2,4}|[0-7]{1,3})z	[^\\"\n]+z\\\nz\\)�rootrrr.rN)0�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypes�
version_added�re�
IGNORECASE�flagsrrrr�
valid_namer
rr	�Singlerr�	Attributer
r
r�	Multiline�Charr�Bin�Oct�Float�Integer�Hex�Tagr
rr�Symbolr�Class�Variable�Global�Constant�Escape�tokens�rrrrs����������D�
%�C��i�G�.�.�.�I�� �I��M��M�E�>�>�>�H����H����I�"�"�"�I�H1�J�&�&�&�*�Z� ����(�:������:�v�F�F�
H�
�G�F�O�O�
��Z� ��X�X�g�n�j�A�A�B��W�&�	�2��6�8�$�
?���M����$��&�*�%�A�&�,�O��&�.�)��V�Z�(��j�
 �$C�C�����8�T�\�:�:�
<�J�����8�T�\�:�:�
<�
�Z�
���*�=�k�J��H���w���F�M�9�-��W�%��#�
�w�'��:�
��
#�T�Z�0��Z�
�%�
'���)=�>��Z�
���/����EC
�J��)�*�
�W�&��0�
�W�&��/�
�g�'�(�	
��6�=�&�)�
���'�
�
�6�6�"�
<�f�m�L�
�6�"�
�f��
�F�O�
�yc�c�F�F�Frrc
��eZdZdZdZddgZddgZdgZdZd	Z	e
jZd
de
fdeeje
��fd
eejee
e��fgiZdS)rz?
    For Dylan LID (Library Interchange Definition) files.
    �DylanLIDz	dylan-lid�lidz*.lidz*.hdpztext/x-dylan-lidr�1.6r rrz"(.*?)(:)([ \t]*)(.*(?:\n[ \t].+)*)N)r!r"r#r$r%r'r(r)r&r*r+r,r-rrr	r/rr0r
r
r?r@rrrr�s����������D��E�"�G��'�"�I�#�$�I�
%�C��M��M�E�	�
�Z� ��X�X�g�n�j�A�A�B�3�
�X�d�n�h�
�F�
C�
C�
E�

��F�F�Frrc�\�eZdZdZdZddgZdgZdgZdZdZ	d	Z
ejd
��Z
d�ZdS)
rze
    For Dylan interactive console output.

    This is based on a copy of the RubyConsoleLexer.
    z
Dylan sessionz
dylan-consolez
dylan-replz*.dylan-consoleztext/x-dylan-consolerrDzdylan-console/consolez\?| c	#�xK�tdi|j��}d}g}tj|��D]�}|���}|j�|��}|�\|���}|�t|��dtj|d|�fgf��|||d�z
}��|r-t||�
|����Ed{V��d}g}|���tj|fV���|r+t||�
|����Ed{V��dSdS)N�rr@)r�optionsr�finditer�group�
_prompt_re�matchrC�append�lenr�Promptrr
�start�Output)	rr�dylexer�curcode�
insertionsrL�line�mrCs	         rr
z(DylanConsoleLexer.get_tokens_unprocesseds������,�,�t�|�,�,�����
��%�d�+�+�	:�	:�E��;�;�=�=�D���%�%�d�+�+�A��}��e�e�g�g���!�!�3�w�<�<�%&����T�c�T�
�$C�#D�#F�G�G�G��4����:�%����$�,�Z�-4�-K�-K�G�-T�-T� V� V�V�V�V�V�V�V�V� �G�!#�J��k�k�m�m�W�^�T�9�9�9�9�9��	N�$�Z�%,�%C�%C�G�%L�%L�N�N�
N�
N�
N�
N�
N�
N�
N�
N�
N�	N�	NrN)r!r"r#r$r%r'r(r)r&r*�_exampler+�compilerKr
r@rrrr�ss��������
�D���-�G�"�#�I�'�(�I�
%�C��M�&�H����G�$�$�J�N�N�N�N�Nrr)r$r+�pygments.lexerrrrrrr�pygments.tokenr	r
rrr
rrrrr�__all__rrrr@rr�<module>r\s�����
�	�	�	�����������������6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�6�?�
>�
>��}�}�}�}�}��}�}�}�@�����J����8&N�&N�&N�&N�&N��&N�&N�&N�&N�&Nr