a
    ;@b”  ã                   @   sx   d Z ddlZddlmZmZ ddlmZ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Úbygroups)	ÚTextÚCommentÚOperatorÚKeywordÚNameÚStringÚNumberÚPunctuationÚ
Whitespace)Ú	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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(ee"j%ƒd#fgd-œZ)d.S )/r   z4
    A Futhark lexer

    .. versionadded:: 2.8
    ZFutharkZfutharkz*.futztext/x-futhark)
Zi8Zi16Zi32Zi64Úu8Úu16Úu32Zu64Zf32Zf64)Úbool)ÚifZthenÚelseZletZloopÚinÚwithÚtypeÚvalÚentryÚforÚwhileZdoZcaseÚmatchZincludeÚimportÚmoduleÚopenÚlocalÚassertÚ_)ÚNULZSOHz[SE]TXZEOTZENQZACKZBELZBSZHTZLFÚVTZFFZCRzS[OI]ZDLEzDC[1-4]ZNAKZSYNZETBZCANZEMZSUBZESCz[FGRU]SZSPZDELz(%s)?ú|z[a-zA-Z_][a-zA-Z_0-9']*z--(.*?)$z\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Ú	filenamesZ	mimetypesÚreÚ	MULTILINEÚUNICODEÚflagsZ	num_typesZother_typesZreservedÚasciiÚjoinZnum_postfixZidentifier_rer   ÚSingler   r   r   ZReservedÚTypeZPreprocr   r   r
   ZFloatZBinZHexZIntegerr	   ZCharZBuiltinZEscapeÚuniZLur   Útokens© r=   r=   ú6lib/python3.9/site-packages/pygments/lexers/futhark.pyr      sr   ÿÿÿ
á#


ü
ý



ùÒ)r/   r3   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   r
   r   r   Zpygmentsr   r;   Ú__all__ÚcompileZline_rer   r=   r=   r=   r>   Ú<module>   s   
,
