�
|�e � �d � d Z ddlZddlmZmZ ddlmZmZmZm Z m
Z
mZmZm
Z
dgZ G d� de� Zy)z�
pygments.lexers.tls
~~~~~~~~~~~~~~~~~~~
Lexers for the TLS presentation language.
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�words)�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�TlsLexerc
�& � e Zd ZdZdZdZg ZdgZg Ze j e j z Zdde
fdej f edd �
� ef edd �
� ej$ fdej( fd
ej* fdefdefdefdefdej4 fgiZy)r
z[
The TLS presentation language, described in RFC 8446.
.. versionadded:: 2.16
zTLS Presentation Languagez0https://www.rfc-editor.org/rfc/rfc8446#section-3�tls�rootz\s+z/[*].*?[*]/)�struct�enum�select�casez\b)�suffix)�uint8�uint16�uint24�uint32�uint64�opaquez0x[0-9a-fA-F]+z[0-9]+z"(\\.|[^"\\])*"z[.]{2}z [+\-*/&^]z[|<>=!()\[\]{}.,;:\?]z
[^\W\d]\w*N)�__name__�
__module__�__qualname__�__doc__�name�url� filenames�aliases� mimetypes�re� MULTILINE�DOTALL�flagsr r � Multiliner r �Typer
�Hex�Integerr r r r �Other�tokens� � �5/usr/lib/python3/dist-packages/pygments/lexers/tls.pyr
r
s� � ��
'�D�
<�C��I��g�G��I��L�L�2�9�9�$�E� �
�Z� �
�W�.�.�/�
�7��
F�
�
�
�N��!�")�,�,�
0� ��
�
�+�
����'�
��(�
��!�
�8�$�
%�{�3�
�D�J�J�'�'
��Fr0 )r r% �pygments.lexerr r �pygments.tokenr r r r r r
r r �__all__r
r/ r0 r1 �<module>r5 s6 ���
� ,�$� $� $� �,��$�z� $r0 |