3
.ßL]À$  ã               @   sf   d Z ddlmZmZmZmZmZmZ ddlm	Z	m
Z
mZmZmZmZmZmZ dgZG dd„ deƒZdS )zÌ
    pygments.lexers.felix
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for the Felix language.

    :copyright: Copyright 2006-2019 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Ú
FelixLexerc            H   @   sü  e Zd ZdZdZddgZddgZdgZ�dZ�dZ	�dZ
�dZ�dZ�dZ�dZ�dZ�dZd²Zed³ƒe�dd»d¼�ed½fe�dd»d¼�edÁfdÂedÃfee	d»d¼�efee
d»d¼�ejfeed»d¼�ejfeed»d¼�ejfeed»d¼�ejfedÄƒdÅejfdÆejfdÇ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 dÍfdÎe dÏfdÐe dÑfdÒe dÓfdÔe e!dÕdÍƒfdÖe e!dÕdÏƒfd×e e!dÕdÑƒfdØe e!dÕdÓƒfdÙe"fdÚej#fdÛdÜj$eƒ ej%fdÛdÜj$eƒ ej%j&fdÝefgdÞe'fdße'fedUƒdàe(j)dáfdâe(j)d[fgdÛdÜj$eƒ e*j+fdãe*fgdäe(j,fdåe(j-dæfgdçe(j-fdåe(j-dèfdée(j-dêfdëe(j-fgdìe(dèfdíe(dêfdîe(fgedUƒdïe.e(j)e'e ƒdêfdðe.e(j)e'e ƒdêfdñe.e(j)e'e ƒdêfdòe(j)fdóe(j)fdôe(j)fdÞe(j)dêfged³ƒdÝej/dêfdõe'dêfged³ƒdÝej0dêfdöe'dêfged³ƒd÷e"�dfe1døƒged³ƒdúej2dûfged³ƒedÄƒd÷e"dèfdüe"dêfdýe"fdþefdÝefgdÿe j3fg�d e j4f�de f�de f�de fgdÞe fg�de dêf�de j3fe�dƒg�de dêf�de j3fe�dƒg�d	e dêfe�dƒe�d
ƒg�de dêfe�dƒe�d
ƒg�dœZ5�dS (  r   zZ
    For `Felix <http://www.felix-lang.org>`_ source code.

    .. versionadded:: 1.2
    ZFelixZfelixZflxz*.flxz*.flxhztext/x-felixÚelifÚelseÚendifÚifÚifdefÚifndefÚ_Ú_derefÚallÚasÚassertÚattemptÚcallÚcallbackÚcaseÚcasenoÚcclassÚcodeÚcompoundÚctypesÚdoÚdoneÚdowntoÚ
endattemptÚendcaseÚendmatchÚenumÚexceptÚ
exceptionsÚexpectÚfinallyÚforÚforallÚforgetÚforkÚfunctorÚgotoÚidentÚ
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Ú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))?Ú
whitespaceÚaxiomÚctorÚfunÚgenÚprocÚreduceÚunionz\b)ÚsuffixÚfuncnameÚclassÚcstructÚ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_]+%sz0[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\nz\s+z
#\s*if\s+0Úif0ú#z$!=|==|<<|>>|\|\||&&|[-~+/*%=<>&^|.$]z	//(.*?)\nz/[*]Úcomment2z[^/*]z#pushz[*]/z#popz[/*]z^\s*#if.*?(?<!\\)\nz^\s*#endif.*?(?<!\\)\nz.*?\nz(import|include)(\s+)(<[^>]*?>)z(import|include)(\s+)("[^"]*?")z(import|include)(\s+)('[^']*?')z[^/\n]+ú/z	(?<=\\)\nz(?=\()z(?=\{)z\[Úmodulename2Útvarlistz([a-zA-Z_]\w*)z#pop:2z\]ú,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})zP%(\([a-zA-Z0-9]+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?[hlL]?[E-GXc-giorsux%]z[^\\\'"%\n]+z[\'"\\]ú%ú"z\\\\|\\"|\\\nÚstringsú'z\\\\|\\'|\\\nz"""Únlz''')r¸   r»   rÊ   r^   rÓ   rÑ   rd   rÄ   rÈ   rÉ   rÕ   rÖ   rÏ   rÚ   rÜ   rÍ   rÎ   rË   rÌ   N)r   r   r   r   r   r   )Hr   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r   r   r(   r)   r   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   )r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   )rq   rr   rs   rt   ru   )7rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   r„   r…   r†   r‡   rˆ   r‰   rŠ   r‹   rŒ   r�   rŽ   r�   r�   r‘   r’   r“   r”   r•   r–   r—   r˜   r™   rš   r›   rœ   r�   rž   rŸ   r    r¡   r¢   r£   r¤   r¥   r¦   r§   r¨   r©   rª   r«   r¬   )r­   r®   )r¯   r°   r±   r²   r³   r´   rµ   )r¶   r·   )r¸   r¹   rº   )r¼   r½   r¾   r¿   rÀ   rÁ   rÂ   )rÅ   r!   rÆ   rD   rÇ   )rÕ   rÖ   )6Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesZpreprocÚkeywordsZkeyword_directivesZkeyword_declarationsZkeyword_typesZkeyword_constantsZoperator_wordsZname_builtinsZname_pseudoZdecimal_suffixesr   r   r   r   Z	DecoratorZDeclarationÚTypeÚConstantr   ZFloatZBinÚOctZHexZIntegerr   r   r   ZLabelÚjoinZBuiltinZPseudor   r	   ZPreprocr
   ÚWordÚSingleZ	Multiliner   ZFunctionZClassr   Ú	NamespaceZEscapeZInterpolÚtokens© rî   rî   ú;/tmp/pip-install-5sebvq2j/pygments/pygments/lexers/felix.pyr      s                               



















N)rà   Zpygments.lexerr   r   r   r   r   r   Zpygments.tokenr   r	   r
   r   r   r   r   r   Ú__all__r   rî   rî   rî   rï   Ú<module>
   s    (