YBFj%xdZddlmZmZmZmZmZmZddlm Z m Z m Z m Z m Z mZmZmZmZdgZGddeZdS)z pygments.lexers.felix ~~~~~~~~~~~~~~~~~~~~~ Lexer for the Felix language. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerincludebygroupsdefaultwordscombined) TextCommentOperatorKeywordNameStringNumber Punctuation Whitespace FelixLexerc# eZdZdZdZdZddgZddgZdgZd Z d Z d Z d Z d Z dZdZdZdZdZdZidededdedfeddedfdedfee defee dejfee dejfeedejfeedejfeddejfd ejfd!ejfd"eejfd#eejfd$eej fd%eej!fd&e"d'fd(e"d)fd*e"d+fd,e"d-fd.e"e#d/d'fd0e"e#d/d)fd1e"e#d/d+fd2e"e#d/d-fd3e$fd4ej%fd5&d6'eej(fd5&d6'eej(j)fd7efgdd8e*fed9d:e+e,j-e*e,j-e*e,j-d;fde.fgd9d?e,j0fd@e,j1dAfgdAdBe,j1fd@e,j1dCfdDe,j1dEfdFe,j1fgd;dGe+e*e,e*dCfdHe+e*e,e*dEfdIe+e,e*fgd=ed9dJe+e,j-e*e"dEfdKe+e,j-e*e"dEfdLe+e,j-e*e"dEfdMe,j-fdNe,j-fdOe,j-fdPe*dEfgdedd7ej2dEfdQe3dEfgdedd7ej4dEfdRe3dEfgdeddSe$dTfe5dUgdUeddVej6dWfgdXededdSe$dCfdYe$dEfdZe$fd[efd7efgd/d\e"j7fgd]d^e"j8fd_e"fd`e"fdae"fgdbdPe"fgd+dce"dEfdde"j7fed]gd-dee"dEfdfe"j7fed]gdge"dEfed]edbgdhe"dEfed]edbgdiZ9djS)krz For Felix source code. Felixzhttp://www.felix-lang.orgfelixflxz*.flxz*.flxhz text/x-felixz1.2)elifelseendifififdefifndef)H__derefallasassertattemptcallcallbackcasecasenocclasscodecompoundctypesdodonedowntorr endattemptendcaserendmatchenumexcept exceptionsexpectfinallyforforallforgetforkfunctorgotoidentr incompleteinheritinstance interfacejumplambdaloopmatchmodule namespacenewnoexpandnontermobjofopenparseraiseregexpreglexregmatchrenamereturnthethentotypetypecasetypedef typematchtypeofuptowhenwhilstwithyield) _gc_pointer_gc_typebodycommentconstexportheaderinlinelvalmacronoinlinenoreturnpackageprivatepodpropertypublicpublishrequirestodovirtualuse)defletrefvalvar)7unitvoidanyboolbyteoffsetaddresscaddress cvaddressvaddresstinyshortintlongvlongutinyushortvshortuintulonguvlongint8int16int32int64uint8uint16uint32uint64floatdoubleldoublecomplexdcomplexlcomplex imaginary dimaginary limaginarycharwcharucharcharpcharcpucharpucharcpstringwstringustringcontarrayvarraylistlvalueoptslice)falsetrue)andnotinisisinorxor)_svcwhile)rootselfthisz*([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?r whitespace)axiomctorfungenprocreduceunionz\b)suffixfuncname)classr'cstructrJstruct 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_]+z0[0-7_]+z0[xX][0-9a-fA-F_]+z(0|[1-9][0-9_]*)z([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({})\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.*?(?]*?>)z(import|include)(\s+)("[^"]*?")z(import|include)(\s+)('[^']*?')z[^/\n]+/z (?<=\\)\nz\nz(?=\()z(?=\{)z\[) modulename2tvarlistrz([a-zA-Z_]\w*)z#pop:2rz\],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''')rrN):__name__ __module__ __qualname____doc__nameurlaliases filenames mimetypes version_addedpreprockeywordskeyword_directiveskeyword_declarations keyword_typeskeyword_constantsoperator_words name_builtins name_pseudodecimal_suffixesrrr r Decorator DeclarationTypeConstantrFloatBinOctHexIntegerrrrLabelformatjoinBuiltinPseudorrr Preprocr WordSingle MultilineFunctionr Classr NamespaceEscapeInterpoltokensCC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/felix.pyrrsj D %CG(#I IMG HM&NMKDr GL ! !U%*,,, j "UB5 Q Q Q k # -w E U8E * * *G 4 U%e 4 4 4dn E U' 6 6 68K L U= / / / > U$U 3 3 3W5E F GK +,2L :67=| E ? \  /, . . ; +) + +VZ 8 5#3 5 5vz B 3!1 3 3V^ D' 7 & 7 $fe 4 $fe 4 .&)I)I J .&)I)I J vxx'F'F G vxx'F'F G , +  chh}55 6 6 E   chh{33 4 4dl6I J d #w< r|  Z GI  %*go1127 97?G ,  }rR    chh~66 7 7 G 4h ? SrZ  '. ) g' 4 [rb  w( ) g' 1 g' 0 g' (  crn  )Wj997 D ,Wj996 C 88GZ88 9  or|  GI   / Xgoz6 : :F D / Xgoz6 : :F D / Xgoz6 : :F D  )7? # 7? + J ' }rZ  GL ! ! dmV 4 f %  [rf  GL ! ! dj& 1 f %  grr  GL ! ! K!< = GM " " sr|  GL ! !  9 }rD  GL ! ! GK K ) K ( ;   ( d # ErV <=C] L Wr^ &'- 8 f %  6N  _rr FO srx  66 " v} - GI    yrD  66 " v} - GI    ErRVV $ GI   GDMM VV $ GI   GDMM [rrrFFFrN)rpygments.lexerrrrrrrpygments.tokenr r r r r rrrr__all__rrrrrs                $$$$$$$$$$$$$$$$$$$$$$ .@@@@@@@@@@r