code: def insert_function(self, fname, ftype):
          "Inserts a new function"
          index = self.insert_id(fname, SharedData.KINDS.FUNCTION, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.FUNCTION], ftype)
          self.table[index].set_attribute("Params",0)
          return indef insert_function(self, fname, ftype):
          "Inserts a new function"
          index = self.insert_id(fname, SharedData.KINDS.FUNCTION, [SharedData.KINDS.GLOBAL_VAR, SharedData.KINDS.FUNCTION], ftype)
          self.table[index].set_attribute("Params",0)
          return index
docs: Inserts a new function