ó àqLc@spdZdZddlZdejjfd„ƒYZdejjfd„ƒYZdejjfd „ƒYZ dS( s"scons.Node.Python Python nodes. s>src/engine/SCons/Node/Python.py 5023 2010/06/14 22:05:46 sconsiÿÿÿÿNt ValueNodeInfocBs eZdZdgZd„ZRS(itcsigcCs t|ƒS(N(tValue(tselfts((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyt str_to_node's(t__name__t __module__tcurrent_version_idt field_listR(((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyR"s tValueBuildInfocBseZdZRS(i(RRR(((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyR *sRcBs˜eZdZeZeZd d„Zd„Z d„Z d„Z d„Z e jjjZd„Zd„Zd„Zd „ZeZd „Zd d „ZRS( sA class for Python variables, typically passed on the command line or generated by a script, but not from a file or some other source. cCs8tjjj|ƒ||_|dk r4||_ndS(N(tSConstNodet__init__tvaluetNonet built_value(RRR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyR 5s  cCs t|jƒS(N(treprR(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytstr_for_display;scCs t|jƒS(N(tstrR(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyt__str__>scCs|jƒdS(N(tget_csig(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyt make_readyAscKs,t|dƒs(tjjj||ndS(NR(thasattrR R tbuild(Rtkw((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyRDscCsdS(Ni((Rtdir((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytis_underJscCs ||_dS(sSet the value of the node.N(R(RR((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytwritePscCs/|jƒt|dƒs(|j|_n|jS(s3Return the value. If necessary, the value is built.R(RRRR(R((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytreadTs cCs=t|jƒ}x'|jdƒD]}||jƒ}qW|S(s2By the assumption that the node.built_value is a deterministic product of the sources, the contents of a Value are the concatenation of all the contents of its sources. As the value need not be built when get_contents() is called, we cannot use the actual node.built_value.N(RRtchildrenRt get_contents(Rtcontentstkid((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytget_text_contents[scCs6|jƒ}y||jkSWntk r1dSXdS(Ni(RRtAttributeError(Rttargettprev_nitcur_csig((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pytchanged_since_last_buildis   cCsAy|jjSWntk r!nX|jƒ}||jƒ_|S(s“Because we're a Python value node and don't have a real timestamp, we get to ignore the calculator and just use the value contents.(tninfoRR#Rt get_ninfo(RtcalcR ((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyRps  N(RRt__doc__RtNodeInfoR t BuildInfoRR RRRRR R tchildren_are_up_to_datet is_up_to_dateRRRR"RR'R(((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyR-s           ( R+t __revision__t SCons.NodeR R t NodeInfoBaseRt BuildInfoBaseR R(((sa/home/als/proj/qrscanner/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyts