parameters: (self, othermodule, includedfile)
docstring: Add #include dependency from a file in this module.
docstring_summary: Add #include dependency from a file in this module.
docstring_tokens: Add #include dependency from a file in this module .
function: def add_dependency(self, othermodule, includedfile):
          """Add #include dependency from a file in this module."""
          assert includedfile.get_file().get_module() == othermodule
          if othermodule not in self._dependencies:
              self._dependencies[othermodule] = ModuleDependency(othermodule)
          self._dependencies[othermodule].add_included_file(includedfile)
function_tokens: def add_dependency ( self , othermodule , includedfile ) : assert includedfile . get_file ( ) . get_module ( ) == othermodule if othermodule not in self . _dependencies : self . _dependencies [ othermodule ] = ModuleDependency ( othermodule ) self . _dependencies [ othermodule ] . add_included_file ( includedfile )