o
    -wi$                     @   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-2017 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                "   @   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i d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d0e e!d-d+fd1e"fd2ej#fd3d4$e ej%fd3d4$e ej%j&fd5efgdd6e'fd7e'fed8d9e(j)d:fd;e(j)d<fgdd3d4$e e*j+fd=e*fgd8d>e(j,fd?e(j-d@fgd@dAe(j-fd?e(j-dBfdCe(j-dDfdEe(j-fgd:dFe(dBfdGe(dDfdHe(fgd<ed8dIe.e(j)e'e dDfdJe.e(j)e'e dDfdKe.e(j)e'e dDfdLe(j)fdMe(j)fdNe(j)fd6e(j)dDfgdedd5ej/dDfdOe'dDfgdedd5ej0dDfdPe'dDfgdeddQe"dRfe1dSgdSeddTej2dUfgdVededdQe"dBfdWe"dDfdXe"fdYefd5efgd-dZe j3fgd[d\e j4fd]e fd^e fd_e fgd`d6e fgd)dae dDfdbe j3fed[gd+dce dDfdde j3fed[gdee dDfed[ed`gdfe dDfed[ed`gdgZ5dhS )ir   zZ
    For `Felix <http://www.felix-lang.org>`_ source code.

    .. versionadded:: 1.2
    Felix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downtor   r   
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$   cstructrG   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+ra   z
#\s*if\s+0if0#rg   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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)6__name__
__module____qualname____doc__namealiases	filenames	mimetypespreprockeywordskeyword_directiveskeyword_declarationskeyword_typeskeyword_constantsoperator_wordsname_builtinsname_pseudodecimal_suffixesr   r   r   r   	DecoratorDeclarationTypeConstantr   FloatBinOctHexIntegerr   r   r   LabeljoinBuiltinPseudor   r	   Preprocr
   WordSingle	Multiliner   FunctionClassr   	NamespaceEscapeInterpoltokens r	  r	  _/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/wandb/vendor/pygments/lexers/felix.pyr      s   
>

HL
P

V[
j
p
v{
 	           ' N)r   pygments.lexerr   r   r   r   r   r   pygments.tokenr   r	   r
   r   r   r   r   r   __all__r   r	  r	  r	  r
  <module>   s
    
(