-í
?1í;c       s&     d  Z    d f  d     YZ d S(   s!  
A Parsed Token that represents a relative location path in the parsed result tree.
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
s   ParsedRelativeLocationPathc      sM     d   Z   d   Z & e Z ( d d  Z - d   Z 3 d   Z RS(   Nc    s&     | |  _  | |  _  d  Sd  S(   N(   s   lefts   selfs   _lefts   rights   _right(   s   selfs   lefts   right(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   __init__ s   c    sö     |  i i |  }  t |  t g   j o  t d t |    n  | i   }  g  }  t |  }  x] t |  D ]L }  | | }   | i | | d | f  ! | i |  i i |   q W# | i |  % | Sd  S(   Ns3   Expected node set from relative expression.  Got %si   (   s   selfs   _lefts   selects   contexts   rts   types	   Exceptions   strs   copyNodePosSizes	   origStates   results   lens   ls   ranges   ctrs   ns   setNodePosSizes   extends   _right(   s   selfs   contexts   rts   ctrs   ls   ns   results	   origState(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   evaluate s   	 	 s    c    sG   ( ) | t |   GH* |  i i | d  + |  i i | d  d  S(   Ns     (   s   indents   strs   selfs   _lefts   pprints   _right(   s   selfs   indent(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   pprint( s   c    s$   - . d t  |   t |   f Sd  S(   Ns    <RelativeLocationPath at %x: %s>(   s   ids   selfs   repr(   s   self(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   __str__- s   c    s(   3 4 t  |  i  d t  |  i  Sd  S(   Ns   /(   s   reprs   selfs   _lefts   _right(   s   self(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   __repr__3 s   (   s   __init__s   evaluates   selects   pprints   __str__s   __repr__(    (    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   ParsedRelativeLocationPath s   	N(   s   __doc__s   ParsedRelativeLocationPath(   s   ParsedRelativeLocationPath(    (    sW   /usr/local/twc/lib/python2.2/site-packages/_xmlplus/xpath/ParsedRelativeLocationPath.pys   ? s   