ó
Nä²Wc           @   sš   d  e  f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d	 „  ƒ  YZ e ƒ  Z d
 e f d „  ƒ  YZ e ƒ  Z d S(   t   Actionc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   d  S(   N(    (   t   selft   token_streamt   text(    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyt   perform
   s    c         C   s
   |  | k S(   N(    (   R   t   other(    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyt   same_as   s    (   t   __name__t
   __module__R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR    	   s   	t   Returnc           B   s2   e  Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   sk   
    Internal Plex action which causes |value| to
    be returned as the value of the associated token
    c         C   s   | |  _  d  S(   N(   t   value(   R   R
   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyt   __init__   s    c         C   s   |  j  S(   N(   R
   (   R   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR      s    c         C   s   t  | t ƒ o |  j | j k S(   N(   t
   isinstanceR	   R
   (   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR      s    c         C   s   d t  |  j ƒ S(   Ns
   Return(%s)(   t   reprR
   (   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyt   __repr__    s    (   R   R   t   __doc__R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR	      s
   			t   Callc           B   s2   e  Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   sD   
    Internal Plex action which causes a function to be called.
    c         C   s   | |  _  d  S(   N(   t   function(   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   )   s    c         C   s   |  j  | | ƒ S(   N(   R   (   R   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   ,   s    c         C   s   d |  j  j S(   Ns   Call(%s)(   R   R   (   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   /   s    c         C   s   t  | t ƒ o |  j | j k S(   N(   R   R   R   (   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   2   s    (   R   R   R   R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   $   s
   			t   Beginc           B   s2   e  Z d  Z d „  Z d „  Z d „  Z d „  Z RS(   s¦   
    Begin(state_name) is a Plex action which causes the Scanner to
    enter the state |state_name|. See the docstring of Plex.Lexicon
    for more information.
    c         C   s   | |  _  d  S(   N(   t
   state_name(   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   =   s    c         C   s   | j  |  j ƒ d  S(   N(   t   beginR   (   R   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   @   s    c         C   s   d |  j  S(   Ns	   Begin(%s)(   R   (   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   C   s    c         C   s   t  | t ƒ o |  j | j k S(   N(   R   R   R   (   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   F   s    (   R   R   R   R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   6   s
   			t   Ignorec           B   s    e  Z d  Z d „  Z d „  Z RS(   s“   
    IGNORE is a Plex action which causes its associated token
    to be ignored. See the docstring of Plex.Lexicon  for more
    information.
    c         C   s   d  S(   N(   t   None(   R   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   Q   s    c         C   s   d S(   Nt   IGNORE(    (   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   T   s    (   R   R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   J   s   	t   Textc           B   s    e  Z d  Z d „  Z d „  Z RS(   s«   
    TEXT is a Plex action which causes the text of a token to
    be returned as the value of the token. See the docstring of
    Plex.Lexicon  for more information.
    c         C   s   | S(   N(    (   R   R   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   c   s    c         C   s   d S(   Nt   TEXT(    (   R   (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   f   s    (   R   R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyR   \   s   	N(	   t   objectR    R	   R   R   R   R   R   R   (    (    (    s6   /bar/jli/Chip-seq/script/cython/Cython/Plex/Actions.pyt   <module>	   s   	