code: def submodules(self):
          
          submodules = []
          submodules.extend(self.modules)
          for p in self.packages:
              submodules.extend(p.submodules)
          return submodules
docs: Property to return all sub-modules of the node, recursively.
  
          Returns:
              list of Module: the sub-modules.