code: def prepare(self, node):
          
          super(GlobalEffects, self).prepare(node)
  
          def register_node(module):
              """ Recursively save globals effect for all functions. """
              for v in module.values():
                  if isinstance(v, dict):  # Submodule case
                      register_node(v)
                  else:
                      fe = GlobalEffects.FunctionEffect(v)
                      self.node_to_functioneffect[v] = fe
                      self.result.add_node(fe)
                      if isinstance(v, intrinsic.Class):
                          register_node(v.fields)
  
          register_node(self.global_declarations)
          for module in MODULES.values():
              register_node(module)
          self.node_to_functioneffect[intrinsic.UnboundValue] = \
              GlobalEffects.FunctionEffect(intrinsic.UnboundValue)
docs: Initialise globals effects as this analyse is inter-procedural.
  
          Initialisation done for Pythonic functions and default value set for
          user defined functions.