Ñò
mÈKc           @   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   !