String Decls::typeCheck() { String str = ""; for(int i=0; i<decls->getSize();i++) { Decl *decl = this->decls->getValue(i); str += decl->typeCheck(); } return str; }