/**
 * @file
 * $Id$
 * $Revision$
 * $Author$
 * $Date$
 *
 * This file is part of The iWear Framework.
 *
 * The iWear Framework is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the
 * Free Software Foundation as in version 2 of the License.

 * 
 * The iWear Framework is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * The iWear Framework; if not, write to the Free Software Foundation, Inc., 59
 * Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef __IWREMOTE_STATEMENT_H
#define __IWREMOTE_STATEMENT_H

#include <iwear/exceptions.h>

#include <list>
using std::list;

namespace iwear
{
    namespace net
    {
/*
enum statement_type
{
    namespace_t,
    class_t,
    function_t,
    enum_t,
    declaration_t
};    
*/
    /*
enum protection
{
    public_t,
    protected_t,
    private_t,
};
*/
/**
 * A statement is a basic expression for code blocks. Each statement can have
 * sub-statements which also can have substatements and so on. Statement itself
 * is abstract so that different types can be derived from it, which itself
 * only accept certain other kinds of statements.
 */	
class Statement
{
private:
protected:
    uint32_t line;
    string file;
public:
    virtual ~Statement() { }
/*
    virtual statement_type get_type( void ) const = 0;
    virtual void add_statement( Statement& st ) = 0;
    const list<Statement*>& get_sub_statements( void ) const { return sub_statements; }
    list<Statement*>& get_sub_statements( void ) { return sub_statements; }
*/

};

}
}

#endif
