K i ~dZddddddddd d d d Zed k(r(ddlZddlmZddlZdZdZdZ dZ dZ dZ e yy)a pygments.lexers._lua_builtins ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This file contains the names and modules of lua functions It is able to re-generate itself, but for adding new functions you probably have to add some callbacks (see function module_callbacks). Do not edit the MODULES dict by hand. Run with `python -I` to regenerate. :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. )_G_VERSIONassertcollectgarbagedofileerror getmetatableipairsloadloadfilenextpairspcallprintrawequalrawgetrawlenrawsetselect setmetatabletonumbertostringtypewarnxpcall) z bit32.arshiftz bit32.bandz bit32.bnotz bit32.borz bit32.btestz bit32.bxorz bit32.extractz bit32.lrotatez bit32.lshiftz bit32.replacez bit32.rrotatez bit32.rshift)zcoroutine.closezcoroutine.createzcoroutine.isyieldablezcoroutine.resumezcoroutine.runningzcoroutine.statuszcoroutine.wrapzcoroutine.yield)z debug.debugz debug.gethookz debug.getinfozdebug.getlocalzdebug.getmetatablezdebug.getregistryzdebug.getupvaluezdebug.getuservaluez debug.sethookzdebug.setlocalzdebug.setmetatablezdebug.setupvaluezdebug.setuservaluezdebug.tracebackzdebug.upvalueidzdebug.upvaluejoin)zio.closezio.flushzio.inputzio.lineszio.openz io.outputzio.popenzio.readz io.stderrzio.stdinz io.stdoutz io.tmpfilezio.typezio.write)"zmath.absz math.acosz math.asinz math.atanz math.atan2z math.ceilzmath.cosz math.coshzmath.degzmath.expz math.floorz math.fmodz math.frexpz math.hugez math.ldexpzmath.logzmath.maxzmath.maxintegerzmath.minzmath.minintegerz math.modfzmath.pizmath.powzmath.radz math.randomzmath.randomseedzmath.sinz math.sinhz math.sqrtzmath.tanz math.tanhzmath.tointegerz math.typezmath.ult) zpackage.configz package.cpathzpackage.loadedzpackage.loadlibz package.pathzpackage.preloadzpackage.searcherszpackage.searchpathrequire) zos.clockzos.datez os.difftimez os.executezos.exitz os.getenvz os.removez os.renamez os.setlocalezos.timez os.tmpname)z string.bytez string.charz string.dumpz string.findz string.formatz string.gmatchz string.gsubz string.lenz string.lowerz string.matchz string.packzstring.packsizez string.repzstring.reversez string.subz string.unpackz string.upper)z table.concatz table.insertz table.movez table.packz table.removez table.sortz table.unpack)z utf8.charzutf8.charpatternzutf8.codepointz utf8.codeszutf8.lenz utf8.offset) basicbit32 coroutinedebugiomathmodulesosstringtableutf8__main__N)urlopenc Hd}d}d}d}d}d}d}d}||||||||d S) Nc$|jdS)Nz coroutine. startswithnames c/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pygments/lexers/_lua_builtins.pyis_in_coroutine_modulez0module_callbacks..is_in_coroutine_modules??<0 0c0|dvs|jdryy)N)rmodulepackageTFr,r.s r0is_in_modules_modulez.module_callbacks..is_in_modules_modules,, 0Jr2c$|jdS)Nzstring.r,r.s r0is_in_string_modulez-module_callbacks..is_in_string_modules??9- -r2c$|jdS)Nztable.r,r.s r0is_in_table_modulez,module_callbacks..is_in_table_module??8, ,r2c$|jdS)Nr!r,r.s r0is_in_math_modulez+module_callbacks..is_in_math_modules??6* *r2c$|jdS)Nzio.r,r.s r0is_in_io_modulez)module_callbacks..is_in_io_module??5) )r2c$|jdS)Nzos.r,r.s r0is_in_os_modulez)module_callbacks..is_in_os_moduler@r2c$|jdS)Nzdebug.r,r.s r0is_in_debug_modulez,module_callbacks..is_in_debug_moduler;r2)rr"r$r%r!r r#r)r1r6r8r:r=r?rBrDs r0module_callbacksrFsN 1   . - + * * -4/-+)%%+- -r2ctd}tjd}|D]9}|j|j d}|&|j dcSy)Nhttp://www.lua.org/manual/z"^(Lua )?\1 iso-8859-1r()r)recompilematchdecodegroups)frlinems r0get_newest_versionrSsW 0 1 JJ< = %D L12A}xxz!}$ %r2ctd|d}tjd}g}|D]G}|j|j d}|&|j |j dI|S)NrH/z4^\1rIr()r)rJrKrLrMappendrN)versionrOrP functionsrQrRs r0get_lua_functionsrYsu 0 ; < JJN O  0D L12A}  A/ 0r2ctjD]\}}||s|cSd|vr|jddSy)N.r(r)rFitemssplit)r/modcbs r0get_function_moduler`sL')//1 GC$x   $;::c?1% %r2ct|d5}|j}dddd|jd}||jdd}t|dd5}|j||jdt j |d|j|dddy#1swYxYw#1swYyxYw)Nzutf-8)encodingz MODULES = {zif __name__ == '__main__':wz MODULES = z )openreadfindwritepprintpformat)filenamer"fpcontentheaderfooters r0 regenerateros (W - ggiG 5',,}56&BCDE(C' 2 b HHV  HHz&.."9!:$? @ HHV       sB1A B=1B:=Cc t}t}d|fD]W}td|t|}tdt |t t||z fz|t|z}Yt |}i}|D]<}td|t |}|j|gj|>|jDcic]\}}|t|}}}tt|ycc}}w)Nz5.2z%> Downloading function index for Lua z> %d functions found, %d new:z>> ) rSsetrrYlensortedr` setdefaultrVr\tuplero__file__)rWrXvrOr"full_function_namerRks r0runrzs$&E ! A 9!= >!!$A 1q63s1v 1234 5 Q I  9% "+ A  C*+, -#$67A   q" % , ,-? @ A,3==?;41a1eAh;;;8W%) __doc__MODULES__name__rJurllib.requestr)rhrFrSrYr`rorzrEr2r0rs 2 " ! D   "  s^ @ z & #-N% &*EYr2