Logo Search packages:      
Sourcecode: abakus version File versions  Download package

Python.py

import SCons.Node
00002 class Value(SCons.Node.Node):
    def __init__(self, value):
        SCons.Node.Node.__init__(self)
        self.value=value
    def __str__(self):
        return repr(self.value)
    def build(self):
        pass
    current=SCons.Node.Node.children_are_up_to_date
    def is_under(self, dir):
        return 1
    def get_contents(self):
        contents=str(self.value)
        for kid in self.children(None):
            contents=contents + kid.get_contents()
        return contents
    def calc_csig(self, calc=None):
        try:
            binfo=self.binfo
        except:
            binfo=self.binfo=self.new_binfo()
        try:
            return binfo.csig
        except AttributeError:
            binfo.csig=self.get_contents()
            self.store_info(binfo)
            return binfo.csig

Generated by  Doxygen 1.6.0   Back to index