MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/Visitor.pyc
mò
ìm>c@sLdZdfd„ƒYZdfd„ƒYZdefd„ƒYZeZdS(sÉ
WWW: http://4suite.com/4DOM         e-mail: support@4suite.com

Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.com/COPYRIGHT  for license and copyright information
tVisitorcBstZd„ZRS(NcCsd|i|ifGHdS(sLDefault behavior for the visitor is simply to print an informational messagesVisiting %s node %s
N(tnodetnodeTypetnodeNametNone(tselfR((t</usr/lib/python2.4/site-packages/_xmlplus/dom/ext/Visitor.pytvisits(t__name__t
__module__R(((RR
stWalkerInterfacecBs#tZd„Zd„Zd„ZRS(NcCs
||_dS(N(tvisitorR(RR((Rt__init__scCsdS(s8Advance to the next item in order, visit, and then pauseN((R((RtstepscCsdS(sXContinue advancing from the current position through the last leaf node without pausing.N((R((Rtruns(RR	RR
R(((RR
s		tPreOrderWalkercBs#tZd„Zd„Zd„ZRS(NcCs-ti||ƒg|_|ii|ƒdS(N(R
RRRt
node_stacktappendt	startNode(RRR((RR"s	cCsÈd}|ii|idƒ}|idiƒo|ii|idiƒnnd}xd|o[|oS|idi}|id=|o|ii|ƒqZt|iƒp
d}qZqZW||fS(s
        Visits the current node, and then advances to its first child,
        if any, else the next sibling.
        returns a tuple completed, ret_val
        completed -- flags whether or not we've traversed the entire tree
        ret_val -- return value from the visitor
        iiÿÿÿÿiN(
t	completedRRRRtret_valt
hasChildNodesRt
firstChildRtnext_sibtnextSiblingtlen(RRRR((RR
's
cCs+d}x|p|iƒ\}}q	WdS(Ni(RRR
R(RRR((RR@s(RR	RR
R(((RR!s		N(t__doc__RR
RtWalker(RRR
R((Rt?s'

Anon7 - 2021