CharType Class Reference

#include <include/type.h>

Inheritance diagram for CharType:

Type List of all members.

Detailed Description

Definition at line 362 of file type.h.

Public Member Functions

 CharType ()
virtual Type * clone () const
virtual const char * getCtype (bool final=false) const
virtual unsigned getSize () const
virtual bool isChar () const
virtual bool isCompatible (Type *other, bool all)
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
virtual ~CharType ()

Friends

class XMLProgParser


Constructor & Destructor Documentation

CharType::CharType (   ) 
 

Definition at line 35 of file typeStubs.cpp.

CharType::~CharType (   )  [virtual]
 

Definition at line 36 of file typeStubs.cpp.


Member Function Documentation

Type * CharType::clone (   )  const [virtual]
 

Implements Type.

Definition at line 37 of file typeStubs.cpp.

References NULL.

const char * CharType::getCtype (  bool  final = false  )  const [virtual]
 

Implements Type.

Definition at line 807 of file type.cpp.

unsigned CharType::getSize (   )  const [virtual]
 

Implements Type.

Definition at line 40 of file typeStubs.cpp.

virtual bool CharType::isChar (   )  const [inline, virtual]
 

Reimplemented from Type.

Definition at line 366 of file type.h.

bool CharType::isCompatible (  Type *  other,
bool  all
)  [virtual]
 

Implements Type.

Definition at line 1363 of file dfa.cpp.

References Type::isCompatibleWith(), Type::resolvesToChar(), Type::resolvesToInteger(), Type::resolvesToSize(), and Type::resolvesToVoid().

Exp * CharType::match (  Type *  pattern  )  [virtual]
 

Reimplemented from Type.

Definition at line 675 of file type.cpp.

References Type::match().

Type * CharType::meetWith (  Type *  other,
bool &  ch,
bool  bHighestPtr
)  [virtual]
 

Implements Type.

Definition at line 447 of file dfa.cpp.

References Type::clone(), Type::resolvesToChar(), Type::resolvesToInteger(), and Type::resolvesToVoid().

bool CharType::operator< (  const Type &  other  )  const [virtual]
 

Implements Type.

Definition at line 39 of file typeStubs.cpp.

bool CharType::operator== (  const Type &  other  )  const [virtual]
 

Implements Type.

Definition at line 38 of file typeStubs.cpp.


Friends And Related Function Documentation

friend class XMLProgParser [friend]
 

Reimplemented from Type.

Definition at line 383 of file type.h.


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:40 2006 for Boomerang by  doxygen 1.4.6