#include <CConstant.h>

Public Member Functions | |
| CConstant (LONG_LONG v, CTypeInfo *t) | |
| CConstant (U_LONG_LONG v, CTypeInfo *t) | |
| CConstant (long double v, CTypeInfo *t) | |
| virtual | ~CConstant () |
| CConstant * | cast_to (CTypeInfo *) const |
| CConstant * | compute (int) const |
| CConstant * | compute (int, const CConstant *) const |
| LONG_LONG | convert_to_int () const |
| U_LONG_LONG | convert_to_uint () const |
| long double | convert_to_float () const |
| CConstant * | Constant () const |
| CConstant * | duplicate () const |
| bool | operator== (const CConstant &) const |
| bool | operator!= (const CConstant &) const |
| bool | isNull () const |
| bool | isPositive () const |
| bool | isNegative () const |
| bool | isSigned () const |
| bool | isUnsigned () const |
| bool | isFloat () const |
| virtual void | print (ostream &out) const |
Classes | |
| union | Value |
| Puma::CConstant::CConstant | ( | U_LONG_LONG | v, | |
| CTypeInfo * | t | |||
| ) | [inline] |
| Puma::CConstant::CConstant | ( | long double | v, | |
| CTypeInfo * | t | |||
| ) | [inline] |
| virtual Puma::CConstant::~CConstant | ( | ) | [inline, virtual] |
| CConstant* Puma::CConstant::compute | ( | int | ) | const |
| LONG_LONG Puma::CConstant::convert_to_int | ( | ) | const |
| U_LONG_LONG Puma::CConstant::convert_to_uint | ( | ) | const |
| long double Puma::CConstant::convert_to_float | ( | ) | const |
| CConstant* Puma::CConstant::Constant | ( | ) | const [inline, virtual] |
Reimplemented from Puma::CExprValue.
| CConstant* Puma::CConstant::duplicate | ( | ) | const |
| bool Puma::CConstant::operator== | ( | const CConstant & | ) | const |
| bool Puma::CConstant::operator!= | ( | const CConstant & | ) | const |
| bool Puma::CConstant::isNull | ( | ) | const |
| bool Puma::CConstant::isPositive | ( | ) | const |
| bool Puma::CConstant::isNegative | ( | ) | const |
| bool Puma::CConstant::isSigned | ( | ) | const [inline] |
| bool Puma::CConstant::isUnsigned | ( | ) | const [inline] |
| bool Puma::CConstant::isFloat | ( | ) | const [inline] |
| virtual void Puma::CConstant::print | ( | ostream & | out | ) | const [virtual] |
Implements Puma::CExprValue.
1.5.5