
j$Zc           @   s+  d  d l  Z d  d l Z d  d l Z d  d l Z d  d l Z d   Z d   Z d e f d     YZ	 e
 d  Z d e f d     YZ d	   Z d
 e f d     YZ d e f d     YZ d   Z d e f d     YZ d e f d     YZ d   Z d d  Z d e f d     YZ e e d e j  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 e
 d d$  Z  d d%  Z! 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& d0 e f d1     YZ' d2 e f d3     YZ( d4 e f d5     YZ) e e) d e) j  d6 e f d7     YZ* d8 e f d9     YZ+ d: e f d;     YZ, d< e f d=     YZ- d> e f d?     YZ. d@   Z/ dA e f dB     YZ0 dC   Z1 dD h Z2 dE e f dF     YZ3 g  Z4 dG e f dH     YZ5 dI e f dJ     YZ6 dK e f dL     YZ7 dM e f dN     YZ8 dO e f dP     YZ9 dQ e f dR     YZ: dS e f dT     YZ; dU e; f dV     YZ< dW e f dX     YZ= dY e f dZ     YZ> d S([   iNc         C   s%   x t  j j D] } | |   q Wd S(   sI   
    Reports the name of this statement to systems like window auto.
    N(   t   renpyt   configt   statement_callbacks(   t   namet   i(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   statement_name%   s    c         C   s   |  t  j j   _ d S(   s   
    Indicates the next node that should be executed. When a statement
    can crash, this should be set as early as possible, so that ignore
    can bring us there.
    N(   R    t   gamet   contextt	   next_node(   t   n(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   .   s    t   ParameterInfoc           B   s#   e  Z d  Z d   Z e d  Z RS(   sR   
    This class is used to store information about parameters to a
    label.
    c         C   s(   | |  _  | |  _ | |  _ | |  _ d  S(   N(   t
   parameterst
   positionalt   extrapost   extrakw(   t   selfR   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   __init__>   s    			c   
      C   s	  i  } i  } | d k r! d } n  | d k r6 i  } n  xR t |  j |  D]> \ } } | | k r} | s} t d |   q} n  | | | <qI Wt | t |  j   } xL | j   D]> \ } } | | k r | s t d |   q n  | | | <q Wxy |  j D]n \ } }	 | | k rV|	 d k r=| sSt d |   qSqkt j	 j
 |	  | | <q | | | | <| | =q W|  j r| | |  j <n5 | r| rt d t |  j  t |  f   n  |  j r| | |  j <n/ | r| rt d d j | j      n  | S(   s  
        Applies `args` and `kwargs` to these parameters. Returns
        a dictionary that can be used to update an enclosing
        scope.

        `ignore_errors`
            If true, errors will be ignored, and this function will do the
            best job it can.
        s   Parameter %s has two values.s#   Required parameter %s has no value.s1   Too many arguments in call (expected %d, got %d).s   Unknown keyword arguments: %ss   , N(    (   t   Nonet   zipR   t	   Exceptiont   tuplet   lent	   iteritemsR   R    t   pythont   py_evalR   R   t   joint   keys(
   R   t   argst   kwargst   ignore_errorst   valuest   rvR   t   valueR   t   default(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   applyO   sD    			(	"(   t   __name__t
   __module__t   __doc__R   t   FalseR"   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR
   8   s   	c         C   sA   |  d  k r. | s | r' t d   q. i  Sn  |  j | | |  S(   Ns2   Arguments supplied, but parameter list not present(   R   R   R"   (   R   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   apply_arguments   s
    t   ArgumentInfoc           B   s   e  Z d    Z d d  Z RS(   c         C   s   | |  _  | |  _ | |  _ d  S(   N(   t	   argumentsR   R   (   R   R)   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR      s    		c         C   s   g  } t  j j   } xa |  j D]V \ } } | d k	 rV t  j j | d | | | <q | j t  j j | d |  q W|  j d k	 r | j t  j j |  j d |  n  |  j	 d k	 r | j
 t  j j |  j	 d |  n  t |  | f S(   sw   
        Evaluates the arguments, returning a list of arguments and a
        dictionary of keyword arguments.
        t   localsN(   R    R   t   RevertableDictR)   R   R   t   appendR   t   extendR   t   updateR   (   R   t   scopeR   R   t   kt   v(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   evaluate   s    #%%N(   R#   R$   R   R   R2   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR(      s   	c         G   s   |  j  |  |  S(   N(   t   __new__(   t   clsR   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt
   __newobj__   s    t   PyExprc           B   s&   e  Z d  d g Z d   Z d   Z RS(   t   filenamet
   linenumberc         C   s(   t  j |  |  } | | _ | | _ | S(   N(   t   unicodeR3   R7   R8   (   R4   t   sR7   R8   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3      s    		c         C   s   t  |   |  j |  j f S(   N(   R9   R7   R8   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   __getnewargs__   s    (   R#   R$   t	   __slots__R3   R;   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR6      s   		t   PyCodec           B   sG   e  Z d  d d d d g Z d   Z d   Z d d	 d
  Z d   Z RS(   t   sourcet   locationt   modet   bytecodet   hashc         C   s   d |  j  |  j |  j f S(   Ni   (   R>   R?   R@   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   __getstate__   s    c         C   sP   | \ } |  _  |  _ |  _ d  |  _ t j j j rL t j j j	 j
 |   n  d  S(   N(   R>   R?   R@   R   RA   R    R   t   scriptt   record_pycodet
   all_pycodeR,   (   R   t   statet   _(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   __setstate__   s    	s   <none>i   t   execc         C   s   t  | t  r' | j | j | f } n  | |  _ | t t j    f |  _ | |  _ d  |  _
 t j j j r t j j j j |   n  |  j   |  _ d  S(   N(   t
   isinstanceR6   R7   R8   R>   t   intt   timeR?   R@   R   RA   R    R   RD   RE   RF   R,   t   get_hashRB   (   R   R>   t   locR@   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR      s    			c         C   s   y |  j  d  k	 r |  j  SWn n X|  j } t | t j j j  r] t j j j |  } n  t	 t j
  t j t |  j  | j d   j   |  _  |  j  S(   Ns   utf-8(   RB   R   R>   RK   R    R   t   astt   ASTt   dumpt   chrt   bytecode_versiont   hashlibt   md5t   reprR?   t   encodet   digest(   R   t   code(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRN     s    	;(   s   <none>i   (   R#   R$   R<   RC   RI   R   RN   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR=      s   			c         C   sP   |  s
 d Sx. t  |  |  d  D] \ } } | j |  q W|  d j |  d S(   s   
    This is called to chain together all of the nodes in a block. Node
    n is chained with node n+1, while the last node is chained with
    next.
    Ni   i(   R   t   chain(   t   blockt   nextt   at   b(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   chain_block  s
     t   Scryc           B   s    e  Z d  Z d   Z d   Z RS(   s   
    This is used to store information about the future, if we know it. Unlike
    predict, this tries to only get things we _know_ will happen.
    c         C   s   d  S(   N(   R   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   __getattr__*  s    c         C   s$   |  j  d  k r d  S|  j  j   Sd  S(   N(   t   _nextR   t   scry(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR]   -  s    (   R#   R$   R%   Rb   R]   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRa   #  s   	t   Nodec           B   s   e  Z d  Z d d d d g Z e Z e Z d   Z d   Z d   Z	 d   Z
 d Z
 d	   Z d
   Z d   Z d   Z d Z d   Z d   Z d   Z d d  Z d   Z RS(   s   
    A node in the abstract syntax tree of the program.

    @ivar name: The name of this node.

    @ivar filename: The filename where this node comes from.
    @ivar linenumber: The line number of the line on which this node is defined.
    R   R7   R8   R]   c         C   s(   | \ |  _  |  _ d |  _ d |  _ d S(   s   
        Initializes this Node object.

        @param loc: A (filename, physical line number) tuple giving the
        logical line on which this Node node starts.
        N(   R7   R8   R   R   R]   (   R   RO   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   M  s    	c         C   s   t  |   f S(   s   
        Returns a tuple of diff info about ourself. This is used to
        compare Nodes to see if they should be considered the same node. The
        tuple returned must be hashable.
        (   t   id(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt	   diff_infoY  s    c         C   s   | |   d S(   s<   
        Calls `f` with this node and its children.
        N(    (   R   t   f(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   get_childrenb  s    c         C   s   d S(   s   
        Returns a node that should be run at init time (that is, before
        the normal start of the script.), or None if this node doesn't
        care to suggest one.

        (The only class that needs to override this is Init.)
        N(   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   get_initi  s    	c         C   s   | |  _  d S(   s&  
        This is called with the Node node that should be followed after
        executing this node, and all nodes that this node
        executes. (For example, if this node is a block label, the
        next is the node that should be executed after all nodes in
        the block.)
        N(   R]   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[   w  s    	c         C   s   |  j  | k r | |  _  n  d S(   sc   
        Replaces instances of the `old` node with `new` when it is the next
        node.
        N(   R]   (   R   t   oldt   new(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   replace_next  s    c         C   s   t  d   d S(   s   
        Causes this node to execute, and any action it entails to be
        performed. The node should call next_node with the node to
        be executed after this one.
        s'   Node subclass forgot to define execute.N(   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   execute  s    c         C   s   d S(   s3   
        Called when the module is loaded.
        N(    (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   early_execute  s    c         C   s   |  j  r |  j  g Sg  Sd S(   s   
        This is called to predictively load images from this node.  It
        should cause renpy.display.predict.image and
        renpy.display.predict.screen to be called as necessary.
        N(   R]   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   predict  s    	
c         C   s   t    } |  j | _ | S(   st   
        Called to return an object with some general, user-definable information
        about the future.
        (   Ra   R]   Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    	c         C   s   d S(   s   
        Called to restructure the AST.

        When this method is called, callback is called once for each child
        block of the node. The block, a list, can be updated by the callback
        using slice assignment to the list.
        N(    (   R   t   callback(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   restructure  s    
c         C   s   t  d   d S(   s   
        Returns the canonical form of the code corresponding to this statement.
        This only needs to be defined if the statement is translatable.

        `filter`
            If present, a filter that should be applied to human-readable
            text in the statement.
        s   Not ImplementedN(   R   (   R   t   dialogue_filter(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   get_code  s    
c         C   s   d S(   sI   
        Called on all code after the init phase, to analyze it.
        N(    (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   analyze  s    N(   R#   R$   R%   R<   R&   t   translatablet   translation_relevantR   Rg   Ri   Rj   R   R[   Rm   Rn   Ro   Rp   Rd   Rr   Rt   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRe   4  s,   														
	c         C   s   |  d k	 r! t j j |   } n4 t j j rQ t j j j d k rQ t j j } n d S| s_ d St j j j r{ | |  n  d S(   sB   
    This handles the with clause of a say or menu statement.
    i   N(	   R   R    R   R   t   storet   default_transitionR   t   preferencest   transitions(   t
   expressionRq   t   what(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   say_menu_with  s    !c         C   s   |  d k r d S| d k rA t t j t j j d |    } n  | r d t j j k rx t j j d j	 |  d  } n d } | d k r t j j d j	 |  d  } n  | d k r t
 d |  j d    n  | St j j |   S(   s;   
    Evaluates the `who` parameter to a say statement.
    t   $s   store.characterRx   s   Sayer '%s' is not defined.s   utf-8N(   R   t   boolt   ret   matchR    t   parsert   word_regexpR   t   store_dictst   getR   RX   R   (   t   whot   fastR   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   eval_who  s    %t   Sayc           B   sh   e  Z d  d d d d d g Z d   Z d   Z e d d  Z d d	  Z d
   Z	 d   Z
 d   Z RS(   R   t   who_fastR}   t   with_t   interactt
   attributesc         C   s   t  |  j |  j f S(   N(   R   R   R}   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         O   s%   t  j |   } d  | _ t | _ | S(   N(   Re   R3   R   R   t   TrueR   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    		c         C   s   t  t |   j |  | d  k	 rh | j   |  _ t j t j	 j
 d |  j  r\ t |  _ qz t |  _ n d  |  _ t |  _ | |  _ | |  _ | |  _ | |  _ d  S(   NR   (   t   superR   R   R   t   stripR   R   R   R    R   R   R   R   R&   R}   R   R   R   (   R   RO   R   R}   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    					c         C   s   g  } |  j  r" | j |  j   n  |  j d  k	 rD | j |  j  n  |  j } | d  k	 rh | |  } n  | j t j j |   |  j	 s | j d  n  |  j
 r | j d  | j |  j
  n  d j |  S(   Nt
   nointeractt   witht    (   R   R,   R   R   R-   R}   R    t   translationt   encode_say_stringR   R   R   (   R   Rs   R   R}   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRt   0  s    				c         C   s@  t  |  j  t d  z|  j t j j   _ t |  j	 |  j
  } | d  k ph t |  ph t | t  s t d |  j	 j d    n  |  j } t j j r t j j |  } n  | t j _ t | d t  r |  j	 t j _ | t j _ n  t |  j t j j j  t j j | | d |  j  Wd  d  t j j   _ Xd  S(   Nt   says%   Sayer %s is not a function or string.s   utf-8t
   record_sayR   (!   R   R]   R   R   R    R   R   t   say_attributesR   R   R   R   t   callableRK   t
   basestringR   RX   R}   R   t   say_menu_text_filterRx   t   _last_raw_whatt   getattrR   t   _last_say_whot   _last_say_whatR~   R   t	   interfacet   set_transitiont   exportsR   R   (   R   R   R}   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   H  s&    
	 c         C   s   t  j j   j } z |  j t  j j   _ t |  j |  j  } d   } t |  j	 |  |  j
 } t  j j r t  j j |  } n  t  j j | |  Wd  | t  j j   _ X|  j g S(   Nc         S   s&   t  j j j |  d d  d d    d  S(   Nt
   old_widgett
   new_widget(   R    t   displayRp   t   displayableR   (   t   trans(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   predict_witht  s    (   R    R   R   R   R   R   R   R   R~   R   R}   R   R   R   t   predict_sayR]   (   R   t   old_attributesR   R   R}   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   j  s    		c         C   s   t  j |   } |  j d  k	 rW |  j r? t t j |  j  } q] t j j	 |  j  } n d  } |  j
 r| t j j | |  n	 t | _ | S(   N(   Re   Rd   R   R   R   R   R    Rx   R   R   R   R   t   scry_sayR&   t	   interacts(   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    			N(   R#   R$   R<   Rg   R3   R   R   R   Rt   Rn   Rp   Rd   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   				"	R   t   Initc           B   sJ   e  Z d  d g Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   R\   t   priorityc         C   s,   t  t |   j |  | |  _ | |  _ d  S(   N(   R   R   R   R\   R   (   R   RO   R\   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    	c         C   s/   | |   x |  j  D] } | j |  q Wd  S(   N(   R\   Ri   (   R   Rh   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi     s    
c         C   s   |  j  |  j d f S(   Ni    (   R   R\   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRj     s    c         C   s   | |  _  t |  j d   d  S(   N(   R]   R`   R\   R   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[     s    	c         C   s   t  |  j  t d  d  S(   Nt   init(   R   R]   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    c         C   s   | |  j   d  S(   N(   R\   (   R   Rq   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr     s    (	   R#   R$   R<   R   Ri   Rj   R[   Rn   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   						t   Labelc           B   sb   e  Z e Z d  d d d g Z d   Z e d  Z d   Z d   Z	 d   Z
 d	   Z d
   Z RS(   R   R   R\   t   hidec         O   s%   t  j |   } d  | _ t | _ | S(   N(   Re   R3   R   R   R&   R   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    		c         C   s>   t  t |   j |  | |  _ | |  _ | |  _ | |  _ d S(   s   
        Constructs a new Label node.

        @param name: The name of this label.
        @param block: A (potentially empty) list of nodes making up the
        block associated with this label.
        N(   R   R   R   R   R\   R   R   (   R   RO   R   R\   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s
    				c         C   s   t  |  j f S(   N(   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s/   | |   x |  j  D] } | j |  q Wd  S(   N(   R\   Ri   (   R   Rh   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi     s    
c         C   s9   |  j  r, |  j  d |  _ t |  j  |  n	 | |  _ d  S(   Ni    (   R\   R]   R`   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[     s    	c         C   s   t  |  j  t d  t j j   j   t |  j t j	 j
 t j	 j  } x= | j   D]/ \ } } t j j |  t t j	 | |  qX Wd  t j	 _
 d  t j	 _ t j j r t j j |  j t j j   j  n  d  S(   Nt   label(   R   R]   R   R    R   R   t	   mark_seenR'   R   Rx   t   _argst   _kwargsR   R   t   dynamict   setattrR   R   t   label_callbackR   t   last_abnormal(   R   R   R0   R1   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
!c         C   s   | |  j   d  S(   N(   R\   (   R   Rq   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr     s    (   R#   R$   R   Rw   R<   R3   R&   R   Rg   Ri   R[   Rn   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   						t   Pythonc           B   sS   e  Z d  d d g Z d   Z e d d  Z d   Z d   Z d   Z d   Z	 RS(	   R   RZ   Rx   c         O   s   t  j |   } d | _ | S(   NRx   (   Re   R3   Rx   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    	c         C   sG   t  t |   j |  | |  _ t | d | d d |  _ | |  _ d S(   s   
        @param code: A PyCode object.

        @param hide: If True, the code will be executed with its
        own local dictionary.
        RO   R@   RJ   N(   R   R   R   R   R=   RZ   Rx   (   R   RO   t   python_codeR   Rx   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    	c         C   s   t  |  j j f S(   N(   R   RZ   R>   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   #  s    c         C   s   t  j j |  j  d  S(   N(   R    R   t   create_storeRx   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRo   &  s    c         C   s{   t  |  j  t d  z) t j j |  j j |  j d |  j	 Wd  t j
 j   j sv x t j j D] } |   qb Wn  Xd  S(   NR   Rx   (   R   R]   R   R    R   t   py_exec_bytecodeRZ   RA   R   Rx   R   R   t
   init_phaseR   t   python_callbacks(   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   )  s    
)c         C   s   t  j |   } t | _ | S(   N(   Re   Rd   R   R   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd   5  s    	(
   R#   R$   R<   R3   R&   R   Rg   Ro   Rn   Rd   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   					t   EarlyPythonc           B   sJ   e  Z d  d d g Z d   Z e d d  Z d   Z d   Z d   Z RS(   R   RZ   Rx   c         O   s   t  j |   } d | _ | S(   NRx   (   Re   R3   Rx   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3   C  s    	c         C   sG   t  t |   j |  | |  _ t | d | d d |  _ | |  _ d S(   s   
        @param code: A PyCode object.

        @param hide: If True, the code will be executed with its
        own local dictionary.
        RO   R@   RJ   N(   R   R   R   R   R=   RZ   Rx   (   R   RO   R   R   Rx   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   H  s    	c         C   s   t  |  j j f S(   N(   R   RZ   R>   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   V  s    c         C   s   t  |  j  t d  d  S(   Ns   python early(   R   R]   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   Y  s    c         C   sK   t  j j |  j  |  j j rG t  j j |  j j |  j d |  j n  d  S(   NRx   (   R    R   R   Rx   RZ   RA   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRo   ]  s    (	   R#   R$   R<   R3   R&   R   Rg   Rn   Ro   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   ;  s   				t   Imagec           B   sA   e  Z d  d d g Z d d d  Z d   Z d   Z d   Z RS(   t   imgnameRZ   t   atlc         C   sb   t  t |   j |  | |  _ | rL t | d | d d |  _ d |  _ n d |  _ | |  _ d S(   s   
        @param name: The name of the image being defined.

        @param expr: An expression yielding a Displayable that is
        assigned to the image.
        RO   R@   t   evalN(   R   R   R   R   R=   RZ   R   R   (   R   RO   R   t   exprR   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   l  s    		c         C   s   t  t |  j  f S(   N(   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   ss   t  |  j  t d  |  j d  k	 rA t j j |  j j  } n t j	 j
 j |  j  } t j j |  j |  d  S(   Nt   image(   R   R]   R   RZ   R   R    R   t   py_eval_bytecodeRA   R   t   motiont   ATLTransformR   R   R   R   (   R   t   img(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
c         C   s,   t  |  d d   d  k	 r( |  j j   n  d  S(   NR   (   R   R   R   t   mark_constant(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRu     s    N(   R#   R$   R<   R   R   Rg   Rn   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   d  s   			t	   Transformc           B   sV   e  Z d  d d g Z e g  g  d d  Z d e d  Z d   Z d   Z d   Z	 RS(   t   varnameR   R   c         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d  S(   N(   R   R   R   R   R   R   (   R   RO   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    		c         C   s   t  |  j f S(   N(   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s   t  |  j  t d  t |  d d   } | d  k rA t j } n  t j j	 j
 |  j d | } t j j j |  j |  j |  j f  t j j |  j  t t j |  j |  d  S(   Nt	   transformR   (   R   R]   R   R   R   R   t   default_parametersR    R   R   R   R   RR   t
   transformsR,   R   R7   R8   R   t   pureR   Rx   (   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
%c         C   s   |  j  j   d  S(   N(   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRu     s    N(
   R#   R$   R<   R
   R   R   R   Rg   Rn   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   			c         C   s  t  |   d k r0 |  \ } } } } } } }	 n] t  |   d k r] |  \ } } } } } } n0 t  |   d k r |  \ } } } d } d } n  | r y( t j j |  }
 t j j |
  }
 Wq d SXn d }
 g  } x5 | D]- } y | j t j j |   Wq q Xq W| d k	 rFy  | j t j j	 j
 |   WqFqFXn  t j j | | p[| |  } | rt j j   j j |  n  t j j | | d |
 d | d S(   sW   
    Call this to use the given callback to predict the image named
    in imspec.
    i   i   i   NR}   t   tag(   R   R   R    R   R   t   easyR   R,   R   R   R   R   t   default_layerR   R   t   imagest   predict_scenet   predict_show(   t   imspect   sceneR   R   R|   R   t   at_expr_listt   layert   _zordert   _behindR   t   at_listR   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   predict_imspec  s<    	 c   
      C   s  t  |   d k r0 |  \ } } } } } } } no t  |   d k rc |  \ } } } } } } g  } n< t  |   d k r |  \ } } } d  } d  } d  } g  } n  | d  k	 r t j j |  } n d  } | d  k	 r t j j |  } t j j |  } n  g  | D] }	 t j j |	  ^ q } t j j | | p3| | oB| d  k  } t j	 j
 | d | d | d | d | d | d	 | d
 | d  S(   Ni   i   i   R   R   R}   t   zorderR   t   behindR   (   R   R   R    R   R   R   R   R   R   R   t   show(
   R   R   R   R|   R   R   R   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   show_imspec  s6    		%*t   Showc           B   sD   e  Z d  d g Z d d  Z d   Z d   Z d   Z d   Z RS(   R   R   c         C   s,   t  t |   j |  | |  _ | |  _ d S(   s   
        @param imspec: A triple consisting of an image name (itself a
        tuple of strings), a list of at expressions, and a layer.
        N(   R   R   R   R   R   (   R   RO   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   !  s    	c         C   s   t  t |  j d  f S(   Ni    (   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   ,  s    c         C   s:   t  |  j  t d  t |  j d t |  d d   d  S(   NR   R   (   R   R]   R   R   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   /  s    
c         C   s)   t  |  j d t |  d d   |  j g S(   NR   (   R   R   R   R   R]   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   5  s    c         C   s,   t  |  d d   d  k	 r( |  j j   n  d  S(   NR   (   R   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRu   9  s    N(	   R#   R$   R<   R   R   Rg   Rn   Rp   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   				t	   ShowLayerc           B   sD   e  Z d  d d g Z d   Z d   Z d   Z d   Z d   Z RS(   R   R   R   c         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d  S(   N(   R   R   R   R   R   R   (   R   RO   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   F  s    		c         C   s   t  |  j f S(   N(   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   M  s    c         C   s   t  |  j  t d  g  |  j D] } t j j |  ^ q! } |  j d  k	 rv t j	 j
 j |  j  } | j |  n  t j j | d |  j d  S(   Ns
   show layerR   (   R   R]   R   R   R    R   R   R   R   R   R   R   R,   R   t   layer_at_listR   (   R   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   P  s    
(c         C   s
   |  j  g S(   N(   R]   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   \  s    c         C   s#   |  j  d  k	 r |  j  j   n  d  S(   N(   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRu   _  s    (   R#   R$   R<   R   Rg   Rn   Rp   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   >  s   					t   Scenec           B   sG   e  Z d  d d g Z d d  Z d   Z d   Z d   Z d   Z RS(	   R   R   R   c         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d S(   s   
        @param imspec: A triple consisting of an image name (itself a
        tuple of strings), a list of at expressions, and a layer, or
        None to not have this scene statement also display an image.
        N(   R   R   R   R   R   R   (   R   RO   t   imgspecR   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   l  s    		c         C   s/   |  j  r t |  j  d  } n d  } t | f S(   Ni    (   R   R   R   R   (   R   t   data(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   y  s    	c         C   sY   t  |  j  t d  t j j |  j  |  j rU t |  j d t	 |  d d   n  d  S(   NR   R   (   R   R]   R   R    R   R   R   R   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s
    
	c         C   s;   |  j  r1 t |  j  d t |  d d   d t n  |  j g S(   NR   R   (   R   R   R   R   R   R]   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s    	(c         C   s,   t  |  d d   d  k	 r( |  j j   n  d  S(   NR   (   R   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRu     s    N(	   R#   R$   R<   R   R   Rg   Rn   Rp   Ru   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   d  s   				
	t   Hidec           B   s5   e  Z d  g Z d   Z d   Z d   Z d   Z RS(   R   c         C   s#   t  t |   j |  | |  _ d S(   s   
        @param imspec: A triple consisting of an image name (itself a
        tuple of strings), a list of at expressions, and a list of
        with expressions.
        N(   R   R   R   R   (   R   RO   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    c         C   s   t  t |  j d  f S(   Ni    (   R   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s  t  |  j  d k rB |  j \ } } } d  } d  } d  } d  } no t  |  j  d k r{ |  j \ } } } } } } d  } n6 t  |  j  d k r |  j \ } } } } } } } n  | d  k r | d } n  t j j | |  } t j j   j j	 | |  |  j
 g S(   Ni   i   i   i    (   R   R   R   R    R   R   R   R   R   t   predict_hideR]   (   R   R   t   _at_listR   R   t   _expressionR   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s     		!c         C   s   t  |  j  t d  t |  j  d k rS |  j \ } } } d  } d  } d } ni t |  j  d k r |  j \ } } } } } } n6 t |  j  d k r |  j \ } } } } } } } n  t j j | | p |  } t j	 j
 | p | |  d  S(   NR   i   i    i   i   (   R   R]   R   R   R   R   R    R   R   R   R   (   R   R   R   R   R   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
	!(   R#   R$   R<   R   Rg   Rp   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s
   				t   Withc           B   sD   e  Z d  d g Z d   Z d d  Z d   Z d   Z d   Z RS(   R   t   pairedc         O   s   t  j |   } d  | _ | S(   N(   Re   R3   R   R   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    	c         C   s,   t  t |   j |  | |  _ | |  _ d S(   sI   
        @param expr: An expression giving a transition or None.
        N(   R   R   R   R   R   (   R   RO   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    	c         C   s   t  |  j f S(   N(   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   sp   t  |  j  t d  t j j |  j  } |  j d  k	 rS t j j |  j  } n d  } t j	 j
 | |  d  S(   NR   (   R   R]   R   R    R   R   R   R   R   R   t   with_statement(   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
c         C   sX   yD t  j j |  j  } | rC t  j j j | d d  d d    n  Wn n X|  j g S(   NR   R   (	   R    R   R   R   R   Rp   R   R   R]   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s    )N(	   R#   R$   R<   R3   R   R   Rg   Rn   Rp   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   					t   Callc           B   sM   e  Z d  d d g Z d   Z d   Z d   Z d   Z d   Z d   Z RS(	   R   R)   R|   c         O   s   t  j |   } d  | _ | S(   N(   Re   R3   R   R)   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    	c         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d  S(   N(   R   R   R   R   R|   R)   (   R   RO   R   R|   R)   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    		c         C   s   t  |  j |  j f S(   N(   R   R   R|   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s   t  d  |  j } |  j r1 t j j |  } n  t j j   j | d |  j	 j
 } t |  t t j j   _ |  j r |  j j   \ } } | t j _ | t j _ n  d  S(   Nt   callt   return_site(   R   R   R|   R    R   R   R   R   R   R]   R   R   R   t   abnormalR)   R2   Rx   R   R   (   R   R   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   "  s    
		$
	c         C   sI   |  j  } |  j r' t j j |  } n  t j j   j | |  j j	  g S(   N(
   R   R|   R    R   R   R   R   t   predict_callR]   R   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   3  s    		c         C   s   t  j |   } d  | _ | S(   N(   Re   Rd   R   Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd   <  s    	(	   R#   R$   R<   R3   R   Rg   Rn   Rp   Rd   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s   							t   Returnc           B   sP   e  Z d  g Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 RS(   R|   c         O   s   t  j |   } d  | _ | S(   N(   Re   R3   R   R|   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3   F  s    	c         C   s#   t  t |   j |  | |  _ d  S(   N(   R   R   R   R|   (   R   RO   R|   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   K  s    c         C   s   t  f S(   N(   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   O  s    c         C   s   d  |  _ d  S(   N(   R   R]   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[   S  s    	c         C   ss   t  d  |  j r1 t j j |  j  t j _ n d  t j _ t t j	 j
   j d t   t j	 j
   j   d  S(   Nt   returnt   pop(   R   R|   R    R   R   Rx   t   _returnR   R   R   R   t   lookup_returnR   t   pop_dynamic(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   W  s    
	c         C   s   t  j j   j   g S(   N(   R    R   R   t   predict_return(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   c  s    c         C   s   t  j |   } d  | _ | S(   N(   Re   Rd   R   Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd   g  s    	(
   R#   R$   R<   R3   R   Rg   R[   Rn   Rp   Rd   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   B  s   							t   Menuc           B   sn   e  Z e Z d  d d g Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d	   Z d
   Z d   Z RS(   t   itemst   setR   c         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d  S(   N(   R   R   R   R   R   R   (   R   RO   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   w  s    		c         C   s   t  f S(   N(   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   ~  s    c         C   sR   | |   xA |  j  D]6 \ } } } | r x | D] } | j |  q0 Wq q Wd  S(   N(   R   Ri   (   R   Rh   t   _labelt
   _conditionR\   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi     s
    
c         C   s@   | |  _  x0 |  j D]% \ } } } | r t | |  q q Wd  S(   N(   R]   R   R`   (   R   R]   R  R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[     s    	c         C   s]   t  j |  | |  xC |  j D]8 \ } } } | r | d | k r | j d |  q q Wd  S(   Ni    (   Re   Rm   R   t   insert(   R   Rk   Rl   R  R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRm     s    c         C   sm  t  |  j  t d  g  } g  } x t |  j  D] \ } \ } } } t j j ri t j j |  } n  | d  k r t j j	 r | r | j
 |  q | j
 | | d  f  q3 | j
 | | | f  t  | d  q3 W| rt j j d  d j |  d t n  t |  j t j j j  t j j | |  j  } | d  k	 r\t  |  j | d d  n t  |  j  d  S(   Nt   menui    s   
R   i   (   R   R]   R   t	   enumerateR   R    R   R   R   t   narrator_menuR,   R   R   R   R&   R~   R   R   R   R   R  R   (   R   t   choicest	   narrationR   R   t	   conditionR\   t   choice(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s(    
%%c         C   sg   g  } d   } t  |  j |  t j j   x4 |  j D]) \ } } } | r6 | j | d  q6 q6 W| S(   Nc         S   s&   t  j j j |  d d  d d    d  S(   NR   R   (   R    R   Rp   R   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    i    (   R~   R   R    Rx   t   predict_menuR   R,   (   R   R   R   R  R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s    	c         C   s%   t  j |   } d  | _ t | _ | S(   N(   Re   Rd   R   Rc   R   R   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    		c         C   s:   x3 |  j  D]( \ } } } | d  k	 r
 | |  q
 q
 Wd  S(   N(   R   R   (   R   Rq   R  R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr     s    (   R#   R$   R   Rw   R<   R   Rg   Ri   R[   Rm   Rn   Rp   Rd   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   m  s   								!		t   Jumpc           B   sJ   e  Z d  d g Z d   Z d   Z d   Z d   Z d   Z d   Z RS(   t   targetR|   c         C   s,   t  t |   j |  | |  _ | |  _ d  S(   N(   R   R  R   R  R|   (   R   RO   R  R|   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    	c         C   s   t  |  j |  j f S(   N(   R  R  R|   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s   d  |  _ d  S(   N(   R   R]   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[     s    	c         C   sf   t  d  |  j } |  j r1 t j j |  } n  t j j j |  } t	 t j j
   _ t |  d  S(   Nt   jump(   R   R  R|   R    R   R   R   RD   t   lookupR   R   R   R   (   R   R  R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
		c         C   s*   |  j  r g  St j j j |  j  g Sd  S(   N(   R|   R    R   RD   R  R  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s    	c         C   sC   t  j |   } |  j r$ d  | _ n t j j j |  j	  | _ | S(   N(
   Re   Rd   R|   R   Rc   R    R   RD   R  R  (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s
    	(	   R#   R$   R<   R   Rg   R[   Rn   Rp   Rd   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s   						t   Passc           B   s    e  Z g  Z d    Z d   Z RS(   c         C   s   t  f S(   N(   R  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s   t  |  j  t d  d  S(   Nt   pass(   R   R]   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    (   R#   R$   R<   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s   	t   Whilec           B   se   e  Z d  d g Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d	   Z
 d
   Z RS(   R	  R\   c         C   s,   t  t |   j |  | |  _ | |  _ d  S(   N(   R   R  R   R	  R\   (   R   RO   R	  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   !  s    	c         C   s   t  |  j f S(   N(   R  R	  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   '  s    c         C   s/   | |   x |  j  D] } | j |  q Wd  S(   N(   R\   Ri   (   R   Rh   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi   *  s    
c         C   s   | |  _  t |  j |   d  S(   N(   R]   R`   R\   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[   0  s    	c         C   sI   t  j |  | |  |  j rE |  j d | k rE |  j j d |  n  d  S(   Ni    (   Re   Rm   R\   R  (   R   Rk   Rl   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRm   4  s    c         C   sD   t  |  j  t d  t j j |  j  r@ t  |  j d  n  d  S(   Nt   whilei    (   R   R]   R   R    R   R   R	  R\   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   :  s    
c         C   s   |  j  d |  j g S(   Ni    (   R\   R]   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   B  s    c         C   s   t  j |   } d  | _ | S(   N(   Re   Rd   R   Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd   E  s    	c         C   s   | |  j   d  S(   N(   R\   (   R   Rq   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr   J  s    (   R#   R$   R<   R   Rg   Ri   R[   Rm   Rn   Rp   Rd   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s   									t   Ifc           B   sb   e  Z d  g Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 d	   Z RS(
   t   entriesc         C   s#   t  t |   j |  | |  _ d S(   sF   
        @param entries: A list of (condition, block) tuples.
        N(   R   R  R   R  (   R   RO   R  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   R  s    c         C   s   t  f S(   N(   R  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   [  s    c         C   sF   | |   x5 |  j  D]* \ } } x | D] } | j |  q' Wq Wd  S(   N(   R  Ri   (   R   Rh   R  R\   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi   ^  s    
c         C   s4   | |  _  x$ |  j D] \ } } t | |  q Wd  S(   N(   R]   R  R`   (   R   R]   R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[   e  s    	c         C   sZ   t  j |  | |  x@ |  j D]5 \ } } | r | d | k r | j d |  q q Wd  S(   Ni    (   Re   Rm   R  R  (   R   Rk   Rl   R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRm   k  s    c         C   sY   t  |  j  t d  x; |  j D]0 \ } } t j j |  r! t  | d  d  Sq! Wd  S(   Nt   ifi    (   R   R]   R   R  R    R   R   (   R   R	  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   r  s    
c         C   s.   g  |  j  D] \ } } | d ^ q
 |  j g S(   Ni    (   R  R]   (   R   R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp   |  s    #c         C   s   t  j |   } d  | _ | S(   N(   Re   Rd   R   Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    	c         C   s(   x! |  j  D] \ } } | |  q
 Wd  S(   N(   R  (   R   Rq   R  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr     s    (   R#   R$   R<   R   Rg   Ri   R[   Rm   Rn   Rp   Rd   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR  N  s   								
		t   UserStatementc           B   sw   e  Z d  d d d g Z d   Z d   Z d   Z d   Z d   Z d	   Z d
   Z	 d   Z
 d   Z d d  Z RS(   t   linet   parsedR\   Rv   c         O   s%   t  j |   } g  | _ t | _ | S(   N(   Re   R3   R\   R&   Rv   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    		c         C   sS   t  t |   j |  | |  _ | |  _ d  |  _ t j j	 |  |  j |  j  } d  S(   N(
   R   R  R   R  R\   R   R  R    t
   statementst   parse(   R   RO   R  R\   t   _parse_info(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s
    			c         C   s   t  |  j f S(   N(   R  R  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s1   t  |  j    t |  j    |  j d  d  S(   NRn   (   R   t   get_nextR   t   get_nameR   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    c         C   sL   |  j  d  } | d  k	 r? x! | D] } t j j |  q" Wn  |  j   g S(   NRp   (   R   R   R    R   Rp   R  (   R   t   predictionsR   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s
    c         O   sX   |  j  } | d  k r? t j j |  |  j |  j  } | |  _  n  t j j | | | |  S(   N(   R  R   R    R  R  R  R\   R   (   R   t   methodR   R   R  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s
    	c         C   sO   |  j  } | d  k r? t j j |  |  j |  j  } | |  _  n  t j j |  S(   N(   R  R   R    R  R  R  R\   R  (   R   R  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s
    	c         C   s9   |  j  d  } | d  k	 r. t j j j |  S|  j Sd  S(   NR]   (   R   R   R    R   RD   R  R]   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s    c         C   s2   t  j |   } |  j   | _ |  j d |  | S(   NRd   (   Re   Rd   R  Rc   R   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    c         C   s   |  j  S(   N(   R  (   R   Rs   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRt     s    N(   R#   R$   R<   R3   R   Rg   Rn   Rp   R   R  R  Rd   R   Rt   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR    s   			
									c         C   s)   |  t  j j k r% t  j j |   n  d  S(   N(   R    R   t   special_namespacesR   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    t   StoreNamespacec           B   s   e  Z d    Z d   Z RS(   c         C   s   | |  _  d  S(   N(   Rx   (   R   Rx   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    c         C   s   | t  j j |  j | <d  S(   N(   R    R   R   Rx   (   R   R   R    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    (   R#   R$   R   R   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR"    s   	c         C   s6   |  t  j j k r& t  j j |  t f St |   t f S(   s   
    Returns the namespace object for `store`, and a flag that is true if the
    namespace is special, and false if it is a normal store.
    (   R    R   R!  R   R"  R&   (   Rx   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   get_namespace  s    t   save_directoryt   Definec           B   sD   e  Z d  d d g Z d   Z d   Z d   Z d   Z d   Z RS(   R   RZ   Rx   c         O   s   t  j |   } d | _ | S(   NRx   (   Re   R3   Rx   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3     s    	c         C   sG   t  t |   j |  | |  _ | |  _ t | d | d d |  _ d  S(   NRO   R@   R   (   R   R%  R   Rx   R   R=   RZ   (   R   RO   Rx   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    		c         C   s   t  |  j |  j f S(   N(   R%  Rx   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   	  s    c         C   s`   t  |  j  |  j d k r\ |  j t k r\ t j j |  j j  } t	 t j
 |  j |  n  d  S(   Ns   store.config(   R   Rx   R   t   EARLY_CONFIGR    R   R   RZ   RA   R   R   (   R   R    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRo     s    c         C   s   t  |  j  t d  t j j |  j j  } |  j d k ry t j	 j
 |  j  t j j j |  j |  j |  j f  n4 t j j j |  j d d |  j |  j |  j f  t |  j  \ } } | j |  j |  d  S(   Nt   defineRx   i   t   .(   R   R]   R   R    R   R   RZ   RA   Rx   R   R   R   RR   t   definitionsR,   R7   R8   R#  R   (   R   R    t   nst   _special(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
(4(   R#   R$   R<   R3   R   Rg   Ro   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR%    s   					t   Defaultc           B   sV   e  Z d  d d g Z d   Z d   Z d   Z d   Z d   Z d   Z d	   Z	 RS(
   R   RZ   Rx   c         O   s   t  j |   } d | _ | S(   NRx   (   Re   R3   Rx   (   R4   R   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR3   0  s    	c         C   sG   t  t |   j |  | |  _ | |  _ t | d | d d |  _ d  S(   NRO   R@   R   (   R   R,  R   Rx   R   R=   RZ   (   R   RO   Rx   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   5  s    		c         C   s   t  |  j |  j f S(   N(   R,  Rx   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   =  s    c         C   s   t  |  j  d  S(   N(   R   Rx   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRo   @  s    c         C   s   t  |  j  t d  t |  j  \ } } | ra t j j |  j j	  } | j
 |  j |  d  St j |   |  j d k r t j j j |  j |  j |  j f  n4 t j j j |  j d d |  j |  j |  j f  d  S(   NR!   Rx   i   R(  (   R   R]   R   R#  Rx   R    R   R   RZ   RA   t   set_defaultR   t   default_statementsR,   RR   R)  R7   R8   (   R   R*  t   specialR    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   C  s    
(c         C   s   t  j j |  j } | j d d   } | d  k rK t  j j   | d <} n  |  j | k r t  j j |  j	 j
  | |  j <| j |  j  n3 | r t  j j r t d j |  j |  j    n  d  S(   Nt   _defaults_sets-   {}.{} is being given a default a second time.(   R    R   R   Rx   R   R   t   RevertableSetR   R   RZ   RA   t   addR   t	   developerR   t   format(   R   t   startt   dt   defaults_set(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR-  W  s    c         C   s   |  j  |  j | d  f g S(   N(   R7   R8   R   (   R   R   t   last(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   report_tracebacke  s    (
   R#   R$   R<   R3   R   Rg   Ro   Rn   R-  R9  (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR,  (  s   							t   Screenc           B   s,   e  Z d  g Z d   Z d   Z d   Z RS(   t   screenc         C   s#   t  t |   j |  | |  _ d S(   s   
        @param name: The name of the image being defined.

        @param expr: An expression yielding a Displayable that is
        assigned to the image.
        N(   R   R:  R   R;  (   R   RO   R;  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   o  s    c         C   s   t  |  j j f S(   N(   R:  R;  R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   {  s    c         C   s_   t  |  j  t d  |  j j |  j |  j f  t j j	 j
 |  j j |  j |  j f  d  S(   NR;  (   R   R]   R   R;  R'  R7   R8   R    RR   t   screensR,   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   ~  s    
(   R#   R$   R<   R   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR:  i  s   			t	   Translatec           B   sw   e  Z d  Z e Z d d d d g Z d   Z d   Z d   Z d   Z	 d	   Z
 d
   Z d   Z d   Z d   Z RS(   s  
    A translation block, produced either by explicit translation statements
    or implicit translation blocks.

    If language is None, when executed this transfers control to the translate
    statement in the current language, if any, and otherwise runs the block.
    If language is not None, causes an error to occur if control reaches this
    statement.

    When control normally leaves a translate statement, in any language, it
    goes to the end of the translate statement in the None language.
    t
   identifiert   languageR\   t   afterc         C   s5   t  t |   j |  | |  _ | |  _ | |  _ d  S(   N(   R   R=  R   R>  R?  R\   (   R   RO   R>  R?  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    		c         C   s   t  |  j |  j f S(   N(   R=  R>  R?  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   sB   |  j  r, |  j  d |  _ t |  j  |  n	 | |  _ | |  _ d  S(   Ni    (   R\   R]   R`   R@  (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[     s
    		c         C   sd   t  j |  | |  |  j rE |  j d | k rE |  j j d |  n  |  j | k r` | |  _ n  d  S(   Ni    (   Re   Rm   R\   R  R@  (   R   Rk   Rl   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRm     s
    c         C   s   t  d  |  j d  k	 r5 t |  j  t d   n  |  j t j j	 j
 k r t j j	 j
 j |  j  t j j d 7_ t j j d 7_ n  t t j j j j |  j   |  j t j j   _ |  j t j j   _ d  S(   Nt	   translates)   Translation nodes cannot be run directly.i   (   R   R?  R   R   R]   R   R>  R    R   t
   persistentt   _seen_translatesR2  t   seen_translates_countt   new_translates_countRD   t
   translatort   lookup_translateR   t   translate_identifiert   translate_block_language(   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
c         C   s"   t  j j j j |  j  } | g S(   N(   R    R   RD   RF  RG  R>  (   R   t   node(    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRp     s    c         C   s+   t    } t j j j j |  j  | _ | S(   N(   Ra   R    R   RD   RF  RG  R>  Rc   (   R   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRd     s    	c         C   s/   | |   x |  j  D] } | j |  q Wd  S(   N(   R\   Ri   (   R   Rh   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi     s    
c         C   s   | |  j   S(   N(   R\   (   R   Rq   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr     s    (   R#   R$   R%   R   Rw   R<   R   Rg   R[   Rm   Rn   Rp   Rd   Ri   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR=    s   											t   EndTranslatec           B   s)   e  Z d  Z d   Z d   Z d   Z RS(   s|   
    A node added implicitly after each translate block. It's responsible for
    resetting the translation identifier.
    c         C   s   t  t |   j |  d  S(   N(   R   RK  R   (   R   RO   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    c         C   s   t  f S(   N(   RK  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s?   t  |  j  t d  d  t j j   _ d  t j j   _ d  S(   Ns   end translate(	   R   R]   R   R   R    R   R   RH  RI  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
(   R#   R$   R%   R   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRK    s   		t   TranslateStringc           B   sA   e  Z d  Z e Z d d d d g Z d   Z d   Z d   Z RS(   s-   
    A node used for translated strings.
    R?  Rk   Rl   t   newlocc         C   s>   t  t |   j |  | |  _ | |  _ | |  _ | |  _ d  S(   N(   R   RL  R   R?  Rk   Rl   RM  (   R   RO   R?  Rk   Rl   RM  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s
    			c         C   s   t  f S(   N(   RL  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s_   t  |  j  t d  t |  d |  j |  j d f  } t j j |  j	 |  j
 |  j |  d  S(   Ns   translate stringRM  i   (   R   R]   R   R   R7   R8   R    R   t   add_string_translationR?  Rk   Rl   (   R   RM  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
"(	   R#   R$   R%   R   Rw   R<   R   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRL    s   			t   TranslatePythonc           B   s;   e  Z d  Z e Z d d g Z d   Z d   Z d   Z RS(   s{   
    Runs python code when changing the language.

    This is no longer generated, but is still run when encountered.
    R?  RZ   c         C   s>   t  t |   j |  | |  _ t | d | d d |  _ d S(   s   
        @param code: A PyCode object.

        @param hide: If True, the code will be executed with its
        own local dictionary.
        RO   R@   RJ   N(   R   RO  R   R?  R=   RZ   (   R   RO   R?  R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   %  s    	c         C   s   t  |  j j f S(   N(   RO  RZ   R>   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg   2  s    c         C   s   t  |  j  t d  d  S(   Nt   translate_python(   R   R]   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   5  s    (	   R#   R$   R%   R   Rw   R<   R   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRO    s   			t   TranslateBlockc           B   sM   e  Z d  Z e Z d d g Z d   Z d   Z d   Z d   Z	 d   Z
 RS(   s:   
    Runs a block of code when changing the language.
    R\   R?  c         C   s,   t  t |   j |  | |  _ | |  _ d  S(   N(   R   RQ  R   R?  R\   (   R   RO   R?  R\   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   J  s    	c         C   s/   | |   x |  j  D] } | j |  q Wd  S(   N(   R\   Ri   (   R   Rh   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRi   P  s    
c         C   s   | |  _  t |  j d   d  S(   N(   R]   R`   R\   R   (   R   R]   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR[   Y  s    	c         C   s   t  |  j  t d  d  S(   Nt   translate_block(   R   R]   R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn   ]  s    c         C   s   | |  j   d  S(   N(   R\   (   R   Rq   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRr   a  s    (   R#   R$   R%   R   Rw   R<   R   Ri   R[   Rn   Rr   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRQ  >  s   						t   TranslateEarlyBlockc           B   s   e  Z d  Z RS(   s^   
    This is similar to the TranslateBlock, except it runs before deferred
    styles do.
    (   R#   R$   R%   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRS  e  s   t   Stylec           B   sG   e  Z d  d d d d d d g Z d   Z d   Z d	   Z d
   Z RS(   t
   style_namet   parentt
   propertiest   cleart   taket   delattrt   variantc         C   sY   t  t |   j |  | |  _ d |  _ i  |  _ t |  _ d |  _	 g  |  _
 d |  _ d S(   sE   
        `name`
            The name of the style to define.
        N(   R   RT  R   RU  R   RV  RW  R&   RX  RY  RZ  R[  (   R   RO   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR   x  s    						c         C   s   t  |  j f S(   N(   RT  RU  (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   sH  |  j  d  k	 r= t j j |  j   } t j j  |  s= d  Sn  t j j |  j  } |  j	 rh | j	   n  |  j
 d  k	 r | j |  j
  n  |  j d  k	 r | j |  j  n  x |  j D] } | j |  q W|  j rDi  } xU |  j j   D]D \ } } t j j |  } | d k r&| j |  q | | | <q W| j |  n  d  S(   NRW  (   R[  R   R    R   R   R   t   stylet   get_or_create_styleRU  RX  RV  t
   set_parentRY  RZ  RW  R   R.   t   add_properties(   R   R[  R:   R   RW  R   R   R    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR"     s*    		c         C   sZ   t  |  j  t d  t j j rL t j j   j rL t j	 j
 j |   d  S|  j   d  S(   NR\  (   R   R]   R   R    R   t   defer_stylesR   R   R   R   t   deferred_stylesR,   R"   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
(   R#   R$   R<   R   Rg   R"   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRT  l  s   				"t   Testcasec           B   s/   e  Z d  d g Z d   Z d   Z d   Z RS(   R   t   testc         C   s,   t  t |   j |  | |  _ | |  _ d  S(   N(   R   Rb  R   R   Rc  (   R   RO   R   Rc  (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyR     s    	c         C   s   t  |  j f S(   N(   Rb  R   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRg     s    c         C   s4   t  |  j  t d  |  j t j j j |  j <d  S(   Nt   testcase(   R   R]   R   Rc  R    t   testexecutiont	   testcasesR   (   R   (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRn     s    
(   R#   R$   R<   R   Rg   Rn   (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyRb    s
   			(?   t   renpy.displayR    t
   renpy.testRU   R   RM   R   R   t   objectR
   R&   R'   R(   R5   R9   R6   R=   R`   Ra   Re   R~   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R   R  R  R  R  R  R   R"  R#  R&  R%  R.  R,  R:  R=  RK  RL  RO  RQ  RS  RT  Rb  (    (    (    s1   E:\Version 1-0-7\Games\DDLC-1.1.1-pc\renpy\ast.pyt   <module>   sr   			
X(	8		&H3)2./'$&4?47+h44=L				0A!X!''X