ast codegen (begin to codegen statement)