$12 GRAYBYTE WORDPRESS FILE MANAGER $80

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python33/lib64/python3.3/idlelib/__pycache__/

HOME
Current File : /opt/alt/python33/lib64/python3.3/idlelib/__pycache__//HyperParser.cpython-33.pyc
�
��fB)c@sEdZddlZddlZddlmZGdd�d�ZdS(uk
HyperParser
===========
This module defines the HyperParser class, which provides advanced parsing
abilities for the ParenMatch and other extensions.
The HyperParser uses PyParser. PyParser is intended mostly to give information
on the proper indentation of code. HyperParser gives some information on the
structure of code, used by extensions to help the user.
iN(uPyParsecBs�|EeZdZdd�Zdd�Zdd�Zdd�Zd	dd
d�ZdZ	e
je
jd
Z
e
jd
Zdd�Zdd�ZdS(uHyperParserc
s�|�_|j�_}tj|j|j�}dd�}||j|��}|jsx�|jD]�}t	||d�}t
|�d}	d|}
|j|j|	|
�d�|j
|j|	��}|d
k	s�|dkrePqeqeW|j|p�d�n_|jd|�}|r(|d}	nd	}	d|}
|j|j|	|
�d�|jd�|jd
d��_|
�_|j��_�fdd
�tt�j��D��_�j|�d
S(u[Initialize the HyperParser to analyze the surroundings of the given
        index.
        cSstt|��S(N(uintufloat(uindex((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu
index2linesu(HyperParser.__init__.<locals>.index2lineiu.0u%d.endu 
iuconsoleu1.0NicsBg|]8}|dko;�j|d�j|ddk�qS(ii(u
bracketing(u.0ui(uself(u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu
<listcomp>Cs	u(HyperParser.__init__.<locals>.<listcomp>i����(ueditwinutextuPyParseuParseruindentwidthutabwidthuindexucontext_use_ps1unum_context_linesumaxurepruset_strugetufind_good_parse_startu_build_char_in_string_funcuNoneuset_lou
tag_prevrangeustrurawtextustopatindexuget_last_stmt_bracketingu
bracketingurangeulenuisopeneru	set_index(
uselfueditwinuindexutextuparseru
index2lineulnoucontextustartatustartatindexustopatindexubodur((uselfu8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu__init__s:		



	uHyperParser.__init__cCst|j�t|jj||j��}|dkrFtd��n||_d|_xP|jt|j�dkr�|j|jdd|jkr�|jd7_q[W|jt|j�dkr|j|jdd|jkr|j	|jdr|jd7_ndS(uiSet the index to which the functions relate. Note that it must be
        in the same statement.
        iu0The index given is before the analyzed statementiN(
ulenurawtextutextugetustopatindexu
ValueErroruindexinrawtextuindexbracketu
bracketinguisopener(uselfuindexuindexinrawtext((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu	set_indexHs+		!!uHyperParser.set_indexcCs/|j|jo.|j|j|jddkS(u5Is the index given to the HyperParser is in a string?iu"u'(u"u'(uisopeneruindexbracketurawtextu
bracketing(uself((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyuis_in_string[suHyperParser.is_in_stringcCs0|j|jp/|j|j|jddkS(u:Is the index given to the HyperParser is in a normal code?iu#u"u'(u#u"u'(uisopeneruindexbracketurawtextu
bracketing(uself((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu
is_in_codebsuHyperParser.is_in_codeu([{c
Cs�|j|jd}|j}x{|j|sc|j|j|d|ksc|j|d|kr�|d8}|dkr}dSt||j|d�}q W|jd}x:|t|j�kr�|j|d|kr�|d7}q�W|jjd|j	t|j�|j|df�}|t|j�ksQ|j|dt|j�krg|r[dS|j	}n;|jjd|j	t|j�|j|ddf�}||fS(u�If the index given to the HyperParser is surrounded by a bracket
        defined in openers (or at least has one before it), return the
        indices of the opening bracket and the closing bracket (or the
        end of line, whichever comes first).
        If it is not surrounded by brackets, or the end of line comes before
        the closing bracket and mustclose is True, returns None.
        iiu%s-%dcN(
u
bracketinguindexbracketuisopenerurawtextuNoneuminulenutextuindexustopatindex(uselfuopenersu	mustcloseubracketinglevelubeforeuafterubeforeindexu
afterindex((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyuget_surrounding_bracketshs0	

+ )u$HyperParser.get_surrounding_bracketsu 	
\u_cCs�|}x1||kr9||d|jkr9|d8}q	W||kr{|||jksrtj|||��r{|}n||S(Ni(u	_id_charsu_id_first_charsukeywordu	iskeyword(uselfustrulimituposui((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu_eat_identifier�s&	uHyperParser._eat_identifierc
	Csu|j�std��n|j}|j}|j}||d}|j}|}d
}xx�||kr�||d|jkr�|d8}q_|r�||kr�||ddkr�|d8}d
}q_||kr*|dkr*|||dddkr*|d8}||d}||dd}q_Pq_|s8Pn|j|||�}|rl||}|}d}q\||kr`||d}	x2|dkr�||dd|	kr�|d8}q�W||d|kr�Pn||d}|d8}||d}|}||dkrqa||dkr\x.|dkrR||dd	krR|d8}q%W|}nPq\Pq\|||j�S(u�Return a string with the Python expression which ends at the given
        index, which is empty if there is no real one.
        u?get_expression should only be called if index is inside a code.iiu.u#iu([u'"urRbBuUTF(
u
is_in_codeu
ValueErrorurawtextu
bracketinguindexbracketuindexinrawtextuTrueu_whitespace_charsu_eat_identifieruFalse(
uselfurawtextu
bracketingu
brck_indexu
brck_limituposulast_identifier_posu
postdot_phaseuretulevel((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyuget_expression�sb				#
 
	

	'
#	uHyperParser.get_expressionNF(u__name__u
__module__u__qualname__u__init__u	set_indexuis_in_stringu
is_in_codeuFalseuget_surrounding_bracketsu_whitespace_charsustringu
ascii_lettersudigitsu	_id_charsu_id_first_charsu_eat_identifieruget_expression(u
__locals__((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyuHyperParsers7'
	uHyperParser(u__doc__ustringukeyworduidlelibuPyParseuHyperParser(((u8/opt/alt/python33/lib64/python3.3/idlelib/HyperParser.pyu<module>	s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
AutoComplete.cpython-33.pyc
10 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
AutoComplete.cpython-33.pyo
10 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
AutoCompleteWindow.cpython-33.pyc
15.667 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
AutoCompleteWindow.cpython-33.pyo
15.609 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
AutoExpand.cpython-33.pyc
2.961 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
AutoExpand.cpython-33.pyo
2.961 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Bindings.cpython-33.pyc
4.886 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Bindings.cpython-33.pyo
4.886 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CallTipWindow.cpython-33.pyc
7.453 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CallTipWindow.cpython-33.pyo
7.453 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CallTips.cpython-33.pyc
7.719 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CallTips.cpython-33.pyo
7.719 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ClassBrowser.cpython-33.pyc
12.054 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ClassBrowser.cpython-33.pyo
12.054 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CodeContext.cpython-33.pyc
8.047 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
CodeContext.cpython-33.pyo
8.004 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ColorDelegator.cpython-33.pyc
11.004 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ColorDelegator.cpython-33.pyo
11.004 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Debugger.cpython-33.pyc
21.185 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Debugger.cpython-33.pyo
21.185 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Delegator.cpython-33.pyc
1.646 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Delegator.cpython-33.pyo
1.646 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
EditorWindow.cpython-33.pyc
74.343 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
EditorWindow.cpython-33.pyo
74.229 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
FileList.cpython-33.pyc
4.979 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
FileList.cpython-33.pyo
4.947 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
FormatParagraph.cpython-33.pyc
8.088 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
FormatParagraph.cpython-33.pyo
8.088 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
GrepDialog.cpython-33.pyc
6.204 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
GrepDialog.cpython-33.pyo
6.204 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
HyperParser.cpython-33.pyc
7.816 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
HyperParser.cpython-33.pyo
7.816 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
IOBinding.cpython-33.pyc
19.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
IOBinding.cpython-33.pyo
19.986 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
IdleHistory.cpython-33.pyc
4.627 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
IdleHistory.cpython-33.pyo
4.627 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
MultiCall.cpython-33.pyc
22.063 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
MultiCall.cpython-33.pyo
21.984 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
MultiStatusBar.cpython-33.pyc
1.84 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
MultiStatusBar.cpython-33.pyo
1.84 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ObjectBrowser.cpython-33.pyc
8.229 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ObjectBrowser.cpython-33.pyo
8.229 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
OutputWindow.cpython-33.pyc
6.473 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
OutputWindow.cpython-33.pyo
6.473 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ParenMatch.cpython-33.pyc
8.81 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ParenMatch.cpython-33.pyo
8.81 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PathBrowser.cpython-33.pyc
5.685 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PathBrowser.cpython-33.pyo
5.685 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Percolator.cpython-33.pyc
4.723 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
Percolator.cpython-33.pyo
4.484 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PyParse.cpython-33.pyc
11.582 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PyParse.cpython-33.pyo
11.03 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PyShell.cpython-33.pyc
65.983 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
PyShell.cpython-33.pyo
65.815 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RemoteDebugger.cpython-33.pyc
22.389 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RemoteDebugger.cpython-33.pyo
22.208 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RemoteObjectBrowser.cpython-33.pyc
3.34 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RemoteObjectBrowser.cpython-33.pyo
3.34 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ReplaceDialog.cpython-33.pyc
8.06 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ReplaceDialog.cpython-33.pyo
8.06 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RstripExtension.cpython-33.pyc
1.859 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
RstripExtension.cpython-33.pyo
1.859 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ScriptBinding.cpython-33.pyc
9.034 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ScriptBinding.cpython-33.pyo
9.034 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ScrolledList.cpython-33.pyc
8.004 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ScrolledList.cpython-33.pyo
8.004 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchDialog.cpython-33.pyc
3.716 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchDialog.cpython-33.pyo
3.716 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchDialogBase.cpython-33.pyc
7.462 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchDialogBase.cpython-33.pyo
7.462 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchEngine.cpython-33.pyc
9.979 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
SearchEngine.cpython-33.pyo
9.979 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
StackViewer.cpython-33.pyc
7.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
StackViewer.cpython-33.pyo
7.242 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ToolTip.cpython-33.pyc
5.432 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ToolTip.cpython-33.pyo
5.432 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
TreeWidget.cpython-33.pyc
22.582 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
TreeWidget.cpython-33.pyo
22.582 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
UndoDelegator.cpython-33.pyc
16.719 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
UndoDelegator.cpython-33.pyo
16.719 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
WidgetRedirector.cpython-33.pyc
6.477 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
WidgetRedirector.cpython-33.pyo
6.477 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
WindowList.cpython-33.pyc
4.859 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
WindowList.cpython-33.pyo
4.859 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ZoomHeight.cpython-33.pyc
1.954 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ZoomHeight.cpython-33.pyo
1.954 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyc
0.145 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyo
0.145 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__main__.cpython-33.pyc
0.305 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__main__.cpython-33.pyo
0.305 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
aboutDialog.cpython-33.pyc
7.904 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
aboutDialog.cpython-33.pyo
7.904 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configDialog.cpython-33.pyc
57.857 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configDialog.cpython-33.pyo
57.857 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configHandler.cpython-33.pyc
32.273 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configHandler.cpython-33.pyo
32.273 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configHelpSourceEdit.cpython-33.pyc
7.716 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configHelpSourceEdit.cpython-33.pyo
7.716 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configSectionNameDialog.cpython-33.pyc
5.473 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
configSectionNameDialog.cpython-33.pyo
5.473 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dynOptionMenuWidget.cpython-33.pyc
1.999 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dynOptionMenuWidget.cpython-33.pyo
1.999 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
idle.cpython-33.pyc
0.412 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
idle.cpython-33.pyo
0.412 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
idlever.cpython-33.pyc
0.176 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
idlever.cpython-33.pyo
0.176 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
keybindingDialog.cpython-33.pyc
14.479 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
keybindingDialog.cpython-33.pyo
14.479 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
macosxSupport.cpython-33.pyc
8.19 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
macosxSupport.cpython-33.pyo
8.19 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
rpc.cpython-33.pyc
28.189 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
rpc.cpython-33.pyo
28.027 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
run.cpython-33.pyc
16.84 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
run.cpython-33.pyo
16.785 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
tabbedpages.cpython-33.pyc
22.377 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
tabbedpages.cpython-33.pyo
22.377 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
testcode.cpython-33.pyc
1.649 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
testcode.cpython-33.pyo
1.649 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
textView.cpython-33.pyc
5.028 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
textView.cpython-33.pyo
5.028 KB
17 Apr 2024 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF