ó Ÿ#,Yc@sHddlZddlZddlmZdfd„ƒYZd„ZdS(iÿÿÿÿNi(t dbustypest DBusXMLParsercBsƒeZdZdZdZdZdZdZdZdZ dZ d „Z d Z d Z d Zd Zd„Zd„Zd„Zd„ZRS(ttoptnodet interfacetmethodtsignaltpropertytargt annotationtignoredcCs§tjjjƒ|_|j|j_|j|j_|j |j_ |j |j_ g|_ d|_tj|_g|_d|_g|_d|_|jj|ƒdS(Nt(txmltparserstexpatt ParserCreatet_parserthandle_commenttCommentHandlerthandle_char_datatCharacterDataHandlerthandle_start_elementtStartElementHandlerthandle_end_elementtEndElementHandlertparsed_interfacestNonet _cur_objectRt STATE_TOPtstatet state_stackt_cur_object_stacktdoc_comment_last_symboltParse(tselftxml_data((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyt__init__&s       tbegintparamstbodytskipcCs¨tj}|jdƒ}d}d}t}i}x4|D],}|} |jƒ}|tjkr t|ƒdkrc|jdƒ} | dkrÉ|jdƒr½|dt|ƒd!}tj}qtj }q|d| !}|| dj ƒ} t| ƒdkr|d | d 7}ntj}qcq7|tjkrü|j d ƒr´|jdƒ} | dkrŒtj }|s{|d 7}t }n|| d7}qù|d| !} || d} | || st@(RtCOMMENT_STATE_BEGINtsplittFalsetlstriptlentfindtendswithtCOMMENT_STATE_PARAMStCOMMENT_STATE_SKIPtstript startswithtCOMMENT_STATE_BODYtTrueR tdoc_comment_paramstdoc_comment_body(R"tdatat comment_statetlinestsymbolR'tin_paraR&tlinet orig_linet colon_indext rest_of_linetparamtdocs((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyR=sn                       cCsdS(N((R"R:((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyR|scCsQ|j}|j}|jtjkr3tj|_nú|jtjkrr|tjkrctj|_q-tj|_n»|jtjkr¸|tjkrÎtj|_tj|dƒ}||_|j j |ƒn`|tj kr"tj |_tj |d|dƒ}|jj j |ƒ||_n tj|_d|kr-|j|dkr-|j|j_d|jkr‡|jd}||j_nd|jkrµ|jdjƒ|j_qµq-nu|jtjkr~|tjkrtj|_tj|dƒ}|jjj |ƒ||_n|tjkrdtj|_tj|dƒ} |jjj | ƒ| |_n»|tjkr¿tj|_tj|d|d|dƒ} |jjj | ƒ| |_n`|tj krtj |_tj |d|dƒ}|jj j |ƒ||_n tj|_d|kr-|j|dkr-|j|j_d|jkr{|jdjƒ|j_q{q-n¯|jtjkrC|tjkrRtj|_d} d|krÊ|d} ntj | |dƒ} |j!ddƒ} | dkr|jj"j | ƒn2| d kr6|jj#j | ƒnt$d | ƒ‚| |_n`|tj kr¦tj |_tj |d|dƒ}|jj j |ƒ||_n tj|_|j|j%kr-d|kr@|d|jkr@|j|d}|dkr||j_nd|jkr=|jdjƒ|j_q=q@q-nê|jtjkrµ|tjkrÄtj|_d} d|kr|d} ntj | |dƒ} |jj&j | ƒ| |_n`|tj krtj |_tj |d|dƒ}|jj j |ƒ||_n tj|_|j|j%kr-d|kr²|d|jkr²|j|d}|dkr||j_nd|jkr¯|jdjƒ|j_q¯q²q-nx|jtjkr*|tj krtj |_tj |d|dƒ}|jj j |ƒ||_q-tj|_n|jtjkrŸ|tj krtj |_tj |d|dƒ}|jj j |ƒ||_q-tj|_nŽ|jtj kr|tj krtj |_tj |d|dƒ}|jj j |ƒ||_q-tj|_nt$d |j|fƒ‚|j'j |ƒ|j(j |ƒdS( Ntnametvaluetshort_descriptiontsincettypetaccesst directiontintoutsInvalid direction "%s"s:Unhandled state "%s" while entering element with name "%s"()RRRt STATE_IGNOREDRt STATE_NODEtSTATE_INTERFACERt InterfaceRtappendtSTATE_ANNOTATIONt Annotationt annotationsR R9t doc_stringR8tdoc_string_briefR4RHt STATE_METHODtMethodtmethodst STATE_SIGNALtSignaltsignalstSTATE_PROPERTYtPropertyt propertiest STATE_ARGRtArgtgettin_argstout_argst RuntimeErrorREtargsRR(R"REtattrst old_statetold_cur_objecttifacetannoRGRRtproptarg_nameRRKRV((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyR€sü        "     !    "          %        %      cCs(|jjƒ|_|jjƒ|_dS(N(RtpopRRR(R"RE((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyRs(t__name__t __module__RRORPRXR[R^RaRSRNR$R+R2R6R3RRRR(((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyRs$  ?  žcCst|ƒ}|jS(N(RR(R#tparser((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pytparse_dbus_xml"s (tsystxml.parsers.expatR R RRRs(((sS/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/glib-2.0/codegen/parser.pyts  ÿ