%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/_lua_builtins.cpython-312.pyc

�

|�e���~�dZddddddddd	d
dd�Zed
k(r(ddlZddlmZddlZd�Zd�Zd�Z	d�Z
d�Zd�Z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-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.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�$�|jd�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�c�0�|dvs|jd�ryy)N)r�module�packageTFr,r.s r0�is_in_modules_modulez.module_callbacks.<locals>.is_in_modules_module�s���,�,����	�0J��r2c�$�|jd�S)Nzstring.r,r.s r0�is_in_string_modulez-module_callbacks.<locals>.is_in_string_module�s���?�?�9�-�-r2c�$�|jd�S)Nztable.r,r.s r0�is_in_table_modulez,module_callbacks.<locals>.is_in_table_module�����?�?�8�,�,r2c�$�|jd�S)Nr!r,r.s r0�is_in_math_modulez+module_callbacks.<locals>.is_in_math_module�s���?�?�6�*�*r2c�$�|jd�S)Nzio.r,r.s r0�is_in_io_modulez)module_callbacks.<locals>.is_in_io_module�����?�?�5�)�)r2c�$�|jd�S)Nzos.r,r.s r0�is_in_os_modulez)module_callbacks.<locals>.is_in_os_module�r@r2c�$�|jd�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�sN��	1�	�	.�	-�	+�	*�	*�	-�4�/�-�+�)�%�%�+�-�	-r2c��td�}tjd�}|D]9}|j|j	d��}|��&|j�dcSy)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�sW���0�1���J�J�<�=���	%�D�������L�1�2�A��}��x�x�z�!�}�$�	%r2c���td|z�}tjd�}g}|D]G}|j|j	d��}|��&|j|j
�d��I|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�sq���3�g�=�>���J�J�N�O���	��	0�D�������L�1�2�A��}�� � �����A��/�	0��r2c��t�j�D]\}}||�s�|cSd|vr|jd�dSy)N�.r(r)rF�items�split)r/�mod�cbs   r0�get_function_moduler^�sL��'�)�/�/�1�	�G�C���$�x��
�	��$�;��:�:�c�?�1�%�%�r2c��t|d��5}|j�}ddd�d|jd�}||jd�d}t|dd��5}|j|�|jdt	j
|�z�|j|�ddd�y#1swY��xYw#1swYyxYw)Nzutf-8)�encodingzMODULES = {zif __name__ == '__main__':�wzMODULES = %s

)�open�read�find�write�pprint�pformat)�filenamer"�fp�content�header�footers      r0�
regeneraterm�s���
�(�W�
-�	 ���g�g�i�G�	 ��5�'�,�,�}�5�6������&B�C�D�E���(�C�'�
2�	�b��H�H�V���H�H�'�&�.�.��*A�A�B��H�H�V��	�	�	 �	 ��	�	�s�B0�A
B<�0B9�<Cc
��t�}t�}d|fD]W}td|z�t|�}tdt	|�t	t|�|z
�fz�|t|�z}�Yt|�}i}|D]<}td|z�t
|�}|j|g�j|��>|j�D��cic]\}}|t|���}}}tt|�ycc}}w)Nz5.2z'> Downloading function index for Lua %sz> %d functions found, %d new:z>> %s)
rR�setrrW�len�sortedr^�
setdefaultrTrZ�tuplerm�__file__)rUrV�vrNr"�full_function_namerQ�ks        r0�runrxs��$�&���E�	���!�	 �A��;�a�?�@�!�!�$�A��1��q�6�3�s�1�v�	�1�2�3�4�
5���Q���I�	 ��9�%�	���"+�	A���'�.�.�/�#�$6�7�A����q�"�%�,�,�-?�@�	A�,3�=�=�?�;�4�1�a�1�e�A�h�;�;��;��8�W�%��<s�C>)
�__doc__�MODULES�__name__rI�urllib.requestr)rfrFrRrWr^rmrxrEr2r0�<module>r}s���� �2�"� � 
�!
�D
�
��"�
�s^��@�z��
�&��
#-�N%����&�*�E�Yr2

Zerion Mini Shell 1.0