00001 #include "type.h" 00002 00003 VoidType::VoidType() {} 00004 VoidType::~VoidType() {} 00005 BooleanType::BooleanType() {} 00006 BooleanType::~BooleanType() {} 00007 Type::Type() {} 00008 Type::~Type() {} 00009 Type *Type::getNamedType(const char *name) {return 0;} 00010 bool Type::operator!=(const Type& other) const {return false;} 00011 std::string Type::getTempName() const {return "";} 00012 void Type::addNamedType(const char *name, Type *type) {} 00013 00014 Type* BooleanType::clone() const {return NULL;} 00015 bool BooleanType::operator==(const Type& other) const {return false;} 00016 bool BooleanType::operator< (const Type& other) const {return false;} 00017 int BooleanType::getSize() const {return 0;} 00018 const char *BooleanType::getCtype() const {return NULL;} 00019 00020 Type *VoidType::clone() const {return NULL;} 00021 bool VoidType::operator==(const Type& other) const {return false;} 00022 bool VoidType::operator< (const Type& other) const {return false;} 00023 int VoidType::getSize() const {return 0;} 00024 const char *VoidType::getCtype() const {return NULL;} 00025 00026 IntegerType::IntegerType(int sz, bool sign) {} 00027 IntegerType::~IntegerType() {} 00028 Type* IntegerType::clone() const {return NULL;} 00029 bool IntegerType::operator==(const Type& other) const {return false;} 00030 bool IntegerType::operator< (const Type& other) const {return false;} 00031 int IntegerType::getSize() const {return 0;} 00032 const char *IntegerType::getCtype() const {return NULL;} 00033 std::string IntegerType::getTempName() const {return "";} 00034 00035 CharType::CharType() {} 00036 CharType::~CharType() {} 00037 Type *CharType::clone() const {return NULL;} 00038 bool CharType::operator==(const Type& other) const {return false;} 00039 bool CharType::operator< (const Type& other) const {return false;} 00040 int CharType::getSize() const {return 0;} 00041 const char *CharType::getCtype() const {return NULL;} 00042 00043 PointerType::PointerType(Type* t) {} 00044 PointerType::~PointerType() {} 00045 00046 FloatType::FloatType(int i) {} 00047 FloatType::~FloatType() {} 00048 Type *FloatType::clone() const {return NULL;} 00049 bool FloatType::operator==(const Type& other) const {return false;} 00050 bool FloatType::operator< (const Type& other) const {return false;} 00051 int FloatType::getSize() const {return 0;} 00052 const char *FloatType::getCtype() const {return NULL;} 00053 std::string FloatType::getTempName() const {return "";} 00054 00055 Type *PointerType::clone() const {return NULL;} 00056 bool PointerType::operator==(const Type& other) const {return false;} 00057 bool PointerType::operator< (const Type& other) const {return false;} 00058 int PointerType::getSize() const {return 0;} 00059 const char *PointerType::getCtype() const {return NULL;} 00060 00061 FuncType::FuncType(Signature* ) {} 00062 FuncType::~FuncType() {} 00063 Type *FuncType::clone() const {return NULL;} 00064 bool FuncType::operator==(const Type& other) const {return false;} 00065 bool FuncType::operator< (const Type& other) const {return false;} 00066 int FuncType::getSize() const {return 0;} 00067 const char *FuncType::getCtype() const {return NULL;} 00068 00069 NamedType::NamedType(const char *name) {} 00070 NamedType::~NamedType() {} 00071 Type *NamedType::clone() const {return NULL;} 00072 bool NamedType::operator==(const Type& other) const {return false;} 00073 bool NamedType::operator< (const Type& other) const {return false;} 00074 int NamedType::getSize() const {return 0;} 00075 const char *NamedType::getCtype() const {return NULL;}