parameters: (self, lower, gen_struct)
return_statement: return lower.pyapi.from_native_generator(gen_ptr, self.gentype, lower.envarg)
docstring: Box the raw *gen_struct* as a Python object.
docstring_summary: Box the raw *gen_struct* as a Python object.
docstring_tokens: Box the raw * gen_struct * as a Python object .
function: def box_generator_struct(self, lower, gen_struct):
          """
          Box the raw *gen_struct* as a Python object.
          """
          gen_ptr = cgutils.alloca_once_value(lower.builder, gen_struct)
          return lower.pyapi.from_native_generator(gen_ptr, self.gentype, lower.envarg)
function_tokens: def box_generator_struct ( self , lower , gen_struct ) : gen_ptr = cgutils . alloca_once_value ( lower . builder , gen_struct ) return lower . pyapi . from_native_generator ( gen_ptr , self . gentype , lower . envarg )