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