---
layout: docs
title: Facebook\HackCodegen\ICodeBuilderRenderer
id: interface.Facebook.HackCodegen.ICodeBuilderRenderer
docid: interface.Facebook.HackCodegen.ICodeBuilderRenderer
permalink: /docs/reference/interface.Facebook.HackCodegen.ICodeBuilderRenderer/
---
# Facebook\\HackCodegen\\ICodeBuilderRenderer




## Interface Synopsis




``` Hack
namespace Facebook\HackCodegen;

interface ICodeBuilderRenderer {...}
```




### Public Methods




* [` ->appendToBuilder(HackBuilder $builder): HackBuilder `](<interface.Facebook.HackCodegen.ICodeBuilderRenderer.appendToBuilder.md>)\
  Appends the code of this class to the builder
* [` ->render(?HackBuilder $builder = NULL): string `](<interface.Facebook.HackCodegen.ICodeBuilderRenderer.render.md>)