|e%pdZddlmZmZmZmZmZmZddlm Z m Z m Z m Z m Z mZmZmZmZdgZGddeZy)z pygments.lexers.felix ~~~~~~~~~~~~~~~~~~~~~ Lexer for the Felix language. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerincludebygroupsdefaultwordscombined) TextCommentOperatorKeywordNameStringNumber Punctuation Whitespace FelixLexerc"VeZdZdZdZdZddgZddgZdgZd Z d Z d Z d Z d Z dZdZdZdZdZidededdedfeddedfdedfee defee dej.fee dej0fee dej2feedej4feddej8fdej8fd ej8fd!ezej:fd"ezej<fd#ezej>fd$ezej@fd%e!d&fd'e!d(fd)e!d*fd+e!d,fd-e!e"d.d&fd/e!e"d.d(fd0e!e"d.d*fd1e!e"d.d,fd2e#fd3ejHfd4d5jKezejLfd4d5jKezejLjNfd6efgdd7e(fed8d9e)e*jVe(e*jVe(e*jVd:fd;e*jVde*j\fd?e*j^d@fgd@dAe*j^fd?e*j^dBfdCe*j^dDfdEe*j^fgd:dFe)e(e*e(dBfdGe)e(e*e(dDfdHe)e*e(fgd<ed8dIe)e*jVe(e!dDfdJe)e*jVe(e!dDfdKe)e*jVe(e!dDfdLe*jVfdMe*jVfdNe*jVfdOe(dDfgdedd6ej`dDfdPe1dDfgdedd6ejddDfdQe1dDfgdeddRe#dSfe3dTgdTeddUejhdVfgdWededdRe#dBfdXe#dDfdYe#fdZefd6efgd.d[e!jjfgd\d]e!jlfd^e!fd_e!fd`e!fgdadOe!fgd*dbe!dDfdce!jjfed\gd,dde!dDfdee!jjfed\gdfe!dDfed\edagdge!dDfed\edagdhZ7yi)jrz; For Felix source code. .. versionadded:: 1.2 Felixzhttp://www.felix-lang.orgfelixflxz*.flxz*.flxhz text/x-felix)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_]+%sz 0[0-7_]+%sz0[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\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)8__name__ __module__ __qualname____doc__nameurlaliases filenames mimetypespreprockeywordskeyword_directiveskeyword_declarations keyword_typeskeyword_constantsoperator_words name_builtins name_pseudodecimal_suffixesrrr r Decorator DeclarationTypeConstantrFloatBinOctHexIntegerrrrLabeljoinBuiltinPseudorrr Preprocr WordSingle MultilineFunctionr Classr NamespaceEscapeInterpoltokens7/usr/lib/python3/dist-packages/pygments/lexers/felix.pyrrs D %CG(#I IG HM&NMKDr L !%*, j "B5 Q k # -w E 8E *G 4 %e 4dnn E ' 68K8K L = / > $U 3W5E5E F K +,2LL :67=|| E ? \\   0 0&** = - -vzz : $'7 7 D "%5 5v~~ F' 7 & 7 $fe 4 $fe 4 .&)I J .&)I J vx'F G vx'F G , +-0 0$,, ? +. . 0C0C D d #w< r|  Z I %*goo127 97??G ,  }rR  .1 18== A 4h ? SrZ  '.. ) g'' 4 [rb  w(( ) g'' 1 g'' 0 g'' (  crn  )Wj97 D ,Wj96 C 8GZ8 9  or|  I  / gooz6 :F D / gooz6 :F D / gooz6 :F D  )7?? # 7?? + J ' }rZ  L ! dmmV 4 f %  [rf  L ! djj& 1 f %  grr  L ! K!< = M " sr|  L !  9 }rD  L ! K K ) K ( ;   ( d # ErV <=C]] L Wr^ &'- 8 f %  6N  _rr FO srx  66 " v}} - I   yrD  66 " v}} - I   ErRVV $ I  DM VV $ I  DM [rFrN)rpygments.lexerrrrrrrpygments.tokenr r r r r rrrr__all__rr rrrs:  $$$ .AAr