HOME


Mini Shell 1.0
DIR: /lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/felix.cpython-312.pyc
�

|�e�%��p�dZddlmZmZmZmZmZmZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZdgZGd�de�Zy)z�
    pygments.lexers.felix
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Felix language.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�include�bygroups�default�words�combined)	�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�
FelixLexerc"�V�eZdZdZdZdZddgZddgZdgZd	Z	d
Z
dZdZd
Z
dZdZdZdZdZided�edd��edfedd��edfdedfee
d��efeed��ej.feed��ej0fee
d��ej2feed��ej4fed�dej8fdej8fd ej8fd!ezej:fd"ezej<fd#ezej>fd$ezej@fd%e!d&fd'e!d(fd)e!d*fd+e!d,fd-e!e"d.d&�fd/e!e"d.d(�fd0e!e"d.d*�fd1e!e"d.d,�fd2e#fd3ejHfd4d5jKe�zejLfd4d5jKe�zejLjNfd6efg�dd7e(fed8�d9e)e*jVe(e*jVe(e*jV�d:fd;e*jVd<fg�dd4d5jKe�ze,jZfd=e,fg�d8d>e*j\fd?e*j^d@fg�d@dAe*j^fd?e*j^dBfdCe*j^dDfdEe*j^fg�d:dFe)e(e*e(�dBfdGe)e(e*e(�dDfdHe)e*e(�fg�d<ed8�dIe)e*jVe(e!�dDfdJe)e*jVe(e!�dDfdKe)e*jVe(e!�dDfdLe*jVfdMe*jVfdNe*jVfdOe(dDfg�ded�d6ej`dDfdPe1dDfg�ded�d6ejddDfdQe1dDfg�ded�dRe#dSfe3dT�g�dTed�dUejhdVfg�dWed�ed�dRe#dBfdXe#dDfdYe#fdZefd6efg�d.d[e!jjfg�d\d]e!jlfd^e!fd_e!fd`e!fg�dadOe!fg�d*dbe!dDfdce!jjfed\�g�d,dde!dDfdee!jjfed\�g�dfe!dDfed\�eda�gdge!dDfed\�eda�gdh��Z7yi)jrz;
    For Felix source code.

    .. versionadded:: 1.2
    �Felixzhttp://www.felix-lang.org�felix�flxz*.flxz*.flxhztext/x-felix)�elif�else�endif�if�ifdef�ifndef)H�_�_deref�all�as�assert�attempt�call�callback�case�caseno�cclass�code�compound�ctypes�do�done�downtorr�
