DeclareVar codegen