#include <include/type.h>
Inheritance diagram for ArrayType:

Definition at line 420 of file type.h.
| Public Member Functions | |
| ArrayType (Type *p) | |
| ArrayType (Type *p, unsigned length) | |
| virtual Type * | clone () const | 
| void | fixBaseType (Type *b) | 
| Type * | getBaseType () | 
| virtual const char * | getCtype (bool final=false) const | 
| unsigned | getLength () | 
| virtual unsigned | getSize () const | 
| virtual bool | isArray () const | 
| virtual bool | isCompatible (Type *other, bool all) | 
| virtual bool | isCompatibleWith (Type *other, bool all=false) | 
| bool | isUnbounded () const | 
| virtual Exp * | match (Type *pattern) | 
| virtual Type * | meetWith (Type *other, bool &ch, bool bHighestPtr) | 
| virtual bool | operator< (const Type &other) const | 
| virtual bool | operator== (const Type &other) const | 
| void | setBaseType (Type *b) | 
| void | setLength (unsigned n) | 
| virtual | ~ArrayType () | 
| Protected Member Functions | |
| ArrayType () | |
| Private Attributes | |
| Type * | base_type | 
| unsigned | length | 
| Friends | |
| class | XMLProgParser | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 454 of file type.h. Referenced by clone(). | 
| 
 | 
| 
 Implements Type. Definition at line 210 of file type.cpp. References ArrayType(), base_type, Type::clone(), and length. Referenced by UserProc::mapExpressionsToLocals(). | 
| 
 | 
| 
 Definition at line 1037 of file type.cpp. References Type::asArray(), base_type, fixBaseType(), Type::isArray(), and NULL. Referenced by fixBaseType(). | 
| 
 | 
| 
 Definition at line 430 of file type.h. References base_type. Referenced by CHLLCode::appendType(), CHLLCode::appendTypeIdent(), Type::compForAddress(), and Type::isCString(). | 
| 
 | 
| 
 Implements Type. Definition at line 818 of file type.cpp. References base_type, Type::getCtype(), isUnbounded(), and length. | 
| 
 | 
| 
 Definition at line 433 of file type.h. References length. Referenced by meetWith(). | 
| 
 | 
| 
 Implements Type. Definition at line 273 of file type.cpp. References base_type, Type::getSize(), and length. | 
| 
 | 
| 
 Reimplemented from Type. | 
| 
 | ||||||||||||
| 
 Implements Type. Definition at line 1412 of file dfa.cpp. References Type::asArray(), base_type, Type::isCompatibleWith(), Type::resolvesToArray(), Type::resolvesToUnion(), and Type::resolvesToVoid(). Referenced by isCompatibleWith(). | 
| 
 | ||||||||||||
| 
 Reimplemented from Type. Definition at line 449 of file type.h. References isCompatible(). | 
| 
 | 
| 
 Definition at line 109 of file type.cpp. References length, and NO_BOUND. Referenced by getCtype(), and UserProc::mapExpressionsToLocals(). | 
| 
 | 
| 
 Reimplemented from Type. Definition at line 699 of file type.cpp. References base_type, Type::isArray(), and Type::match(). | 
| 
 | ||||||||||||||||
| 
 Implements Type. Definition at line 512 of file dfa.cpp. References Type::asArray(), base_type, Type::clone(), getLength(), Type::meetWith(), Type::resolvesToArray(), Type::resolvesToVoid(), and setBaseType(). | 
| 
 | 
| 
 Implements Type. Definition at line 598 of file type.cpp. References base_type, and Type::getId(). | 
| 
 | 
| 
 Implements Type. Definition at line 472 of file type.cpp. References base_type, Type::isArray(), and length. | 
| 
 | 
| 
 Definition at line 113 of file type.cpp. References base_type, Type::getSize(), length, and NO_BOUND. Referenced by meetWith(). | 
| 
 | 
| 
 Definition at line 434 of file type.h. References length. | 
| 
 | 
| 
 Reimplemented from Type. | 
| 
 | 
| 
 Definition at line 422 of file type.h. Referenced by clone(), fixBaseType(), getBaseType(), getCtype(), getSize(), isCompatible(), match(), meetWith(), operator<(), operator==(), XMLProgParser::persistToXML(), and setBaseType(). | 
| 
 | 
| 
 Definition at line 423 of file type.h. Referenced by clone(), getCtype(), getLength(), getSize(), isUnbounded(), operator==(), XMLProgParser::persistToXML(), setBaseType(), and setLength(). | 
 1.4.6
 1.4.6