ณ๒
5าวIc           @   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 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
 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 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 d( e f d)     YZ d* S(+   t   Tokenc           B   s   e  Z d    Z d   Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t
   start_markt   end_mark(   t   selfR   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyt   __init__   s    	c         C   s   g  } |  i  D]! } | i d  p | | q q ~ } | i   d i g  } | D]  } | d | t |  |  f qS ~  } d |  i i | f S(   Nt   _marks   , s   %s=%rs   %s(%s)(   t   __dict__t   endswitht   sortt   joint   getattrt	   __class__t   __name__(   R   t   _[1]t   keyt
   attributest   _[2]t	   arguments(    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyt   __repr__   s    $
0(   R   t
   __module__R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR       s   	t   DirectiveTokenc           B   s   e  Z d  Z d   Z RS(   s   <directive>c         C   s(   | |  _  | |  _ | |  _ | |  _ d  S(   N(   t   namet   valueR   R   (   R   R   R   R   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR      s    			(   R   R   t   idR   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR      s   t   DocumentStartTokenc           B   s   e  Z d  Z RS(   s   <document start>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR      s   t   DocumentEndTokenc           B   s   e  Z d  Z RS(   s   <document end>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR      s   t   StreamStartTokenc           B   s    e  Z d  Z e e e d  Z RS(   s   <stream start>c         C   s   | |  _  | |  _ | |  _ d  S(   N(   R   R   t   encoding(   R   R   R   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   !   s    		(   R   R   R   t   NoneR   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR      s   t   StreamEndTokenc           B   s   e  Z d  Z RS(   s   <stream end>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   '   s   t   BlockSequenceStartTokenc           B   s   e  Z d  Z RS(   s   <block sequence start>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   *   s   t   BlockMappingStartTokenc           B   s   e  Z d  Z RS(   s   <block mapping start>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   -   s   t   BlockEndTokenc           B   s   e  Z d  Z RS(   s   <block end>(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR    0   s   t   FlowSequenceStartTokenc           B   s   e  Z d  Z RS(   t   [(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR!   3   s   t   FlowMappingStartTokenc           B   s   e  Z d  Z RS(   t   {(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR#   6   s   t   FlowSequenceEndTokenc           B   s   e  Z d  Z RS(   t   ](   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR%   9   s   t   FlowMappingEndTokenc           B   s   e  Z d  Z RS(   t   }(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR'   <   s   t   KeyTokenc           B   s   e  Z d  Z RS(   t   ?(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR)   ?   s   t
   ValueTokenc           B   s   e  Z d  Z RS(   t   :(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR+   B   s   t   BlockEntryTokenc           B   s   e  Z d  Z RS(   t   -(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR-   E   s   t   FlowEntryTokenc           B   s   e  Z d  Z RS(   t   ,(   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR/   H   s   t
   AliasTokenc           B   s   e  Z d  Z d   Z RS(   s   <alias>c         C   s   | |  _  | |  _ | |  _ d  S(   N(   R   R   R   (   R   R   R   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   M   s    		(   R   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR1   K   s   t   AnchorTokenc           B   s   e  Z d  Z d   Z RS(   s   <anchor>c         C   s   | |  _  | |  _ | |  _ d  S(   N(   R   R   R   (   R   R   R   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   T   s    		(   R   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR2   R   s   t   TagTokenc           B   s   e  Z d  Z d   Z RS(   s   <tag>c         C   s   | |  _  | |  _ | |  _ d  S(   N(   R   R   R   (   R   R   R   R   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   [   s    		(   R   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR3   Y   s   t   ScalarTokenc           B   s   e  Z d  Z e d  Z RS(   s   <scalar>c         C   s1   | |  _  | |  _ | |  _ | |  _ | |  _ d  S(   N(   R   t   plainR   R   t   style(   R   R   R5   R   R   R6   (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR   b   s
    				(   R   R   R   R   R   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pyR4   `   s   N(   t   objectR    R   R   R   R   R   R   R   R    R!   R#   R%   R'   R)   R+   R-   R/   R1   R2   R3   R4   (    (    (    s!   /p/zhu/06/nlp/nltk/yaml/tokens.pys   <module>   s(   