hhvm / hack-codegen

Library to programatically generate Hack code and write it to signed files
https://hhvm.github.io/hack-codegen/
MIT License
341 stars 93 forks source link

Support user-provided Attributes #20

Closed fredemmott closed 7 years ago

fredemmott commented 8 years ago

eg $class_builder->addAttribute('MockClass')->addAttribute('CodeGen', 'MyCodeGenScript');

Related: #19