00001 #ifndef INSTRUCTION_H_
00002 #define INSTRUCTION_H_
00003
00004 #include "statement.h"
00005 #include <assert.h>
00006
00007 namespace il
00008 {
00009
00010 class instruction: public il::statement
00011 {
00012 friend class boost::serialization::access;
00013
00014 template<class Archive>
00015 void serialize(Archive & ar, const unsigned int version)
00016 {
00017 ar & boost::serialization::base_object<il::statement>(*this);
00018 }
00019 public:
00020 instruction();
00021 virtual string to_string() const = 0;
00022 virtual ~instruction();
00023 };
00024
00025 }
00026
00027 #endif