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

�;f�F����dZddlZddlmZmZmZmZmZmZm	Z	m
Z
ddlmZddl
mZmZmZmZmZmZmZmZmZddgZGd�d	e��ZGd
�de��ZGd�de��ZdS)z�
    pygments.lexers.c_cpp
    ~~~~~~~~~~~~~~~~~~~~~

    Lexers for C/C++ languages.

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�include�bygroups�using�this�inherit�default�words)�get_bool_opt)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�CLexer�CppLexerc�J	�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
e
�de�d�Zd
e
jdfde
jdfdezdzeee��e
j��dfdezdzeee��e
j��dfdezdzeeejee��fdefdefdefe
e
jfee
jfde
jfged��ed��deeje��dfdeejejejej��fdezd zezd!zezd"zezd#zezd$zejfd%ezd zezd!zezd"zezd&zezd'zejfd(ezd)zezd*zezd+zezd,zejfd-ezezejfd.ezej fd/ezej!fd0ezezej"fd1e#fd2efd3ej$feefge%d4d5d6�7��e&j'fe%d8d6�9��e&j(fgd:ee&e��d;fd<e&d=fe%d>d6�9��e&fe%d?d6�9��e&j'fd@e&j'fe%dAd5d6�7��e&j'fgedB��ed��dCe	zdDzezdEze	zdEzezdFzezdGzeee��eedB�H��ej)eedB�H��ee��eedB�H��ee��e��dIfdCe	zdDzezdEze	zdEzezdFzezdJzeee��eedB�H��ej)eedB�H��ee��eedB�H��ee��e��fed��e*dK��gedB��edL��dMefdNedOfgedB��edL��dPefdQedRfdMedOfgdSedOfdTej+fdUefdefdVefgdCezdWzezdXzeee��e
jee��e
j,e
j��fdCezdWzezdYzeee��e
jee��e
j,e
j��fdZe
jfd[e
jfd\e
jdOfd]e
jfd^e
jfde
jdOfgd_e
jdRfd`e
jdOfdae
jdOfdbe
fgeej-dOfdcedOfe*dO��gddedOfeej.fedB��edL��gde�Z/hdf�Z0hdg�Z1hdh�Z2hdi�Z3dj�Z4dndl�Z5dmS)o�CFamilyLexerzg
    For C family source code.  This is used as a base class to avoid repetitious
    definitions.
    z\s*(?:/[*].*?[*]/\s*)?z[0-9a-fA-F](\'?[0-9a-fA-F])*z
\d(\'?\d)*z!(([uU][lL]{0,2})|[lL]{1,2}[uU]?)?z4(?!\d)(?:[\w$]|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8})+z7(?!\d)(?:[\w$]|\\u[0-9a-fA-F]{4}|\\U[0-9a-fA-F]{8}|::)+z//(?:.|(?<=\\)\n)*\nz5/(?:\\\n)?[*](?:[^*]|[*](?!(?:\\\n)?/))*[*](?:\\\n)?/z\s*(?:(?:(?:z)|(?:z))\s*)*z^#if\s+0�if0z^#�macroz^(z
)(#if\s+0)z)(#)z4(^[ \t]*)(?!(?:public|private|protected|default)\b)(z)(\s*)(:)(?!:)z\nz[^\S\n]+z\\\nz/(\\\n)?[*][\w\W]*�keywords�typesz([LuU]|u8)?(")�stringzA([LuU]|u8)?(')(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])(')z0[xX](z\.z|\.�|z
)[pP][+-]?z[lL]?z(-)?(z
)[eE][+-]?z[fFlL]?z(-)?((z\.(z)?|\.z)[fFlL]?)|(z[fFlL])z	(-)?0[xX]z(-)?0[bB][01](\'?[01])*z(-)?0(\'?[0-7])+z(-)?z[~!%^&*+=|?:<>/-]z
[()\[\],.]z(true|false|NULL)\b)�int8�int16�int32�int64�wchar_t�__�\b��prefix�suffix)�bool�int�long�float�short�double�char�unsigned�signed�void�_BitInt�__int128�r(z(struct|union)(\s+)�	classnamezcase\b�
case-value)�asm�auto�break�const�continuer	�do�else�enum�extern�for�goto�if�register�
restricted�return�sizeof�struct�static�switch�typedef�volatile�while�union�thread_local�alignas�alignof�
static_assert�_Pragma)�inline�_inline�__inline�naked�restrict�threadz(__m(128i|128d|128|64))\b)r8�based�except�stdcall�cdecl�fastcall�declspec�finally�try�leave�w64�	unaligned�raise�noop�
identifier�forceinline�assume�
whitespace�(z
(?:[&*\s])+)(z)(z)(\([^;"\')]*?\))(z)([^;{/"\']*)(\{))�state�functionz)([^;/"\']*)(;)�	statement�
statementsz\}z[{;]�#pop�;z\{z#push�"zO\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})z	[^\\"\n]+z\\z)(include)(z)("[^"]+")([^\n]*)z)(<[^>]+>)([^\n]*)z[^/\n]+z/[*](.|\n)*?[*]/z//.*?\n�/z	(?<=\\)\nz^\s*#if.*?(?<!\\)\nz^\s*#el(?:se|if).*\nz^\s*#endif.*?(?<!\\)\nz.*?\n�\s*(?=>)z(?<!:)(:)(?!:))rjrorr�rootrnrmrrrr6r7>�DIR�FILE�div_t�off_t�fpos_t�ldiv_t�size_t�time_t�wint_t�clock_t�jmp_buf�ssize_t�va_listr#�wctype_t�	mbstate_t�	ptrdiff_t�	wctrans_t�sig_atomic_t>�int8_t�int16_t�int32_t�int64_t�uint8_t�intmax_t�intptr_t�uint16_t�uint32_t�uint64_t�	uintmax_t�	uintptr_t�int_fast8_t�int_fast16_t�int_fast32_t�int_fast64_t�int_least8_t�uint_fast8_t�
int_least16_t�
int_least32_t�
int_least64_t�
uint_fast16_t�
uint_fast32_t�
uint_fast64_t�
uint_least8_t�uint_least16_t�uint_least32_t�uint_least64_t>�id_t�dev_t�gid_t�ino_t�key_t�pid_t�sig_t�uid_t�mode_t�nfds_t�rlim_t�timer_t�sigset_t�sigval_t�	clockid_t�	cpu_set_t�	cpumask_t�	siginfo_t�	socklen_t�sighandler_t>%�
atomic_int�atomic_bool�atomic_char�atomic_long�atomic_uint�atomic_llong�atomic_schar�atomic_short�atomic_uchar�atomic_ulong�
atomic_size_t�
atomic_ullong�
atomic_ushort�atomic_wchar_t�atomic_char16_t�atomic_char32_t�atomic_intmax_t�atomic_intptr_t�atomic_ptrdiff_t�atomic_uintmax_t�atomic_uintptr_t�atomic_int_fast8_t�atomic_int_fast16_t�atomic_int_fast32_t�atomic_int_fast64_t�atomic_int_least8_t�atomic_uint_fast8_t�atomic_int_least16_t�atomic_int_least32_t�atomic_int_least64_t�atomic_uint_fast16_t�atomic_uint_fast32_t�atomic_uint_fast64_t�atomic_uint_least8_t�atomic_uint_least16_t�atomic_uint_least32_t�atomic_uint_least64_tc���t|dd��|_t|dd��|_t|dd��|_t|dd��|_tj|fi|��dS)N�stdlibhighlightingT�c99highlighting�c11highlighting�platformhighlighting)rr�r�r�r�r�__init__)�self�optionss  �H/opt/alt/python311/lib/python3.11/site-packages/pygments/lexers/c_cpp.pyr�zCFamilyLexer.__init__�sv��".�w�8L�d�"S�"S���+�G�5F��M�M���+�G�5F��M�M���$0��:P�RV�$W�$W��!���D�,�,�G�,�,�,�,�,��ruc#�JK�tj|||��D]�\}}}|turs|jr||jvr
t
j}nV|jr||jvr
t
j}n9|j	r||j
vr
t
j}n|jr||jvrt
j}|||fV���dS)N)
r�get_tokens_unprocessedrr��stdlib_typesr�Typer��	c99_typesr��c11_atomic_typesr��linux_types)r��text�stack�index�token�values      r�r�z#CFamilyLexer.get_tokens_unprocessed�s������1�$��e�D�D�	&�	&��E�5�%���}�}��*�)�u��8I�/I�/I�#�L�E�E��)�)�e�t�~�.E�.E�#�L�E�E��)�)�e�t�7L�.L�.L�#�L�E�E��.�)�5�D�<L�3L�3L�#�L�E����%�%�%�%�%�	&�	&r�N)r�)6�__name__�
__module__�__qualname__�__doc__�_ws1�_hexpart�_decpart�
_intsuffix�_ident�_namespaced_ident�_comment_single�_comment_multiline�_possible_commentsr
�Preprocrrrrr�Labelrr�Single�	Multilinerr�Affix�Charr�Float�Hex�Bin�Oct�Integerr�Builtinr
r�Reservedr��Functionr	�Escape�PreprocFile�Class�Constant�tokensr�r�r�r�r�r��r�r�rrs���������%�D�/�H��H�5�J�E�F�R��.�O�Q��[��Z�Z�?Q�Z�Z�Z��
�'�/�5�1�
�7�?�G�,�
�D�[�=�
(�
�X�e�e�D�k�k�7�?�
3�
3�U�
<�
�D�[�6�
!�
�X�e�e�D�k�k�7�?�
3�
3�W�
>���	�/�	/�
�X�j�$�*�j�+�
F�
F�
H��J��
�*�%�
�d�O�
�g�n�-�
��!2�3�
"�G�$5�6�/
�4
�G�J����G�G���
�����v� >� >��I�
Q�
�X�f�l�F�K���f�k�
J�
J�
L���
!�E�
)�H�
4�v�
=��
H�
����,�-�/7�8�:B�C�DJ�L�
R���
 �5�
(�8�
3�f�
<�x�
G�$�
N�
��%�&�(0�1�3=�>�?E�|�
M�
��
!�F�
*�X�
5��
@�
��&�'�)1�2�4>�?�@F��
N�
�H�
$�z�
1�6�:�>�
'�*�
4�f�j�A�
 �:�
-�v�z�:�
�x�
�*�
,�f�n�=�
!�8�,�
�K�(�
#�T�\�2�
�T�N�-
�2�U�A�%� �"�"�"�#*�#3�
5�
�U� �(-�/�/�/�07��
>�
�$�X�X�g�z�%B�%B�K�P�
���.�
�U�V�
 �!�!�!�
#*�
+��U��&+�-�-�-�.5�.>�
@�*�7�+;�<�
�U�7�
�U�,�,�,�
.5�-=�
?�
�,
�G�L�!�!��G�J���
�%�
%�)��&�'�*��%�&�)��'�'�*��
'�'�
*!�!��X�e�e�D�k�k�5�5��\�#B�#B�#B��m�U�U�4�|�%D�%D�%D��e�D�k�k�5�5��\�#B�#B�#B��e�D�k�k�;�0�0��
��%�
%�)��&�'�*��%�&�)��'�'�*��
'�'�
*���X�e�e�D�k�k�5�5��\�#B�#B�#B��m�U�U�4�|�%D�%D�%D��e�D�k�k�5�5��\�#B�#B�#B��e�D�k�k�;�0�0�

1�
�G�G����G�K� � �;
�@
�G�L�!�!��G�L�!�!�
�K� �
�k�6�*�	
�
�G�L�!�!��G�L�!�!�
�+��
�K��)�
�K��(�
��6�6�"�<�=C�]�
L�
�6�"�
�f��
�F�O�

��$�Y�~�
%�d�
*�+@�
@�����t���g�o�u�u�T�{�{� �,�g�n�>�>�
?��$�Y�~�
%�d�
*�+@�
@�����t���g�o�u�u�T�{�{� �,�g�n�>�>�
?����)�
 �'�"3�4�
����0�
�7�?�#�
�7�?�+�
�G�O�V�,�

�$�W�_�g�>�
$�g�o�v�>�
&����@�
�w��	
��T�Z��(�
�$��'��G�F�O�O�	
���V�4�
�T�]�#��G�L�!�!��G�L�!�!�	
�{c�c�F�J8�8�8�L�:�:�:�I�A�A�A�K�
C�
C�
C��-�-�-�&�&�&�&�&�&r�rc��eZdZdZdZdgZgd�Zgd�ZdZdZ	dZ
ed	d
���efe
gedd
���ejfe
gd
�Zd�ZdS)ra�
    For C source code with preprocessor directives.

    Additional options accepted:

    `stdlibhighlighting`
        Highlight common types found in the C/C++ standard library (e.g. `size_t`).
        (default: ``True``).

    `c99highlighting`
        Highlight common types found in the C99 standard library (e.g. `int8_t`).
        Actually, this includes all fixed-width integer types.
        (default: ``True``).

    `c11highlighting`
        Highlight atomic types found in the C11 standard library (e.g. `atomic_bool`).
        (default: ``True``).

    `platformhighlighting`
        Highlight common types found in the platform SDK headers (e.g. `clockid_t` on Linux).
        (default: ``True``).
    �C�c)z*.cz*.hz*.idcz*.x[bp]m)ztext/x-chdrztext/x-csrczimage/x-xbitmapzimage/x-xpixmapz6https://en.wikipedia.org/wiki/C_(programming_language)�皙�����?)
�_Alignas�_Alignof�	_Noreturn�_Generic�
_Thread_local�_Static_assert�
_Imaginary�noreturn�	imaginary�complexr%r5)�_Bool�_Complex�_Atomic)rrc��tjd|tj��rdStjd|tj��rdSdS)Nz^\s*#include [<"]rz
^\s*#ifn?def )�re�search�	MULTILINE�r�s r��analyse_textzCLexer.analyse_text;sH��
�9�)�4���>�>�	��3�
�9�%�t�R�\�:�:�	��3�	�	r�N)r�r�r�r��name�aliases�	filenames�	mimetypes�url�
version_added�priorityr
rrr�rr,rr�r�rrs���������,�D��e�G�3�3�3�I�T�T�T�I�
B�C��M��H��U�T����� '�
(�
�
��U�3�E�
B�
B�
B�G�L�Q��
���F�����r�c��eZdZdZdZdZddgZgd�ZddgZd	Z	d
Z
deej
eejejeeje��fegeedd
d���ejfdejfged��edd���efejejdfdedfed��gdeee��dfedd���efdedfdeee��dfegdejfegdedfd ejfejejfed!��gd"�Zd#�Z d$S)%ra�
    For C++ source code with preprocessor directives.

    Additional options accepted:

    `stdlibhighlighting`
        Highlight common types found in the C/C++ standard library (e.g. `size_t`).
        (default: ``True``).

    `c99highlighting`
        Highlight common types found in the C99 standard library (e.g. `int8_t`).
        Actually, this includes all fixed-width integer types.
        (default: ``True``).

    `c11highlighting`
        Highlight atomic types found in the C11 standard library (e.g. `atomic_bool`).
        (default: ``True``).

    `platformhighlighting`
        Highlight common types found in the platform SDK headers (e.g. `clockid_t` on Linux).
        (default: ``True``).
    zC++zhttps://isocpp.org/�cppzc++)
z*.cppz*.hppz*.c++z*.h++z*.ccz*.hhz*.cxxz*.hxxz*.Cz*.Hz*.cpz*.CPPz*.tppz
text/x-c++hdrz
text/x-c++srcrrz<((?:[LuU]|u8)?R)(")([^\\()\s]{,16})(\()((?:.|\n)*?)(\)\3)("))�virtual_inheritance�uuidof�super�single_inheritance�multiple_inheritance�	interface�eventr$r%r&z#__(offload|blockingoffload|outer)\brj)�classrHr5rprtz(class|concept|typename)(\s+)r6)4�catch�
const_cast�delete�dynamic_cast�explicit�export�friend�mutable�new�operator�private�	protected�public�reinterpret_castr=�
__restrict�static_cast�templater�throw�throwsra�typeidr�virtual�	constexpr�nullptr�concept�decltype�noexcept�override�final�	constinit�	consteval�co_await�	co_return�co_yield�requires�import�module�typename�and�and_eq�bitand�bitor�compl�not�not_eq�or�or_eq�xor�xor_eqznamespace\b�	namespacez(enum)(\s+)�enumnamezchar(16_t|32_t|8_t)\bz[;{])rpruzinline\brn)rorurorrrnc�b�tjd|��rdStjd|��rdSdS)Nz#include <[a-z_]+>g�������?zusing namespace g�������?)r(r)r+s r�r,zCppLexer.analyse_text�s@��
�9�)�4�0�0�	��3�
�9�'��.�.�	��3�	�	r�N)!r�r�r�r�r-r1r.r/r0r2r3rrr�	Delimiterrr
rr
�Pseudorrr�rrrr	rr�r�	Namespacerr,rr�r�rrBs���������,�D�
�C��e�n�G�9�9�9�I�!�/�2�I��M��H�
M�
�X�f�l�F�F�,<�f�>N��f�.��8�8�
9�
�
�
�
�U�B���/�/�/�07�0@�
B�4�W�^�D�
�
�G�L�!�!�
�U�&�u�
5�
5�
5�w�?�
�
 �$�*�f�5�
�$��'��G�F�O�O�
�.�x�x���/L�/L�k�Z�
�U�	:��
�
�
�&�

'��W�k�2�
�X�X�g�z�:�:�J�G��
�$&�w�|�4��
�
�k�#3�4�
�'�*�+�
�
 �$�.�1��G�K� � �	
�_5�5�F�n����r�)r�r(�pygments.lexerrrrrrrr	r
�
pygments.utilr�pygments.tokenrr
rrrrrrr�__all__rrrrr�r��<module>rxs�����
�	�	�	�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�"�&�&�&�&�&�&�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$�$��Z�
 ��u&�u&�u&�u&�u&�:�u&�u&�u&�p1�1�1�1�1�\�1�1�1�h\�\�\�\�\�|�\�\�\�\�\r