Ńň
$8Zc           @   sŽ   d  Z  d d k Z d d k l Z d d k l Z d d k l Z e i i e i i	 e
  d  Z d e f d	     YZ e i e  Z e e  Z e i   Z e i d
 =d S(   s&   Export the Python grammar and symbols.i˙˙˙˙Ni   (   t   token(   t   driver(   t   pytrees   Grammar.txtt   Symbolsc           B   s   e  Z d    Z RS(   c         C   s4   x- | i  i   D] \ } } t |  | |  q Wd S(   s   Initializer.

        Creates an attribute for each grammar symbol (nonterminal),
        whose value is the symbol's type (an int >= 256).
        N(   t   symbol2numbert	   iteritemst   setattr(   t   selft   grammart   namet   symbol(    (    s$   /usr/lib/python2.6/lib2to3/pygram.pyt   __init__   s     (   t   __name__t
   __module__R   (    (    (    s$   /usr/lib/python2.6/lib2to3/pygram.pyR      s   t   print(   t   __doc__t   ost   pgen2R    R   t    R   t   patht   joint   dirnamet   __file__t   _GRAMMAR_FILEt   objectR   t   load_grammart   python_grammart   python_symbolst   copyt!   python_grammar_no_print_statementt   keywords(    (    (    s$   /usr/lib/python2.6/lib2to3/pygram.pyt   <module>   s   !