HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.7/__pycache__/symtable.cpython-37.pyc
B

{aj	@sNdZddlZddlmZmZmZmZmZmZmZm	Z	m
Z
mZmZm
Z
mZmZddlZdddddgZd	dZGd
ddZeZGdddeZGd
ddeZGdddeZGdddeZedkrJddlZddlZeejdZe Z!WdQRXee!ej"#ejdddZ$x0e$%D]$Z&e$'e&Z(e)e(e(*e(+q"WdS)z2Interface to the compiler's internal symbol tablesN)USE
DEF_GLOBAL	DEF_LOCAL	DEF_PARAM
DEF_IMPORT	DEF_BOUND	DEF_ANNOT	SCOPE_OFF
SCOPE_MASKFREELOCALGLOBAL_IMPLICITGLOBAL_EXPLICITCELLsymtableSymbolTableClassFunctionSymbolcCst|||}t||S)N)	_symtabler_newSymbolTable)codefilenameZcompile_typetopr/usr/lib/python3.7/symtable.pyrsc@s$eZdZddZddZddZdS)SymbolTableFactorycCst|_dS)N)weakrefZWeakValueDictionary_SymbolTableFactory__memo)selfrrr__init__szSymbolTableFactory.__init__cCs6|jtjkrt||S|jtjkr,t||St||S)N)typer
TYPE_FUNCTIONr
TYPE_CLASSrr)rtablerrrrnews


zSymbolTableFactory.newcCs8||f}|j|d}|dkr4|||}|j|<|S)N)rgetr%)rr$rkeyobjrrr__call__s
zSymbolTableFactory.__call__N)__name__
__module____qualname__r r%r)rrrrrsrc@seZdZddZddZddZddZd	d
ZddZd
dZ	ddZ
ddZddZddZ
ddZddZddZddZdS) rcCs||_||_i|_dS)N)_table	_filename_symbols)rZ	raw_tablerrrrr 'szSymbolTable.__init__cCsN|jtkrd}nd|jj}|jjdkr6d||jSd||jj|jSdS)Nz%s globalz<{0}SymbolTable for module {1}>z<{0}SymbolTable for {1} in {2}>)	__class__rr*r-nameformatr.)rZkindrrr__repr__,s
zSymbolTable.__repr__cCsX|jjtjkrdS|jjtjkr$dS|jjtjkr6dS|jjdksTtd|jjdS)NmoduleZfunctionclass)zunexpected type: {0})r-r!rZTYPE_MODULEr"r#AssertionErrorr4)rrrrget_type9szSymbolTable.get_typecCs|jjS)N)r-id)rrrrget_idCszSymbolTable.get_idcCs|jjS)N)r-r3)rrrrget_nameFszSymbolTable.get_namecCs|jjS)N)r-lineno)rrrr
get_linenoIszSymbolTable.get_linenocCst|jjtjkS)N)boolr-r!rr")rrrris_optimizedLszSymbolTable.is_optimizedcCst|jjS)N)rBr-nested)rrrr	is_nestedOszSymbolTable.is_nestedcCst|jjS)N)rBr-children)rrrrhas_childrenRszSymbolTable.has_childrencCsdS)z7Return true if the scope uses exec.  Deprecated method.Fr)rrrrhas_execUszSymbolTable.has_execcCs|jjS)N)r-symbolskeys)rrrrget_identifiersYszSymbolTable.get_identifierscCsD|j|}|dkr@|jj|}||}t|||}|j|<|S)N)r/r&r-rI_SymbolTable__check_childrenr)rr3Zsymflags
namespacesrrrlookup\s
zSymbolTable.lookupcsfddDS)Ncsg|]}|qSr)rO).0ident)rrr
<listcomp>esz+SymbolTable.get_symbols.<locals>.<listcomp>)rK)rr)rrget_symbolsdszSymbolTable.get_symbolscsfddjjDS)Ncs"g|]}|jkrt|jqSr)r3rr.)rPst)r3rrrrRhsz0SymbolTable.__check_children.<locals>.<listcomp>)r-rF)rr3r)r3rrZ__check_childrengszSymbolTable.__check_childrencsfddjjDS)Ncsg|]}t|jqSr)rr.)rPrT)rrrrRmsz,SymbolTable.get_children.<locals>.<listcomp>)r-rF)rr)rrget_childrenls
zSymbolTable.get_childrenN)r*r+r,r r5r<r>r?rArCrErGrHrKrOrSrLrUrrrrr%s

