ó Ç,{Sc@sJddlmZddlmZddd„ƒYZdd d„ƒYZdS( iÿÿÿÿ(tetree(tdumpt CdependencycBsneZd d„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d„Z d „Z d „Z RS( cCs7d|_|dkr*tjdƒ|_n ||_dS(Ntdep(tNonet node_commentRtElementtnode(tselfR((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt__init__s  cCs|jS(N(R(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytget_node_comment scCs|jS(N(R(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytget_nodescCs|jjdƒS(Ntfrom(Rtget(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytget_fromscCs|jjdƒS(Ntto(RR (R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytget_toscCs|jjdƒS(Ntrfunc(RR (R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt get_functionscCs|jjd|ƒdS(NR (Rtset(Rtf((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytset_fromscCs|jjd|ƒdS(NR(RR(Rtt((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytset_toscCs|jjd|ƒdS(NR(RR(RR((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt set_function"scCs"tj|jddƒƒ|_dS(Ns--s- -(RtCommenttreplaceR(Rt str_comment((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt set_comment%scCs t|jƒS(N(RR(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt__str__)sN(t__name__t __module__RR R R RRRRRRRR(((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyRs          t CdependenciescBsSeZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( cCs.|dkr!tjdƒ|_n ||_dS(Ntdeps(RRRR(RR((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyR /s cCs|jS(N(R(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyR 5scCsdS(N((R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytto_kaf8scCsdS(N((R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytto_naf;scCs t|jƒS(N(RR(R((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyR>sccs&x|jjdƒD] }|VqWdS(NR(Rtfindall(Rtnode_dep((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyt__get_node_depsBsccs&x|jƒD]}t|ƒVq WdS(N(t_Cdependencies__get_node_depsR(RR((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytget_dependenciesFscCsE|jƒ}|dk r+|jj|ƒn|jj|jƒƒdS(N(R RRtappendR (Rtmy_depR((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pytadd_dependencyKs  N( RRRR R R"R#RR'R(R+(((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyR .s       N(((tlxmlRtlxml.objectifyRRR (((s9/tmp/tmp_GOUar/lib/python/KafNafParser/dependency_data.pyts)