endattempt�endcaser�endmatch�enum�except�
exceptions�expect�finally�for�forall�forget�fork�functor�goto�identr�
incomplete�inherit�instance�	interface�jump�lambda�loop�match�module�	namespace�new�noexpand�nonterm�obj�of�open�parse�raise�regexp�reglex�regmatch�rename�return�the�then�to�type�typecase�typedef�	typematch�typeof�upto�when�whilst�with�yield)�_gc_pointer�_gc_type�body�comment�const�export�header�inline�lval�macro�noinline�noreturn�package�private�pod�property�public�publish�requires�todo�virtual�use)�def�let�ref�val�var)7�unit�void�any�bool�byte�offset�address�caddress�	cvaddress�vaddress�tiny�short�int�long�vlong�utiny�ushort�vshort�uint�ulong�uvlong�int8�int16�int32�int64�uint8�uint16�uint32�uint64�float�double�ldouble�complex�dcomplex�lcomplex�	imaginary�
dimaginary�
limaginary�char�wchar�uchar�charp�charcp�ucharp�ucharcp�string�wstring�ustring�cont�array�varray�list�lvalue�opt�slice)�false�true)�and�not�in�is�isin�or�xor)�_svc�while)�root�self�thisz*([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?r��
whitespace)�axiom�ctor�fun�gen�proc�reduce�unionz\b)�suffix�funcname)�classr'�cstructrJ�struct�	classnamez(instance|module|typeclass)\b�
modulename�	operatorszK0[xX]([0-9a-fA-F_]*\.[0-9a-fA-F_]+|[0-9a-fA-F_]+)[pP][+\-]?[0-9_]+[lLfFdD]?zH[0-9_]+(\.[0-9_]+[eE][+\-]?[0-9_]+|\.[0-9_]*|[eE][+\-]?[0-9_]+)[lLfFdD]?z/\.(0|[1-9][0-9_]*)([eE][+\-]?[0-9_]+)?[lLfFdD]?z
0[Bb][01_]+%sz
0[0-7_]+%sz0[xX][0-9a-fA-F_]+%sz(0|[1-9][0-9_]*)%sz([rR][cC]?|[cC][rR])"""�tdqsz([rR][cC]?|[cC][rR])'''�tsqsz([rR][cC]?|[cC][rR])"�dqsz([rR][cC]?|[cC][rR])'�sqsz[cCfFqQwWuU]?"""�stringescapez[cCfFqQwWuU]?'''z[cCfFqQwWuU]?"z[cCfFqQwWuU]?'z[\[\]{}:(),;?]z[a-zA-Z_]\w*:>z(%s)\b�|z[a-zA-Z_]\w*z\s+rdz(#)(\s*)(if)(\s+)(0)�if0�#rjz$!=|==|<<|>>|\|\||&&|[-~+/*%=<>&^|.$]z//(.*?)$z/[*]�comment2z[^/*]z#pushz[*]/z#popz[/*]z^(\s*)(#if.*?(?<!\\))(\n)z^(\s*)(#endif.*?(?<!\\))(\n)z	(.*?)(\n)z(import|include)(\s+)(<[^>]*?>)z(import|include)(\s+)("[^"]*?")z(import|include)(\s+)('[^']*?')z[^/\n]+�/z	(?<=\\)\nz\nz(?=\()z(?=\{)z\[)�modulename2�tvarlistr�z([a-zA-Z_]\w*)z#pop:2r�z\]�,z(with|where)\bzY\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})�stringszP%(\([a-zA-Z0-9]+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?[hlL]?[E-GXc-giorsux%]z[^\\\'"%\n]+z[\'"\\]�%�nl�"z
\\\\|\\"|\\\n�'z
\\\\|\\'|\\\nz"""z''')r�r�N)8�__name__�
__module__�__qualname__�__doc__�name�url�aliases�	filenames�	mimetypes�preproc�keywords�keyword_directives�keyword_declarations�
keyword_types�keyword_constants�operator_words�
name_builtins�name_pseudo�decimal_suffixesrrrr
�	Decorator�Declaration�Type�Constantr�Float�Bin�Oct�Hex�Integerrrr�Label�join�Builtin�Pseudorrr
�Preprocr�Word�Single�	Multiline�Functionr	�Classr�	Namespace�Escape�Interpol�tokens���7/usr/lib/python3/dist-packages/pygments/lexers/felix.pyrrs�����D�
%�C����G��(�#�I�� �I��G��H������M�&���N��M��K�D��r���L�!���%*�,�
�j�
"��B�5�
Q�
�k�
#�
-�w��E�
�8�E�
*�G�4�
�%�e�
4�d�n�n�E�
�'��
6��8K�8K�L�
�=��
/����>�
�$�U�
3�W�5E�5E�F�
�K� �+�,2�L�L�
:�6�7=�|�|�
E�
?�
�\�\�
�
� 0�
0�&�*�*�=�
�-�
-�v�z�z�:�
$�'7�
7����D�
"�%5�
5�v�~�~�F�'���7�
&���7�
$�f�e�4�
$�f�e�4�
���.�&�)I�J�
���.�&�)I�J�
�v�x���'F�G�
�v�x���'F�G���,���
�
�+�����-�0�
0�$�,�,�?�
����+�.�
.����0C�0C�D�
�d�#�w<
�r�|	�
�Z� ��I��%�����*�g�o�o�����1�27�
9��7�?�?�G�,�

�}r�R	�
����.�1�
1�8�=�=�A�
4�h�?�
�Sr�Z	�
�'�.�.�)�
�g�'�'��4�
�[r�b	�
�w�(�(�)�
�g�'�'��1�
�g�'�'��0�
�g�'�'�(�	
�cr�n	�
)���W�j�9�7�
D�
,���W�j�9�6�
C�
�8�G�Z�8�9�
�or�|	��I��
/�
�g�o�o�z�6�
:�F�
D�
/�
�g�o�o�z�6�
:�F�
D�
/�
�g�o�o�z�6�
:�F�
D�
����)��7�?�?�#�
�7�?�?�+�
�J��'�
�}r�Z	��L�!�
�d�m�m�V�4�
��f�%�	
�[r�f	��L�!�
�d�j�j�&�1�
��f�%�	
�gr�r	��L�!�
�K�!<�=��M�"�
�sr�|	��L�!�
�����9�
�}r�D	��L�!��K� �
�K��)�
�K��(�
�;��
��(�
�d�#�
�Er�V	�<�=C�]�]�
L�
�Wr�^	�&�'-���
8�
�f�%�
�� �
�6�N�	
�_r�r	
�
�F�O�
�sr�x	�
�6�6�"�
�v�}�}�-��I��	
�yr�D	�
�6�6�"�
�v�}�}�-��I��	
�Er�R�V�V�$��I���D�M�
��V�V�$��I���D�M�
�[r�FrN)r��pygments.lexerrrrrrr�pygments.tokenr	r
rrr
rrrr�__all__rr
rr�<module>rs:���
�
�$�$�$��.��A��Ar