parameters: (self, node, node_contents)
docstring: Handle uber files by grepping for all the includes of source files and performing the moc scanning there
docstring_summary: Handle uber files by grepping for all the includes of source files and performing the moc scanning there
docstring_tokens: Handle uber files by grepping for all the includes of source files and performing the moc scanning there
function: def add_moc_task_uber(self, node, node_contents):
          '''
          Handle uber files by grepping for all the includes of source files and performing the moc scanning there
          '''
          moctasks = []
          include_source_rel_paths = INCLUDE_SRC_RE.findall(node_contents)
          for include_source_rel_path, include_source_extension in include_source_rel_paths:
              source_node = node.parent.find_node(include_source_rel_path)
  
              if source_node is None:
                  source_node = self.generator.path.find_node(include_source_rel_path)
  
              if source_node is not None:
                  source_node_contents = source_node.read()
                  moctasks += self.scan_node_contents_for_moc_tasks(source_node_contents)
                  del source_node_contents #free up the text as soon as possible
  
  
          # simple scheduler dependency: run the moc task before others
          self.run_after.update(set(moctasks))
function_tokens: def add_moc_task_uber ( self , node , node_contents ) : moctasks = [ ] include_source_rel_paths = INCLUDE_SRC_RE . findall ( node_contents ) for include_source_rel_path , include_source_extension in include_source_rel_paths : source_node = node . parent . find_node ( include_source_rel_path ) if source_node is None : source_node = self . generator . path . find_node ( include_source_rel_path ) if source_node is not None : source_node_contents = source_node . read ( ) moctasks += self . scan_node_contents_for_moc_tasks ( source_node_contents ) del source_node_contents #free up the text as soon as possible # simple scheduler dependency: run the moc task before others self . run_after . update ( set ( moctasks ) )