code: def clear(self):
          
          # The del_binfo() call here isn't necessary for normal execution,
          # but is for interactive mode, where we might rebuild the same
          # target and need to start from scratch.
          self.del_binfo()
          self.clear_memoized_values()
          self.ninfo = self.new_ninfo()
          self.executor_cleanup()
          try:
              delattr(self, '_calculated_sig')
          except AttributeError:
              pass
          self.includes = None
docs: Completely clear a Node of all its cached state (so that it
          can be re-evaluated by interfaces that do continuous integration
          builds).