403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/thread-self/root/lib/python3.14/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/python3.14/__pycache__/symtable.cpython-314.pyc
+
��3j�;���Rt^RIt^RIHtHtHtHtHtHtHtH	t	H
t
HtHtH
t
HtHtHtHtHtHtHt^RIt^RIHt.ROtR	t!R
R4t]!4t!RR]4t!R
R4tRt!RR]4t!RR]4t !RR4t!R]3.t"]"PGR]$!4PK444Rt&]&Uu/uFp]$!4V,VbK	upt'Rt(])R8Xd ^RI*t*](!]*PVR,4R#R#uupi)z2Interface to the compiler's internal symbol tablesN)�USE�
DEF_GLOBAL�DEF_NONLOCAL�	DEF_LOCAL�	DEF_PARAM�DEF_TYPE_PARAM�DEF_FREE_CLASS�
DEF_IMPORT�	DEF_BOUND�	DEF_ANNOT�
DEF_COMP_ITER�
DEF_COMP_CELL�	SCOPE_OFF�
SCOPE_MASK�FREE�LOCAL�GLOBAL_IMPLICIT�GLOBAL_EXPLICIT�CELL)�StrEnum�SymbolTableType�SymbolTable�Class�Function�Symbolc�F�\P!WV4p\W14#)z�Return the toplevel *SymbolTable* for the source code.

*filename* is the name of the file with the code
and *compile_type* is the *compile()* mode argument.
)�	_symtable�symtable�_newSymbolTable)�code�filename�compile_type�tops&&& �/usr/lib/python3.14/symtable.pyrrs!���
�
�T�\�
:�C��3�)�)�c�2a�]tRt^toRtRtRtRtVtR#)�SymbolTableFactoryc�:�\P!4VnR#�N)�weakref�WeakValueDictionary�_SymbolTableFactory__memo��selfs&r#�__init__�SymbolTableFactory.__init__s���1�1�3��r$c��VP\P8Xd\W4#VP\P8Xd\W4#\
W4#r()�typer�
TYPE_FUNCTIONr�
TYPE_CLASSrr)r-�tabler s&&&r#�new�SymbolTableFactory.new!sG���:�:��0�0�0��E�,�,��:�:��-�-�-���)�)��5�+�+r$c��W3pVPPVR4pVf VPW4;q@PV&V#r()r+�getr5)r-r4r �key�objs&&&  r#�__call__�SymbolTableFactory.__call__(sA���o���k�k�o�o�c�4�(���;�%)�X�X�e�%>�>�C�+�+�c�"��
r$)�__memoN)	�__name__�
__module__�__qualname__�__firstlineno__r.r5r;�__static_attributes__�__classdictcell__��
__classdict__s@r#r&r&s����4�,��r$r&c�2�]tRt^2tRtRtRtRtRtRt	Rt
RtR	#)
r�module�function�class�
annotationz
type aliasztype parametersz
type variable�N)r>r?r@rA�MODULE�FUNCTION�CLASS�
ANNOTATION�
TYPE_ALIAS�TYPE_PARAMETERS�
TYPE_VARIABLErBrKr$r#rr2s%��
�F��H��E��J��J�'�O�#�Mr$c�ta�]tRt^<toRtRtRtRtRtRt	Rt
RtR	tR
t
RtRtR
tRtRtVtR#)rc�,�WnW n/VnR#r()�_table�	_filename�_symbols)r-�	raw_tabler s&&&r#r.�SymbolTable.__init__>s����!����
r$c�:�VP\8XdRpMRVPP,pVPPR8XdRPWP4#RPVVPPVP4#)�z%s r"z<{0}SymbolTable for module {1}>z<{0}SymbolTable for {1} in {2}>)�	__class__rr>rU�name�formatrV)r-�kinds& r#�__repr__�SymbolTable.__repr__Csy���>�>�[�(��D��4�>�>�2�2�2�D��;�;���u�$�4�;�;�D�.�.�Q�Q�4�;�;�D�<@�K�K�<L�<L�<@�N�N�L�
Lr$c�\�VPP\P8Xd\P
#VPP\P8Xd\P#VPP\P8Xd\P#VPP\P8Xd\P#VPP\P8Xd\P#VPP\P8Xd\P#VPP\P 8Xd\P"#QRTPP24h)zvReturn the type of the symbol table.

The value returned is one of the values in
the ``SymbolTableType`` enumeration.
zunexpected type: )rUr1r�TYPE_MODULErrLr2rMr3rN�TYPE_ANNOTATIONrO�TYPE_TYPE_ALIASrP�TYPE_TYPE_PARAMETERSrQ�TYPE_TYPE_VARIABLErRr,s&r#�get_type�SymbolTable.get_typePs���;�;���y�4�4�4�"�)�)�)��;�;���y�6�6�6�"�+�+�+��;�;���y�3�3�3�"�(�(�(��;�;���y�8�8�8�"�-�-�-��;�;���y�8�8�8�"�-�-�-��;�;���y�=�=�=�"�2�2�2��;�;���y�;�;�;�"�0�0�0�<�)�$�+�+�*:�*:�);�<�<�ur$c�.�VPP#)z,Return an identifier for the table.
        )rU�idr,s&r#�get_id�SymbolTable.get_idfs���{�{�~�~�r$c�.�VPP#)z�Return the table's name.

This corresponds to the name of the class, function
or 'top' if the table is for a class, function or
global respectively.
)rUr]r,s&r#�get_name�SymbolTable.get_nameks���{�{���r$c�.�VPP#)z@Return the number of the first line in the
block for the table.
)rU�linenor,s&r#�
get_lineno�SymbolTable.get_linenots���{�{�!�!�!r$c�b�\VPP\P8H4#)z:Return *True* if the locals in the table
are optimizable.
)�boolrUr1rr2r,s&r#�is_optimized�SymbolTable.is_optimizedzs$���D�K�K�$�$�	�(?�(?�?�@�@r$c�@�\VPP4#)z9Return *True* if the block is a nested class
or function.)rvrU�nestedr,s&r#�	is_nested�SymbolTable.is_nested�s���D�K�K�&�&�'�'r$c�@�\VPP4#)z:Return *True* if the block has nested namespaces.
        )rvrU�childrenr,s&r#�has_children�SymbolTable.has_children�s���D�K�K�(�(�)�)r$c�J�VPPP4#)zKReturn a view object containing the names of symbols in the table.
        )rU�symbols�keysr,s&r#�get_identifiers�SymbolTable.get_identifiers�s���{�{�"�"�'�'�)�)r$c�
�VPPV4pVfdVPPV,pVP	V4pVPP
R8Hp\
WVVR7;q PV&V#)z<Lookup a *name* in the table.

Returns a *Symbol* instance.
r")�module_scope)rWr8rUr��_SymbolTable__check_childrenr]r)r-r]�sym�flags�
namespacesr�s&&    r#�lookup�SymbolTable.lookup�s{��
�m�m����%���;��K�K�'�'��-�E��.�.�t�4�J� �K�K�,�,��5�L�(.�t�J�<H�)J�
J�C�-�-��%��
r$c�h�VP4Uu.uFqPV4NK	up#uupi)z<Return a list of *Symbol* instances for
names in the table.
)r�r�)r-�idents& r#�get_symbols�SymbolTable.get_symbols�s.��15�0D�0D�0F�G�0F�u���E�"�0F�G�G��Gs�/c��VPPUu.uF+pVPV8XgK\W P4NK-	up#uupir()rUr~r]rrV)r-r]�sts&& r#�__check_children�SymbolTable.__check_children�sG���+�+�.�.�$�.�B��7�7�d�?�4���N�N�3�.�$�	$��$s
�A
�A
c�~�VPPUu.uFp\WP4NK	up#uupi)z3Return a list of the nested symbol tables.
        )rUr~rrV)r-r�s& r#�get_children�SymbolTable.get_children�s<���+�+�.�.�0�.�B� ��N�N�3�.�0�	0��0s�:)rVrWrUN)r>r?r@rAr.r`rhrlrorsrwr{rr�r�r�r�r�rBrCrDs@r#rr<sS�����
L�=�,�
 �"�A�(�
*�
*�
�H�$�
0�0r$c�2�V\,	\,#r()rr)r�s&r#�
_get_scoper��s���Y��*�,�,r$c�Xa�]tRt^�toRtRtRtRtRtRt	Rt
RtRtRt
RtRtVtR#)	rNc�aa�\;QJd&.VV3RlSP44FNK	5#!VV3RlSP444#)c3�~<"�TF2pS!SPPV,4'gK.Vx�K4	R#5ir()rUr�)�.0r�r-�	test_funcs& ��r#�	<genexpr>�-Function.__idents_matching.<locals>.<genexpr>�s1����?�(>�u�!�$�+�+�"5�"5�e�"<�=��U�(>�s�+=�
=)�tupler�)r-r�sffr#�__idents_matching�Function.__idents_matching�sE����u�?��(<�(<�(>�?�u�	?�u�?��(<�(<�(>�?�?�	?r$c�d�VPfVPR4VnVP#)z6Return a tuple of parameters to the function.
        c��V\,#r()r��xs&r#�<lambda>�)Function.get_parameters.<locals>.<lambda>�s��A�	�Mr$)�_Function__params�_Function__idents_matchingr,s&r#�get_parameters�Function.get_parameters�s+���=�=� � �2�2�3I�J�D�M��}�}�r$c�a�VPf)\\3oV3RlpVPV4VnVP#)z2Return a tuple of locals in the function.
        c� <�\V4S9#r(�r�)r��locss&�r#r��%Function.get_locals.<locals>.<lambda>�����Z��]�d�2r$)�_Function__localsrrr�)r-�testr�s& @r#�
get_locals�Function.get_locals�s9����=�=� ��4�=�D�2�D� �2�2�4�8�D�M��}�}�r$c�a�VPf)\\3oV3RlpVPV4VnVP#)z3Return a tuple of globals in the function.
        c� <�\V4S9#r(r�)r��globs&�r#r��&Function.get_globals.<locals>.<lambda>�r�r$)�_Function__globalsrrr�)r-r�r�s& @r#�get_globals�Function.get_globals�s:����>�>�!�#�_�5�D�2�D�!�3�3�D�9�D�N��~�~�r$c�d�VPfVPR4VnVP#)z5Return a tuple of nonlocals in the function.
        c��V\,#r()rr�s&r#r��(Function.get_nonlocals.<locals>.<lambda>�s	��q�<�?Or$)�_Function__nonlocalsr�r,s&r#�
get_nonlocals�Function.get_nonlocals�s0�����#�#�5�5�6O�P�D�����r$c�h�VPfRpVPV4VnVP#)z:Return a tuple of free variables in the function.
        c�&�\V4\8H#r()r�rr�s&r#r��$Function.get_frees.<locals>.<lambda>�s
��
�1�
�� 5r$)�_Function__freesr�)r-�is_frees& r#�	get_frees�Function.get_frees�s/���<�<��5�G��1�1�'�:�D�L��|�|�r$)�__frees�	__globals�__locals�__nonlocals�__params)r>r?r@rAr�r�r�r�r�r�r�r�r�r�r�rBrCrDs@r#rr�sC�����H��H��G��I��K�?���� ��r$c�*a�]tRt^�toRtRtRtVtR#)rNc�.a�^RIpSPPRSPP2pVP	VR2\
^R7SPEf-/pV3RlpSPPF�pV!VP4'gKVP;\P8Xd6VPR8XdRVP9dKb^W5P&Kr\P8XgK�VPpVPFVpVPV8XgKVP\P8XgK7VR8wgRVP9gQh^W6&K�	K�	\V4SnSP#)z9Return a tuple of methods declared in the class.
        N�.z@.get_methods() is deprecated and will be removed in Python 3.16.)�
