codeGen can output block label, description, blocktype