---
layout: docs
title: extractManualCode
id: class.Facebook.HackCodegen.PartiallyGeneratedCode.extractManualCode
docid: class.Facebook.HackCodegen.PartiallyGeneratedCode.extractManualCode
permalink: /docs/reference/class.Facebook.HackCodegen.PartiallyGeneratedCode.extractManualCode/
---
# Facebook\\HackCodegen\\PartiallyGeneratedCode::extractManualCode()




Extract manually generated code and returns a map of ids to chunks of code




``` Hack
private function extractManualCode(
  string $code,
): dict<string, string>;
```




## Parameters




+ ` string $code `




## Returns




* ` dict<string, string> `