/*
 * $Id: visitor.h,v 1.2 2012/02/09 10:43:29 vrsieh Exp $
 *
 * Copyright (C) 2007-2009 FAUcc Team <info@faumachine.org>.
 * This program is free software. You can redistribute it and/or modify it
 * under the terms of the GNU General Public License, either version 2 of
 * the License, or (at your option) any later version. See COPYING.
 */

#include "scope.h"
#include "stmt.h"
#include "expr.h"

extern int
visitor_stmt(
	struct scope *scope,
	int repeat,
	int (*sv)(int, struct stmt *, struct stmt *)
);
extern int
visitor_expr(
	struct scope *scope,
	int repeat,
	int (*ev)(int, struct stmt *, struct stmt *, struct expr *)
);
