#include <include/type.h>
Inheritance diagram for NamedType:
Definition at line 457 of file type.h.
Public Member Functions | |
virtual Type * | clone () const |
virtual const char * | getCtype (bool final=false) const |
const char * | getName () |
virtual unsigned | getSize () const |
virtual bool | isCompatible (Type *other, bool all) |
virtual bool | isNamed () const |
virtual Exp * | match (Type *pattern) |
virtual Type * | meetWith (Type *other, bool &ch, bool bHighestPtr) |
NamedType (const char *name) | |
virtual bool | operator< (const Type &other) const |
virtual bool | operator== (const Type &other) const |
Type * | resolvesTo () const |
virtual | ~NamedType () |
Static Public Member Functions | |
static NamedType * | getAlpha () |
Private Attributes | |
std::string | name |
Static Private Attributes | |
static int | nextAlpha = 0 |
Friends | |
class | XMLProgParser |
|
Definition at line 69 of file typeStubs.cpp. Referenced by getAlpha(). |
|
Definition at line 70 of file typeStubs.cpp. |
|
Implements Type. Definition at line 71 of file typeStubs.cpp. References NULL. |
|
Definition at line 993 of file type.cpp. References NamedType(), and nextAlpha. Referenced by PointerType::newPtrAlpha(). |
|
Implements Type. Definition at line 829 of file type.cpp. References name. |
|
Definition at line 466 of file type.h. References name. Referenced by Type::match(). |
|
Implements Type. Definition at line 74 of file typeStubs.cpp. |
|
Implements Type. Definition at line 1402 of file dfa.cpp. References Type::isCompatibleWith(), Type::isNamed(), resolvesTo(), and Type::resolvesToVoid(). |
|
Reimplemented from Type. |
|
Reimplemented from Type. Definition at line 706 of file type.cpp. References Type::match(). |
|
Implements Type. Definition at line 533 of file dfa.cpp. References Type::createUnion(), Type::meetWith(), resolvesTo(), and Type::resolvesToVoid(). |
|
Implements Type. Definition at line 73 of file typeStubs.cpp. |
|
Implements Type. Definition at line 72 of file typeStubs.cpp. |
|
Definition at line 1029 of file type.cpp. References Type::getNamedType(), and Type::isNamed(). Referenced by isCompatible(), and meetWith(). |
|
Reimplemented from Type. |
|
Definition at line 459 of file type.h. Referenced by getCtype(), getName(), and XMLProgParser::persistToXML(). |
|
Definition at line 460 of file type.h. Referenced by getAlpha(). |