Exemplo n.º 1
0
Type *
TypeCheck::visit(DeclarationSeq *ast)
{
	FUNCLOG;
	List<Declaration*>::iterator it = ast->decls.begin();
	while (it != ast->decls.end()) {
		Declaration *decl = *it;
		decl->accept(this);
		++it;
	}
	return NULL;
}