Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skipstatement.h

Go to the documentation of this file.
00001 #ifndef SKIP_STATEMENT_H
00002 #define SKIP_STATEMENT_H
00003 
00004 #include "simplestatement.h"
00005 
00006 class SkipStatement : public SimpleStatement {
00007         private:
00008 
00009         public:
00010                 SkipStatement(SrcPosition *position)
00011                                 : SimpleStatement(position) {}
00012 
00013                 virtual ~SkipStatement() {
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                 virtual VisitorReturn *visit(Visitor& visitor) {
00024                         return visitor.visitSkipStatement(this);
00025                 }
00026                 virtual Ast& clone() const {
00027                         return *(new SkipStatement(new SrcPosition(*this->position)));
00028                 }
00029 };
00030 
00031 #endif

Generated on Mon Dec 1 17:36:38 2003 for Protomake by doxygen1.3