Emit generated code with input type (String)