00001 #ifndef MESSAGE_H 00002 #define MESSAGE_H 00003 00004 #include "ast.h" 00005 00006 class Message : public Ast { 00007 private: 00008 00009 public: 00010 Message(SrcPosition *position) 00011 : Ast(position) {} 00012 00013 virtual ~Message() { 00014 } 00015 00016 virtual Ast& operator = (const Ast& ast) { 00017 Ast::operator=(ast); 00018 return *(this); 00019 } 00020 virtual bool operator == (const Ast& ast) const { 00021 return Ast::operator==(ast); 00022 } 00023 }; 00024 00025 #endif