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

integerliteral.cpp

Go to the documentation of this file.
00001 #include "integerliteral.h"
00002 
00003 Ast& IntegerLiteral::operator = (const Ast& ast) {
00004         const IntegerLiteral& integerLiteral = dynamic_cast<const IntegerLiteral&>(ast);
00005 
00006         Expression::operator=(ast);
00007         this->value = integerLiteral.value;
00008 
00009         return (*this);
00010 }
00011 
00012 
00013 bool IntegerLiteral::operator == (const Ast& ast) const {
00014         const IntegerLiteral& integerLiteral = dynamic_cast<const IntegerLiteral&>(ast);
00015         return this->value == integerLiteral.value && Expression::operator==(ast);
00016 }

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