code: def build(cls, node):
      
      if not isinstance(node, gast.FunctionDef):
        raise ValueError
      namer = cls()
      namer.names.update(get_names(node))
      return namer
docs: Construct a namer object for a given function scope.