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

stringliteral.cpp

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

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