ó \STc@scdZddlmZddlmZddlmZddlmZiZdd d„ƒYZdS( s A parsed token for an abreviated absolute location path. WWW: http://4suite.org/XPATH e-mail: support@4suite.org Copyright (c) 2000-2001 Fourthought Inc, USA. All Rights Reserved. See http://4suite.org/COPYRIGHT for license and copyright information iÿÿÿÿ(tParsedNodeTest(tParsedPredicateList(t ParsedStep(tParsedAxisSpecifiert%ParsedAbbreviatedAbsoluteLocationPathcBs>eZd„Zd„ZeZdd„Zd„Zd„ZRS(cCsU||_tjddƒ}tjgƒ}tjdƒ}tj|||ƒ|_dS(Ntnodetsdescendant-or-self(t_relRRRRt_step(tselftreltnttppltas_((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyt__init__s  c Csı|jƒ}|jjp|j}|j|ddfƒ|jj|ƒ}g}t|ƒ}g}xQt|ƒD]C}||} |j| |d|fƒ|j|j j|ƒƒqnW|r×t |ddƒr×|} nt |d„|ƒ} |j|ƒ| S(Niit ownerElementcSs ||kS(N((txtcompare((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyt1s( tcopyNodePosSizeRt ownerDocumenttsetNodePosSizeRtselecttlentrangetextendRthasattrtfilter( R tcontextt origStatetroottrttrestltsub_rttctrtntresult((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pytevaluates      RcCs;|t|ƒGH|jj|dƒ|jj|dƒdS(Ns (tstrRtpprintR(R tindent((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyR(7scCsdt|ƒt|ƒfS(Ns+(tidtrepr(R ((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyt__str__<s cCs dt|jƒt|jƒfS(Ns/%s/%s(R+RR(R ((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyt__repr__Bs(t__name__t __module__RR&RR(R,R-(((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyRs     N((t__doc__t xml.xpathRRRRtLOOKAHEAD_OPTIMIZERSR(((sa/opt/freeware/lib/python2.7/site-packages/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.pyt s