stacklevelc�<�SPPPV^4pV\,	\,\
8H#��)rUr�r8rrr)r�r�r-s& �r#�is_local_symbol�*Class.get_methods.<locals>.is_local_symbol�s4������+�+�/�/��q�9���)�+�z�9�e�C�Cr$�genexprz.0)�warningsr\r?r>�warn�DeprecationWarning�_Class__methodsrUr~r]r1rr2�varnamesrfr�)r-r��typename�dr�r��
scope_name�csf       r#�get_methods�Class.get_methods�sH���	��n�n�/�/�0��$�.�.�2I�2I�1J�K���
�
��
�#<�=�(�Q�	�	8��>�>�!��A�
D��k�k�*�*��"�2�7�7�+�+��'�'�4�Y�4�4� "�w�w�)�3�����8K� (�)*�A�g�g�J�&�;�;�;�*,���J�%'�[�[��#$�6�6�Z�#7�A�F�F�i�F]�F]�<]�,6��+B�d�RS�R\�R\�F\�$\�+\�45�A�M�$)�&1�+�4#�1�X�D�N��~�~�r$)�	__methods)r>r?r@rAr�r�rBrCrDs@r#rr�s�����I�+�+r$c�a�]tRtRtoRRR/RlltRtRtRtR	tR
t	Rt
RtR
tRt
RtRtRtRtRtRtRtRtRtRtRtRtRtVtR#)riNr�Fc�l�WnW n\V4VnT;'gRVnW@nR#)NrK)�
_Symbol__name�_Symbol__flagsr��_Symbol__scope�_Symbol__namespaces�_Symbol__module_scope)r-r]r�r�r�s&&&&$r#r.�Symbol.__init__s.������!�%�(���&�,�,�"���*�r$c��RPVP44pRVP:RVP4RVR2#)�|z<symbol �: �, �>)�join�
_flags_strr��
_scope_str)r-�	flags_strs& r#r`�Symbol.__repr__$s>���H�H�T�_�_�.�/�	��$�+�+���4�?�?�+<�*=�R�	�{�!�L�Lr$c�z�\PVP4;'g\VP4#r()�_scopes_value_to_namer8r��strr,s&r#r��Symbol._scope_str(s(��$�(�(����6�K�K�#�d�l�l�:K�Kr$c#�h"�\F#wrVPV,V8XgKVx�K%	R#5ir()�_flagsr�)r-�flagname�	flagvalues&  r#r��Symbol._flags_str+s(���#)��H��|�|�i�'�9�4���$*�s�!2�
2c��VP#)z#Return a name of a symbol.
        )r�r,s&r#ro�Symbol.get_name0s���{�{�r$c�B�\VP\,4#)z2Return *True* if the symbol is used in
its block.
)rvr�rr,s&r#�
is_referenced�Symbol.is_referenced5s���D�L�L�3�&�'�'r$c�B�\VP\,4#)z4Return *True* if the symbol is a parameter.
        )rvr�rr,s&r#�is_parameter�Symbol.is_parameter;����D�L�L�9�,�-�-r$c�B�\VP\,4#)z9Return *True* if the symbol is a type parameter.
        )rvr�rr,s&r#�is_type_parameter�Symbol.is_type_parameter@����D�L�L�>�1�2�2r$c��\VP\\39;'g,VP;'dVP
\,4#)z/Return *True* if the symbol is global.
        )rvr�rrr�r�r
r,s&r#�	is_global�Symbol.is_globalEsI���D�L�L�_�o�$F�F�J�J��+�+�H�H����y�0H�K�	Kr$c�B�\VP\,4#)z(Return *True* if the symbol is nonlocal.)rvr�rr,s&r#�is_nonlocal�Symbol.is_nonlocalKs���D�L�L�<�/�0�0r$c�:�\VP\8H4#)zGReturn *True* if the symbol is declared global
with a global statement.)rvr�rr,s&r#�is_declared_global�Symbol.is_declared_globalOs���D�L�L�O�3�4�4r$c��\VP\\39;'g,VP;'dVP
\,4#)z.Return *True* if the symbol is local.
        )rvr�rrr�r�r
r,s&r#�is_local�Symbol.is_localTsH���D�L�L�U�D�M�1�J�J��+�+�H�H����y�0H�K�	Kr$c�B�\VP\,4#)z2Return *True* if the symbol is annotated.
        )rvr�rr,s&r#�is_annotated�Symbol.is_annotatedZrr$c�:�\VP\8H4#)z9Return *True* if a referenced symbol is
not assigned to.
)rvr�rr,s&r#r��Symbol.is_free_s���D�L�L�D�(�)�)r$c�B�\VP\,4#)zPReturn *True* if a class-scoped symbol is free from
the perspective of a method.)rvr�rr,s&r#�
is_free_class�Symbol.is_free_classerr$c�B�\VP\,4#)zAReturn *True* if the symbol is created from
an import statement.
)rvr�r	r,s&r#�is_imported�Symbol.is_importedjs���D�L�L�:�-�.�.r$c�B�\VP\,4#)z)Return *True* if a symbol is assigned to.)rvr�rr,s&r#�is_assigned�Symbol.is_assignedps���D�L�L�9�,�-�-r$c�B�\VP\,4#)zKReturn *True* if the symbol is a comprehension iteration variable.
        )rvr�rr,s&r#�is_comp_iter�Symbol.is_comp_itert����D�L�L�=�0�1�1r$c�B�\VP\,4#)zKReturn *True* if the symbol is a cell in an inlined comprehension.
        )rvr�r
