ó
EõNc           @   sf   d  Z  d Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d „  ƒ  YZ	 d	 S(
   s(   
Directives for references and targets.
t   reStructuredTextiÿÿÿÿ(   t   nodes(   t
   references(   t	   Directive(   t
   directivest   TargetNotesc           B   s1   e  Z d  Z i e j d 6e j d 6Z d „  Z RS(   s   Target footnote generation.t   classt   namec         C   sL   t  j t j ƒ } |  j | ƒ | j j |  j ƒ |  j j	 j
 | ƒ | g S(   N(   R   t   pendingR   R   t   add_namet   detailst   updatet   optionst   state_machinet   documentt   note_pending(   t   selfR   (    (    sN   /usr/lib/python2.7/dist-packages/docutils/parsers/rst/directives/references.pyt   run   s
    (   t   __name__t
   __module__t   __doc__R   t   class_optiont	   unchangedt   option_specR   (    (    (    sN   /usr/lib/python2.7/dist-packages/docutils/parsers/rst/directives/references.pyR      s   N(
   R   t   __docformat__t   docutilsR   t   docutils.transformsR   t   docutils.parsers.rstR   R   R   (    (    (    sN   /usr/lib/python2.7/dist-packages/docutils/parsers/rst/directives/references.pyt   <module>   s   