B
    ë¹`j  ã               @   sp   d Z ddlZddlmZ ddlmZmZmZmZm	Z	m
Z
mZmZ ddlmZ dgZe d¡ZG dd„ deƒZdS )	zÑ
    pygments.lexers.futhark
    ~~~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Futhark language

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexer)ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuation)Ú	unistringÚFutharkLexerz.*?
c               @   sÊ  e Zd ZdZdZdgZdgZdgZej	ej
B ZdZdZdZd	Zd
d e¡ ZdZdejfdejfdefdd e¡ ejfdd ee ¡ ejfdejfdeef efdefdefdefde ejfde ejfde ejfde ejfde ej fde ej!fde ej"fde#j$dfde#d fd!ejfdej%fgd"e#j$d#fde#j&d$fde#j$d#fgd%e#fde#j&d$fde#d#fgd&e#j&d#fd'e'j( d( e#j&d#fd e¡e#j&d#fd)e#j&d#fd*e#j&d#fd+e#j&d#fd,e#j&d#fgd-œZ)d.S )/r   z4
    A Futhark lexer

    .. versionadded:: 2.8
    ZFutharkZfutharkz*.futztext/x-futhark)
Úi8Zi16Zi32Zi64Úu8Úu16Úu32Zu64Zf32Zf64)Úbool)ÚifZthenÚelseZletÚloopÚinÚwithÚtypeÚvalÚentryÚforÚwhileÚdoZcaseÚmatchÚincludeÚimportÚmoduleÚopenÚlocalÚassertÚ_)ÚNULZSOHz[SE]TXZEOTZENQZACKÚBELZBSZHTZLFÚVTZFFÚCRzS[OI]ZDLEzDC[1-4]ZNAKZSYNZETBZCANZEMZSUBZESCz[FGRU]SÚSPZDELz(%s)?ú|z[a-zA-Z_][a-zA-Z_0-9']*z	--(.*?)\nz\s+z\(\)z\b(%s)(?!\')\bz#\[([a-zA-Z_\(\) ]*)\]z!?(%s\.)*%sz\\z[-+/%=!><|&*^][-+/%=!><|&*^.]*z[][(),:;`{}]z40[xX]_*[\da-fA-F](_*[\da-fA-F])*_*[pP][+-]?\d(_*\d)*zR0[xX]_*[\da-fA-F](_*[\da-fA-F])*\.[\da-fA-F](_*[\da-fA-F])*(_*[pP][+-]?\d(_*\d)*)?z\d(_*\d)*_*[eE][+-]?\d(_*\d)*z+\d(_*\d)*\.\d(_*\d)*(_*[eE][+-]?\d(_*\d)*)?z0[bB]_*[01](_*[01])*z 0[xX]_*[\da-fA-F](_*[\da-fA-F])*z	\d(_*\d)*ú'Ú	characterú"Ústringz\[[a-zA-Z_\d]*\]z[^\\']'z#popÚescapez[^\\"]+z[abfnrtv"\'&\\]z\^[][z@^_]zo[0-7]+zx[\da-fA-F]+z\d+z\s+\\)Úrootr,   r.   r/   N)*Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesÚreÚ	MULTILINEÚUNICODEÚflagsZ	num_typesZother_typesÚreservedÚasciiÚjoinZnum_postfixZidentifier_rer   ÚSingler   Ú
Whitespacer
   r   ZReservedÚTypeZPreprocr   r   r	   ZFloatZBinZHexZIntegerr   ÚCharZBuiltinZEscapeÚuniZLuÚtokens© rF   rF   ú_/home/kop/projects/devel/pgwui/test_venv/lib/python3.7/site-packages/pygments/lexers/futhark.pyr      s`   










)r4   r9   Zpygments.lexerr   Zpygments.tokenr   r   r   r   r   r   r	   r
   Zpygmentsr   rD   Ú__all__ÚcompileZline_rer   rF   rF   rF   rG   Ú<module>	   s   (
