
                             S r SSSSSSSSS	S
SS.r\S:X  a(  SSKrSSKJr  SSKrS rS rS r	S r
S rS r\" 5         gg)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-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)_G_VERSIONassertcollectgarbagedofileerrorgetmetatableipairsloadloadfilenextpairspcallprintrawequalrawgetrawlenrawsetselectsetmetatabletonumbertostringtypewarnxpcall)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)zcoroutine.closezcoroutine.createzcoroutine.isyieldablezcoroutine.resumezcoroutine.runningzcoroutine.statuszcoroutine.wrapzcoroutine.yield)zdebug.debugzdebug.gethookzdebug.getinfozdebug.getlocalzdebug.getmetatablezdebug.getregistryzdebug.getupvaluezdebug.getuservaluezdebug.sethookzdebug.setlocalzdebug.setmetatablezdebug.setupvaluezdebug.setuservaluezdebug.tracebackzdebug.upvalueidzdebug.upvaluejoin)zio.closezio.flushzio.inputzio.lineszio.openz	io.outputzio.popenzio.readz	io.stderrzio.stdinz	io.stdoutz
io.tmpfilezio.typezio.write)"zmath.absz	math.acosz	math.asinz	math.atanz
math.atan2z	math.ceilzmath.cosz	math.coshzmath.degzmath.expz
math.floorz	math.fmodz
math.frexpz	math.hugez
math.ldexpzmath.logzmath.maxzmath.maxintegerzmath.minzmath.minintegerz	math.modfzmath.pizmath.powzmath.radzmath.randomzmath.randomseedzmath.sinz	math.sinhz	math.sqrtzmath.tanz	math.tanhzmath.tointegerz	math.typezmath.ult)	zpackage.configzpackage.cpathzpackage.loadedzpackage.loadlibzpackage.pathzpackage.preloadzpackage.searcherszpackage.searchpathrequire)zos.clockzos.datezos.difftimez
os.executezos.exitz	os.getenvz	os.removez	os.renamezos.setlocalezos.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.packzstring.packsizez
string.repzstring.reversez
string.subzstring.unpackzstring.upper)ztable.concatztable.insertz
table.movez
table.packztable.removez
table.sortztable.unpack)z	utf8.charzutf8.charpatternzutf8.codepointz
utf8.codeszutf8.lenzutf8.offset)basicbit32	coroutinedebugiomathmodulesosstringtableutf8__main__    N)urlopenc            	      H    S n S nS nS nS nS nS nS nU UUUUUUUS	.$ )
Nc                 $    U R                  S5      $ )Nz
coroutine.
startswithnames    0lib/third_party/pygments/lexers/_lua_builtins.pyis_in_coroutine_module0module_callbacks.<locals>.is_in_coroutine_module   s    ??<00    c                 >    U S;   d  U R                  S5      (       a  gg)N)r   modulepackageTFr,   r.   s    r0   is_in_modules_module.module_callbacks.<locals>.is_in_modules_module   s    ,,	0J0Jr3   c                 $    U R                  S5      $ )Nzstring.r,   r.   s    r0   is_in_string_module-module_callbacks.<locals>.is_in_string_module   s    ??9--r3   c                 $    U R                  S5      $ )Nztable.r,   r.   s    r0   is_in_table_module,module_callbacks.<locals>.is_in_table_module       ??8,,r3   c                 $    U R                  S5      $ )Nr!   r,   r.   s    r0   is_in_math_module+module_callbacks.<locals>.is_in_math_module   s    ??6**r3   c                 $    U R                  S5      $ )Nzio.r,   r.   s    r0   is_in_io_module)module_callbacks.<locals>.is_in_io_module       ??5))r3   c                 $    U R                  S5      $ )Nzos.r,   r.   s    r0   is_in_os_module)module_callbacks.<locals>.is_in_os_module   rF   r3   c                 $    U R                  S5      $ )Nzdebug.r,   r.   s    r0   is_in_debug_module,module_callbacks.<locals>.is_in_debug_module   r?   r3   )r   r"   r$   r%   r!   r    r#   r    )r1   r7   r:   r=   rA   rD   rH   rK   s           r0   module_callbacksrN      sN    	1		.	-	+	*	*	- 4/-+)%%+- 	-r3   c                      [        S5      n [        R                  " S5      nU  H;  nUR                  UR	                  S5      5      nUc  M(  UR                  5       S   s  $    g )Nzhttp://www.lua.org/manual/z"^<A HREF="(\d\.\d)/">(Lua )?\1</A>
iso-8859-1r(   )r)   recompilematchdecodegroups)frlinems       r0   get_newest_versionrZ      sR    01JJ<=DL12A}xxz!}$ r3   c                     [        SU -  5      n[        R                  " S5      n/ nU HJ  nUR                  UR	                  S5      5      nUc  M(  UR                  UR                  5       S   5        ML     U$ )Nzhttp://www.lua.org/manual/%s/z4^<A HREF="manual.html#pdf-(?!lua|LUA)([^:]+)">\1</A>rP   r(   )r)   rQ   rR   rS   rT   appendrU   )versionrV   rW   	functionsrX   rY   s         r0   get_lua_functionsr_      sl    3g=>JJNO	DL12A}  A/  r3   c                     [        5       R                  5        H  u  pU" U 5      (       d  M  Us  $    SU ;   a  U R                  S5      S   $ g)N.r(   r   )rN   itemssplit)r/   modcbs      r0   get_function_modulerf      sG    ')//1GC$xx
 2 $;::c?1%%r3   c                    [        U SS9 nUR                  5       nS S S 5        WS UR                  S5       nX3R                  S5      S  n[        U SSS9 nUR                  U5        UR                  S[        R
                  " U5      -  5        UR                  U5        S S S 5        g ! , (       d  f       N= f! , (       d  f       g = f)Nzutf-8)encodingzMODULES = {zif __name__ == '__main__':wzMODULES = %s

)openreadfindwritepprintpformat)filenamer"   fpcontentheaderfooters         r0   
regenerateru      s    (W-ggiG . 5',,}56&BCDE (C'2bHHVHH'&..*AABHHV 32 .- 32s   B*AB;*
B8;
C	c            
         [        5       n [        5       nSU 4 HX  n[        SU-  5        [        U5      n[        S[	        U5      [	        [        U5      U-
  5      4-  5        U[        U5      -  nMZ     [        U5      n0 nU H=  n[        SU-  5        [        U5      nUR                  U/ 5      R                  U5        M?     UR                  5        VVs0 s H  u  prU[        U5      _M     nnn[        [        U5        g s  snnf )Nz5.2z'> Downloading function index for Lua %sz> %d functions found, %d new:z>> %s)rZ   setr   r_   lensortedrf   
setdefaultr\   rb   tupleru   __file__)r]   r^   vrV   r"   full_function_namerY   ks           r0   runr     s    $&E	!A;a?@!!$A1q63s1v	1234 5QI " 9%	"+'../#$67Aq"%,,-?@ #, ,3==?;?411eAh;?;8W% <s   D)__doc__MODULES__name__rQ   urllib.requestr)   rn   rN   rZ   r_   rf   ru   r   rM   r3   r0   <module>r      s    2"  !
D
"
s^@ z&
#-N%&* EY r3   