HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pygments/lexers/__pycache__/_lua_builtins.cpython-311.pyc
�

�E�c����dZddddddddd	d
dd�Zed
kr,ddlZddlmZddlZd�Zd�Zd�Z	d�Z
d�Zd�Ze��dSdS)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-2022 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.borzbit32.btestz
bit32.bxorz
bit32.extractz
bit32.lrotatezbit32.lshiftz
bit32.replacez
bit32.rrotatezbit32.rshift)zcoroutine.closezcoroutine.createzcoroutine.isyieldablezcoroutine.resumezcoroutine.runningzcoroutine.statuszcoroutine.wrapzcoroutine.yield)zdebug.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.radzmath.randomzmath.randomseedzmath.sinz	math.sinhz	math.sqrtzmath.tanz	math.tanhzmath.tointegerz	math.typezmath.ult)	zpackage.configz
package.cpathzpackage.loadedzpackage.loadlibzpackage.pathzpackage.preloadzpackage.searcherszpackage.searchpath�require)zos.clockzos.datezos.difftimez
os.executezos.exitz	os.getenvz	os.removez	os.renamezos.setlocalezos.timez
os.tmpname)zstring.bytezstring.charzstring.dumpzstring.findz
string.formatz
string.gmatchzstring.gsubz
string.lenzstring.lowerzstring.matchzstring.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.lenzutf8.offset)�basic�bit32�	coroutine�debug�io�math�modules�os�string�table�utf8�__main__�N)�urlopenc	�H�d�}d�}d�}d�}d�}d�}d�}d�}||||||||d	�S)
Nc�,�|�d��S)Nz
coroutine.��
startswith��names �?/usr/lib/python3/dist-packages/pygments/lexers/_lua_builtins.py�is_in_coroutine_modulez0module_callbacks.<locals>.is_in_coroutine_module�s���?�?�<�0�0�0�c�<�|dvs|�d��rdSdS)N)r�module�packageTFr,r.s r0�is_in_modules_modulez.module_callbacks.<locals>.is_in_modules_module�s)���,�,�,����	�0J�0J�,��t��ur2c�,�|�d��S)Nzstring.r,r.s r0�is_in_string_modulez-module_callbacks.<locals>.is_in_string_module�s���?�?�9�-�-�-r2c�,�|�d��S)Nztable.r,r.s r0�is_in_table_modulez,module_callbacks.<locals>.is_in_table_module�����?�?�8�,�,�,r2c�,�|�d��S)Nr!r,r.s r0�is_in_math_modulez+module_callbacks.<locals>.is_in_math_module�s���?�?�6�*�*�*r2c�,�|�d��S)Nzio.r,r.s r0�is_in_io_modulez)module_callbacks.<locals>.is_in_io_module�����?�?�5�)�)�)r2c�,�|�d��S)Nzos.r,r.s r0�is_in_os_modulez)module_callbacks.<locals>.is_in_os_module�r@r2c�,�|�d��S)Nzdebug.r,r.s r0�is_in_debug_modulez,module_callbacks.<locals>.is_in_debug_module�r;r2)rr"r$r%r!r r#r�)r1r6r8r:r=r?rBrDs        r0�module_callbacksrF�s���	1�	1�	1�	�	�	�	.�	.�	.�	-�	-�	-�	+�	+�	+�	*�	*�	*�	*�	*�	*�	-�	-�	-�4�/�-�+�)�%�%�+�-�-�	-r2c���td��}tjd��}|D]H}|�|�d����}|�|���dcS�IdS)Nzhttp://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_versionrR�sx���0�1�1���J�<�=�=���	%�	%�D�������L�1�1�2�2�A��}��x�x�z�z�!�}�$�$�$��	%�	%r2c��td|z��}tjd��}g}|D]Y}|�|�d����}|�-|�|���d���Z|S)Nzhttp://www.lua.org/manual/%s/z4^<A HREF="manual.html#pdf-(?!lua|LUA)([^:]+)">\1</A>rHr()r)rIrJrKrL�appendrM)�versionrNrO�	functionsrPrQs      r0�get_lua_functionsrW�s����3�g�=�>�>���J�N�O�O���	��	0�	0�D�������L�1�1�2�2�A��}�� � ������A��/�/�/���r2c��t�����D]\}}||��r|cS�d|vr|�d��dSdS)N�.r(r)rF�items�split)r/�mod�cbs   r0�get_function_moduler^�sh��'�)�)�/�/�1�1�	�	�G�C���r�$�x�x�
��
�
�
�
��$�;�;��:�:�c�?�?�1�%�%��7r2c���t|��5}|���}ddd��n#1swxYwY|d|�d���}||�d��d�}t|d��5}|�|��|�dt	j|��z��|�|��ddd��dS#1swxYwYdS)NzMODULES = {zif __name__ == '__main__':�wzMODULES = %s

)�open�read�find�write�pprint�pformat)�filenamer"�fp�content�header�footers      r0�
regeneraterl�sa��
�(�^�^�	 �r��g�g�i�i�G�	 �	 �	 �	 �	 �	 �	 �	 �	 �	 �	 ����	 �	 �	 �	 ��5�'�,�,�}�5�5�5�6������&B�C�C�D�D�E���(�C�
 �
 �	�B��H�H�V�����H�H�'�&�.��*A�*A�A�B�B�B��H�H�V����	�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	�	�	s�1�5�5�AC(�(C,�/C,c
�T�t��}t��}d|fD]s}td|z��t|��}tdt	|��t	t|��|z
��fz��|t|��z}�tt|��}i}|D]L}td|z��t
|��}|�|g���|���Md�|�	��D��}tt|��dS)Nz5.2z'> Downloading function index for Lua %sz> %d functions found, %d new:z>> %sc�4�i|]\}}|t|����SrE)�tuple)�.0�k�vs   r0�
<dictcomp>zrun.<locals>.<dictcomp>s$��;�;�;�4�1�a�1�e�A�h�h�;�;�;r2)rR�setrrW�len�sortedr^�
setdefaultrTrZrl�__file__)rUrVrrrNr"�full_function_namerQs       r0�runrzs7��$�&�&���E�E�	���!�	 �	 �A��;�a�?�@�@�@�!�!�$�$�A��1��q�6�6�3�s�1�v�v�	�1�2�2�3�4�
5�
5�
5���Q����I�I��9�%�%�	���"+�	A�	A���'�.�.�/�/�/�#�$6�7�7�A����q�"�%�%�,�,�-?�@�@�@�@�;�;�7�=�=�?�?�;�;�;���8�W�%�%�%�%�%r2)
�__doc__�MODULES�__name__rI�urllib.requestr)rerFrRrWr^rlrzrEr2r0�<module>rs����� �2�"� � 
�!
�D
�
��"�
�s^�^��@�z���
�I�I�I�&�&�&�&�&�&��M�M�M�
#-�#-�#-�N%�%�%����������&�&�&�*�C�E�E�E�E�E�Y�r2