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__/nimrod.cpython-311.pyc
�

�;f
��x�dZddlZddlmZmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZmZmZdgZGd�de��ZdS)z�
    pygments.lexers.nimrod
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Nim language (formerly known as Nimrod).

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include�default�bygroups)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Error�NimrodLexerc��eZdZdZdZdZddgZddgZdgZd	Z	e
je
jzZ
d
�Zgd�Zgd�Zgd
�Zgd�Zdejdfdejfdejdfdefdejdfdefdefdeejeej��dfdedfdejdfded fd!ejd"fd#ee���d$�ej fd%eeej��d&fd#ee���d$�efd'�!egd(�����ej"fd)ej#fd#ee���d$�e$j%fd#ee���d$�ej&fd*e$fd+e'j(d,fd-e'j)d.fd/e'j*d.fd0e'j+d.fd1e'j,d.fd2ejfd3e-fgd4ej.fd!ejd5fd6ejfgd7ej/fd8efd9efd:efgd;ejfdejd<fd=ejd5fd>ejfgd;ejfdejd<fd?ejd5fd>ejfgd@ej.fded5fe0dA��gdBed5fdCej.fe0dA��gdejd5fe0dA��dDejfgdEe$j1d5fdFe$j1d5fgdDefgdGe'j(fdHe'j(fe2d5��gdIe'j(fe2d5��gdJe'j,j3fdKe'j,fe2d5��gdLefdMejfdNed5fdOe$j4fgdPefdMejfdQejd5fdRejfgdS�Z5dTS)Urz
    For Nim source code.
    �Nimrodzhttp://nim-lang.org/�nimrod�nimz*.nimz*.nimrodz
text/x-nimz1.5c���g}g}|D][}|D],}|�|��|�d���-|�d�|����g}�\d�|��S)Nz_?��|)�append�join)�words�newWords�new�word�chs     �I/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/nimrod.py�underscorizezNimrodLexer.underscorize"s��������	�	�D��
!�
!���
�
�2�����
�
�4� � � � ��O�O�B�G�G�C�L�L�)�)�)��C�C��x�x��!�!�!�)8�addr�and�as�asm�bind�block�break�case�cast�concept�const�continue�	converter�defer�discard�distinct�div�do�elif�else�end�enum�except�export�finally�for�if�in�yield�	interface�is�isnot�iterator�let�mixin�mod�not�notin�object�of�or�out�ptr�raise�ref�return�shl�shr�static�try�tuple�type�using�when�while�xor)�nil�true�false)r#rJrFrYrPrQr2rEr=rGr@rA)�int�int8�int16�int32�int64�float�float32�float64�bool�char�range�array�seq�set�stringz##\[�
doccommentz##.*$z#\[�commentz#.*$z\{\.�pragmaz[*=><+\-/@$~&%!?|\\\[\]]z<\.\.|\.|,|\[\.|\.\]|\{\.|\.\}|\(\.|\.\)|\{|\}|\(|\)|:|\^|`|;z(\n\s*)(of)(\s)�
casebranchz
(?:[\w]+)"�rdqsz"""�tdqs�"�dqs�'�chars�(z)\bz0(proc|func|method|macro|template)(\s)(?![(\[\]])�funcnamez({})\b)�from�importrr9z(v_?a_?r)\bz&\b((?![_\d])\w)(((?!_)\w)|(_(?!_)\w))*z![0-9][0-9_]*(?=([e.]|\'f(32|64))))�float-suffix�float-numberz0x[a-f0-9][a-f0-9_]*�
int-suffixz0b[01][01_]*z0o[0-7][0-7_]*z[0-9][0-9_]*z\s+z.+$z-\\([\\abcefnrtvl"\']|x[a-f0-9]{2}|[0-9]{1,3})z#pop�.z(?<!\$)\$(\d+|#|\w+)+z[^\\\'"$\n]+z[\'"\\]z\$z[^\]#]+z#pushz\]##z[\]#]z\]#z0\\([\\abcefnrtvl"\']|\n|x[a-f0-9]{2}|[0-9]{1,3})�stringsz"(?!")z""z\nz$((?![\d_])\w)(((?!_)\w)|(_(?!_)\w))*z`.+`z\.(?!\.)[0-9_]*[f]*ze[+-]?[0-9][0-9_]*z
\'f(32|64)z
\'i(32|64)z	\'i(8|16)�,z[\n ]+�:z\w+|[^:]z[:,]z\.\}z
\w+|\W+|[^.}])�rootrur~rlrmrsrprqrw�nlr{rzr|rornN)6�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypes�
version_added�re�	MULTILINE�
IGNORECASE�flagsr �keywords�keywordsPseudo�opWords�typesr�Docr�	Multiline�Otherr	rrr�
Whitespacer
�Double�Char�Word�format�	Namespace�Declarationr�Builtin�Pseudor
�Float�Hex�Bin�Oct�Integerr�Escape�Interpolr�Functionr�Long�Label�tokens�r!rrrs����������D�
 �C����G��*�%�I���I��M��L�2�=�(�E�	"�	"�	"�	�	�	�H����N����G�

�
�
�E��f�j�,�/�
�v�z�"�
�W�&�	�2�
�g���f�l�H�-�)�(�3�
L�
�
� ���$�/�7�*.�/�";�";�<H�
J��F�F�+�
�V�]�F�+�
�&�%� ��&�+�w�'�-�,�,�w�'�'�
,�
,�
,�h�m�<�
@�
�X�g�t��
/�
/��
=�
-�,�,�x�(�(�
-�
-�
-�w�7�
�
�
�l�l�+R�+R�+R�S�S�
T�
T�
�
�
 �
�W�0�1�
*�,�,�u�%�%�
*�
*�
*�D�L�9�
3�,�,�~�.�.�
3�
3�
3�W�^�D�7��=�2�
�\�;�
=�
$�f�j�,�?�
�f�j�,�7�
��
�L�9�
�f�n�l�;��T�_�%�
�U�O�g4
�l>�v�}�M�
�6�;��'�
�6�;��
�&�v��7�
�f�%�
�� �
�F�O�

����$�
�f�j�'�*�
�f�j�&�)�
�v�z�"�	
���*�+�
�W�&��0�
�W�&��/�
�w�(�)�	
�A�
�]�
�
�6�6�"��G�I���	
����'�
�F�M�"��G�I���
��V�]�F�+��G�I���
�F�M�"�
�5�d�m�V�L�
�d�m�V�,�
�
�F�O�
�$�V�\�2�
"�F�L�1��G�F�O�O�
��F�L�)��G�F�O�O�
�
�F�N�/�0�
�6�>�*��G�F�O�O�
��;��
���(�
�8�V�$�
�$�*�%�	
��d�O�
���(�
�f�l�F�+�
�v�|�,�	
�wA�A�F�F�Fr!)r�r��pygments.lexerrrrr�pygments.tokenrrr	r
rrr
rr�__all__rr�r!r�<module>r�s�����
�	�	�	�A�A�A�A�A�A�A�A�A�A�A�A������������������������/��s�s�s�s�s�*�s�s�s�s�sr!