File: //opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/__pycache__/ooc.cpython-311.pyc
�
�;f� � �h � d Z ddlmZmZmZ ddlmZmZmZm Z m
Z
mZmZm
Z
dgZ G d� de� � ZdS )z�
pygments.lexers.ooc
~~~~~~~~~~~~~~~~~~~
Lexers for the Ooc language.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
RegexLexer�bygroups�words)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�OocLexerc �� � e Zd ZdZdZdZdgZdgZdgZdZ e
dd d �
� � efdedfd
eee
ee
ej � � fd eee
ej � � fdefdefdej fdefd eee
ej � � fdej fdej fd eej e
� � fdej fdefdej fdej fdej fdej fdej fdej fdej fd efd!efd"e
fd#e
fgd$efd%efd&e
fd'e
d(fgd)�Z d*S )+r z
For Ooc source code
�Ooczhttp://ooc-lang.org/�oocz*.oocz
text/x-oocz1.2)#�class� interface� implement�abstract�extends�from�this�super�new�const�final�static�import�use�extern�inline�proto�break�continue�fallthrough�operator�if�else�for�while�do�switch�case�as�in�version�return�true�false�nullz\b)�prefix�suffixz include\b�includez'(cover)([ \t]+)(from)([ \t]+)(\w+[*@]?)z#(func)((?:[ \t]|\\\n)+)(~[a-z_]\w*)z\bfunc\bz//.*z
(?s)/\*.*?\*/zN(==?|\+=?|-[=>]?|\*=?|/=?|:=|!=?|%=?|\?|>{1,3}=?|<{1,3}=?|\.\.|&&?|\|\|?|\^=?)z(\.)([ \t]*)([a-z]\w*)z[A-Z][A-Z0-9_]+z[A-Z]\w*([@*]|\[[ \t]*\])?z/([a-z]\w*(?:~[a-z]\w*)?)((?:[ \t]|\\\n)*)(?=\()z[a-z]\w*z
[:(){}\[\];,]z0x[0-9a-fA-F]+z0c[0-9]+z0b[01]+z[0-9_]\.[0-9_]*(?!\.)z[0-9_]+z2"(?:\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\"])*"z4'(?:\\.|\\[0-9]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'�@z\.z \\[ \t\n]z[ \t]+z[\w/]+�,z[ \t]z[;\n]z#pop)�rootr7 N)!�__name__�
__module__�__qualname__�__doc__�name�url�aliases� filenames� mimetypes�
version_addedr r r r r
�Class�Functionr � Multiliner �Constant�Variabler
r �Hex�Oct�Bin�Float�Decimalr �Double�Char�tokens� � �F/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/ooc.pyr r s� � � � � � �� � �D�
�C��g�G�� �I���I��M� �U� !� */�u�
>� >� >� �
� �7�I�.�
7�
�X�g�t�W�d�D�J�
?�
?�
A�
3�
�X�g�t�T�]�
3�
3�
5�
�'�"�
�g��
�w�0�1� �!)�
+�
&����4�15��)@� )@�
A�
���/�
*�D�J�7�
?�
�X�d�m�T�
*�
*�
,�
�$�-�(� �{�+�
��
�+�
�&�*�%�
���$�
%�v�|�4�
���(�
B�
�]�
�
D�
�[�
�
�;��
�K� �
�4� �
���]/
�b ���
�;��
�t��
�t�V�$�
�c7� 7�F�F�FrS N)r>