c@sDeZdZdZdZdZdZddZddZddZ	dd	Z
d
dZdS)rNcstfddDS)Nc3s"|]}jj|r|VqdS)N)r-rI)rPrQ)r	test_funcrr	<genexpr>zsz-Function.__idents_matching.<locals>.<genexpr>)tuplerK)rrVr)rrVrZ__idents_matchingyszFunction.__idents_matchingcCs |jdkr|dd|_|jS)NcSs|t@S)N)r)xrrr<lambda>z)Function.get_parameters.<locals>.<lambda>)_Function__params_Function__idents_matching)rrrrget_parameters}s
zFunction.get_parameterscs0|jdkr*ttffdd}|||_|jS)Ncs|t?t@kS)N)r	r
)rY)locsrrrZr[z%Function.get_locals.<locals>.<lambda>)_Function__localsrrr])rtestr)r_r
get_localss

zFunction.get_localscs0|jdkr*ttffdd}|||_|jS)Ncs|t?t@kS)N)r	r
)rY)globrrrZr[z&Function.get_globals.<locals>.<lambda>)_Function__globalsr
rr])rrar)rcrget_globalss

zFunction.get_globalscCs$|jdkrdd}|||_|jS)NcSs|t?t@tkS)N)r	r
r)rYrrrrZr[z$Function.get_frees.<locals>.<lambda>)_Function__freesr])ris_freerrr	get_freess
zFunction.get_frees)r*r+r,r\r`rfrdr]r^rbrerhrrrrrqsc@seZdZdZddZdS)rNcCs:|jdkr4i}x|jjD]}d||j<qWt||_|jS)Nr8)_Class__methodsr-rFr3rX)rdrTrrrget_methodss

zClass.get_methods)r*r+r,rirkrrrrrsc@seZdZd ddZddZddZdd	Zd
dZdd
ZddZ	ddZ
ddZddZddZ
ddZddZddZddZdS)!rNcCs(||_||_|t?t@|_|p d|_dS)Nr)
_Symbol__name_Symbol__flagsr	r
_Symbol__scope_Symbol__namespaces)rr3rMrNrrrr szSymbol.__init__cCsd|jS)Nz<symbol {0!r}>)r4rl)rrrrr5szSymbol.__repr__cCs|jS)N)rl)rrrrr?szSymbol.get_namecCst|jtj@S)N)rBrmrr)rrrr
is_referencedszSymbol.is_referencedcCst|jt@S)N)rBrmr)rrrris_parameterszSymbol.is_parametercCst|jttfkS)N)rBrnr
r)rrrr	is_globalszSymbol.is_globalcCst|jtkS)N)rBrnr)rrrris_declared_globalszSymbol.is_declared_globalcCst|jt@S)N)rBrmr)rrrris_localszSymbol.is_localcCst|jt@S)N)rBrmr)rrrris_annotatedszSymbol.is_annotatedcCst|jtkS)N)rBrnr)rrrrrgszSymbol.is_freecCst|jt@S)N)rBrmr)rrrris_importedszSymbol.is_importedcCst|jt@S)N)rBrmr)rrrris_assignedszSymbol.is_assignedcCs
t|jS)aReturns 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.
        )rBro)rrrris_namespaceszSymbol.is_namespacecCs|jS)z.Return a list of namespaces bound to this name)ro)rrrrget_namespacesszSymbol.get_namespacescCs t|jdkrtd|jdS)zReturns the single namespace bound to this name.

        Raises ValueError if the name is bound to multiple namespaces.
        r8z$name is bound to multiple namespacesr)lenro
ValueError)rrrr
get_namespaceszSymbol.get_namespace)N)r*r+r,r r5r?rprqrrrsrtrurgrvrwrxryr|rrrrrs

__main__r8exec),__doc__rrrrrrrrr	r
rrr
rrr__all__rrrobjectrrrrr*ossysopenargvfreadsrcpathsplitmodrKrQrOinfoprintrtrxrrrr<module>s&@L&
C