r,s&r#�is_comp_cell�Symbol.is_comp_cellyr-r$c�,�\VP4#)aSReturns *True* if name binding introduces new namespace.

If the name is used as the target of a function or class
statement, this will be true.

Note that a single name can be bound to multiple objects.  If
is_namespace() is true, the name may also be bound to other
objects, like an int or list, that does not introduce a new
namespace.
)rvr�r,s&r#�is_namespace�Symbol.is_namespace~s���D�%�%�&�&r$c��VP#)z.Return a list of namespaces bound to this name)r�r,s&r#�get_namespaces�Symbol.get_namespaces�s��� � � r$c��\VP4^8Xd\R4h\VP4^8�d\R4hVP^,#)z�Return the single namespace bound to this name.

Raises ValueError if the name is bound to multiple namespaces
or no namespace.
z#name is not bound to any namespacesz$name is bound to multiple namespaces)�lenr��
ValueErrorr,s&r#�
get_namespace�Symbol.get_namespace�sS���t� � �!�Q�&��B�C�C�
��"�"�
#�a�
'��C�D�D��$�$�Q�'�'r$)�__flags�__module_scope�__name�__namespaces�__scoper()r>r?r@rAr.r`r�r�rorr	r
rrrrrr�r"r%r(r+r/r2r5r:rBrCrDs@r#rrs�����+�U�+�M�L��
�
(�.�
3�
K�1�5�
K�.�
*�3�
/�.�2�
2�
'�!�(�(r$rc#�d"�TF&q^,PR4'gK"Vx�K(	R#5i)r��DEF_N)�
startswith)r��kvs& r#r�r��s#���
I�,�R�1��0@�0@��0H�b�b�,�s�0�
0c�:a�^RIpRV3RlloT;'gR.FipVR8XdVPP4pRpM-\VR4;_uu_4pVP4pRRR4\	XVR4pS!V4Kk	R# +'giL+;i)r�Nc
�<�RV,pVP4'dRMRpVP4R8XdRVP:2pMVP4:p\	VRVVP4RVR24VP4F�pVP
V4pRPVP44P4p\	RVVP4P4R	VP4:R
V24K�	\	4VP4FpS	!W�^,4K	R#)z    znested r[rGz
from file zsymbol table for � �:r�z symbol r�N)r{rhrVro�printr�r�r�r��lowerr�r�)
r4�level�indentrz�whatr��symbolr��table2�
print_symbolss
&&       �r#rP�main.<locals>.print_symbols�s����%���#�o�o�/�/��R���>�>��x�'�����2�3�D��n�n�&�)�D�
���)�&��%�.�.�2B�1C�1�T�F�!�L�M��*�*�,�E��\�\�%�(�F��I�I�f�/�/�1�2�8�8�:�E��D����!2�!2�!4�!:�!:�!<� =�X�f�o�o�FW�EZ�Z\�]b�\c�d�e�-�	���(�(�*�F��&�!�)�,�+r$�-z<stdin>�rb�execr�)�sys�stdin�read�openr)�argsrUr �src�f�modrPs&     @r#�mainr]�s{����-�"�M�M�S�E�M���s�?��)�)�.�.�"�C� �H��h��%�%���f�f�h��&��s�H�f�-���c��"�
&�%�s�B
�
B�__main__:�NN)rrrrrr)rrrrr),�__doc__rrrrrrrrr	r
rrr
rrrrrrrr)�enumr�__all__rr&rrrr�rrrr��extend�globals�items�
_scopes_namesr�r]r>rU�argv)�ns0r#�<module>ris��8��	�	�	�	�	�	���
W��*���$%�&��$�g�$�p0�p0�f-�3�{�3�l/�K�/�d(�(�D�#�,����
�
�
I�7�9�?�?�,�
I�I�O�
�2?�@�-�Q���1��q��-�@���<�z�������"�����CAs�D

Youez - 2016 - github.com/yon3zu
LinuXploit