� ���Uc�����������@���s����d��d�l��m�Z�d��d�l�Z�d��d�l�m�Z�d��d�l�m�Z�d��d�l�m�Z�d�d�l �m �Z �e �d�d����7�d�e�j�k�r��d��d �l �m�Z�n�d��d �l�m�Z�Wd�QXd�d�d �d�d���Z�d �e�f�d�������YZ�d����Z�e�d�k�r��e����n��d�S(���i����(���t���with_statementN(���t���contextmanager(���t���StringIO(���t���escapei���(���t���LibtoolImportert ���UNINSTALLED_INTROSPECTION_SRCDIR(���t���collect_attributesi����t��� c���������C���s����|�d��k�r�g��}�n��d�|��f�}�|�d��k �rh�t�|�t���rO�|�j�d���}�n��d�t�|���|��f�}�n�d�}�t�|��|�|�|�t�|���t�|�����}�|�|�|�S(���Nu���<%ss���UTF-8u���>%s</%s>u���/>(���t���Nonet ���isinstancet���strt���decodeR���R���t���len(���t���tag_namet ���attributest���datat���self_indentt���self_indent_chart���prefixt���suffixt���attrs(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���build_xml_tag'���s���� t ���XMLWriterc�����������B���s����e��Z�d�����Z�d �d���Z�d����Z�d����Z�d����Z�d����Z�d�e �e �d���Z�d����Z�d �d ���Z �d �d ���Z�d����Z�e�d �d�����Z�RS(���c���������C���sE���t�����|��_�|��j�j�d���g��|��_�d�|��_�d�|��_�|��j����d��S(���Ns���<?xml version="1.0"?> i����i���(���R���t���_datat���writet ���_tag_stackt���_indentt���_indent_unitt���enable_whitespace(���t���self(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���__init__<���s���� c���������C���sX���|�d��k�r�g��}�n��t�|�|�|��j�|��j�t�|���d���}�|��j�d�|�|�f���d��S(���Ni���u���<%s%s>(���R���R���R���t���_indent_charR���t ���write_line(���R���R ���R���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���_open_tagF���s ���� c���������C���s���|��j��d�|�f���d��S(���Nu���</%s>(���R ���(���R���R ���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���_close_tagM���s����c���������C���s���d�|��_��d�|��_�d��S(���NR���s��� (���R���t ���_newline_char(���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyR���R���s���� c���������C���s���d�|��_��d�|��_�d��S(���Nt����(���R���R#���(���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���disable_whitespaceV���s���� c���������C���s ���|��j��j����S(���N(���R���t���getvalue(���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���get_xmlZ���s����u����c���������C���s����t��|�t���r!�|�j�d���}�n��|�r6�t�|���}�n��|�rr�|��j�j�d�|��j�|��j�|�j�d���|��j �f���n&�|��j�j�d�|�j�d���|��j �f���d��S(���Ns���utf-8s���%s%s%ss���%s%s( ���R ���R ���R���R���R���R���R���R���t���encodeR#���(���R���t���linet���indentt ���do_escape(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyR ���]���s����c���������C���s���|��j��d�|�f���d��S(���Ns���<!-- %s -->(���R ���(���R���t���text(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���write_commentj���s����c���������C���s)���|��j��t�|�|�|�|��j�|��j�����d��S(���N(���R ���R���R���R���(���R���R ���R���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���write_tagm���s����c���������C���sK���|�d��k�r�g��}�n��|��j�|�|���|��j�j�|���|��j�|��j�7_�d��S(���N(���R���R!���R���t���appendR���R���(���R���R ���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���push_tagq���s ���� c���������C���s2���|��j��|��j�8_��|��j�j����}�|��j�|���|�S(���N(���R���R���R���t���popR"���(���R���R ���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���pop_tagx���s���� c���������c���s+���|��j��|�|���z �d��VWd��|��j����Xd��S(���N(���R0���R2���(���R���R ���R���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt ���tagcontext~���s���� N(���t���__name__t ���__module__R���R���R!���R"���R���R%���R'���t���Truet���FalseR ���R-���R.���R0���R2���R���R3���(����(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyR���:���s��� c����������C���s����t�����}��|��j�d���|��j�d���|��j�d���|��j�d�d�d�d�d�g���|��j����|��j����|��j����|��j����}�|�j�d���}�d �d��l�}�|�j�|���d��S(���Nt ���repositoryt ���namespacet���enumerationt���membert���namet���westt���valuet���7s���c:identifiert���GTK_ANCHOR_WESTs ���glib:nicks��� i����(���s���nameR=���(���s���valueR?���(���s���c:identifierR@���(���s ���glib:nickR=���(���R���R0���R2���R'���t���splitt���pprint(���t���wt���xt���linesRB���(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���test����s"���� t���__main__(���t ���__future__R����t���ost ���contextlibR���t ���cStringIOR���t���xml.sax.saxutilsR���t���libtoolimporterR���R���t���environt ���_giscannerR���t���giscanner._giscannerR���t���objectR���RF���R4���(����(����(����ss���/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyt���<module>���s��� M