ok
Direktori : /proc/thread-self/root/usr/lib64/python2.7/site-packages/yaml/ |
Current File : //proc/thread-self/root/usr/lib64/python2.7/site-packages/yaml/composer.pyo |
� y�Mc @ s` d d g Z d d l m Z d d l Td d l Td e f d � � YZ d e f d � � YZ d S( t Composert ComposerErrori����( t MarkedYAMLError( t *c B s e Z RS( ( t __name__t __module__( ( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyR s c B sY e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s i | _ d S( N( t anchors( t self( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyt __init__ s c C s* | j t � r | j � n | j t � S( N( t check_eventt StreamStartEventt get_eventt StreamEndEvent( R ( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyt check_node s c C s | j t � s | j � Sd S( N( R R t compose_document( R ( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyt get_node s c C su | j � d } | j t � s. | j � } n | j t � sg | j � } t d | j d | j � � n | j � | S( Ns( expected a single document in the streams but found another document( R t NoneR R R R t start_mark( R t documentt event( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyt get_single_node s c C s3 | j � | j d d � } | j � i | _ | S( N( R t compose_nodeR R ( R t node( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyR 2 s c C sL | j t � rf | j � } | j } | | j k r[ t d d d | j d � | j � � n | j | S| j � } | j } | d k r� | | j k r� t d | j d � | j | j d | j � � q� n | j | | � | j t � r� | j | � } nB | j t � r| j | � } n! | j t � r>| j | � } n | j � | S( Ns found undefined alias %rs utf-8s* found duplicate anchor %r; first occurences second occurence( R t AliasEventR t anchorR R R t encodeR t peek_eventt descend_resolvert ScalarEventt compose_scalar_nodet SequenceStartEventt compose_sequence_nodet MappingStartEventt compose_mapping_nodet ascend_resolver( R t parentt indexR R R ( ( s3 /usr/lib64/python2.7/site-packages/yaml/composer.pyR ? s. c C s� | j � } | j } | d k s- | d k rK | j t | j | j � } n t | | j | j | j d | j �} | d k r� | | j | <n | S( Nu !t style( R t tagR t resolvet ScalarNodet valuet implicitR t end_markR% R ( R R R R&