parameters: (self)
docstring: Called when the task has been successfully executed and
          the Taskmaster instance wants to call the Node's callback
          methods.
  
          This may have been a do-nothing operation (to preserve build
          order), so we must check the node's state before deciding whether
          it was "built", in which case we call the appropriate Node method.
          In any event, we always call "visited()", which will handle any
          post-visit actions that must take place regardless of whether
          or not the target was an actual built target or a source Node.
docstring_summary: Called when the task has been successfully executed and
          the Taskmaster instance wants to call the Node's callback
          methods.
docstring_tokens: Called when the task has been successfully executed and the Taskmaster instance wants to call the Node s callback methods .
function: def executed_with_callbacks(self):
          """
          Called when the task has been successfully executed and
          the Taskmaster instance wants to call the Node's callback
          methods.
  
          This may have been a do-nothing operation (to preserve build
          order), so we must check the node's state before deciding whether
          it was "built", in which case we call the appropriate Node method.
          In any event, we always call "visited()", which will handle any
          post-visit actions that must take place regardless of whether
          or not the target was an actual built target or a source Node.
          """
          global print_prepare
          T = self.tm.trace
          if T: T.write(self.trace_message('Task.executed_with_callbacks()',
                                           self.node))
  
          for t in self.targets:
              if t.get_state() == NODE_EXECUTING:
                  for side_effect in t.side_effects:
                      side_effect.set_state(NODE_NO_STATE)
                  t.set_state(NODE_EXECUTED)
                  if not t.cached:
                      t.push_to_cache()
                  t.built()
                  t.visited()
                  if (not print_prepare and
                      (not hasattr(self, 'options') or not self.options.debug_includes)):
                      t.release_target_info()
              else:
                  t.visited()
function_tokens: def executed_with_callbacks ( self ) : global print_prepare T = self . tm . trace if T : T . write ( self . trace_message ( 'Task.executed_with_callbacks()' , self . node ) ) for t in self . targets : if t . get_state ( ) == NODE_EXECUTING : for side_effect in t . side_effects : side_effect . set_state ( NODE_NO_STATE ) t . set_state ( NODE_EXECUTED ) if not t . cached : t . push_to_cache ( ) t . built ( ) t . visited ( ) if ( not print_prepare and ( not hasattr ( self , 'options' ) or not self . options . debug_includes ) ) : t . release_target_info ( ) else : t . visited ( )