Puma::CT_Expression Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_Expression:

Inheritance graph

List of all members.


Detailed Description

Base class for all expression tree nodes.

Public Member Functions

const char * NodeName () const
CTypeInfoType () const
CExprValueValue () const
CSemValueSemValue () const
virtual CT_ExpressionIsExpression ()

Static Public Member Functions

static const char * NodeId ()

Protected Member Functions

 CT_Expression ()

Constructor & Destructor Documentation

Puma::CT_Expression::CT_Expression (  )  [inline, protected]

Constructor.


Member Function Documentation

static const char* Puma::CT_Expression::NodeId (  )  [static]

const char* Puma::CT_Expression::NodeName (  )  const [inline, virtual]

CTypeInfo* Puma::CT_Expression::Type (  )  const [inline, virtual]

Get the type of the expression.

Returns:
The type information object or NULL.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_BracedExpr.

CExprValue* Puma::CT_Expression::Value (  )  const [inline, virtual]

Get the value of the expression.

Returns:
The value object or NULL.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_BracedExpr.

CSemValue* Puma::CT_Expression::SemValue (  )  const [inline, virtual]

Get the semantic value information of the expression.

Returns:
The value object or NULL.

Reimplemented from Puma::CTree.

Reimplemented in Puma::CT_BracedExpr.

virtual CT_Expression* Puma::CT_Expression::IsExpression (  )  [inline, virtual]

Get this.

Reimplemented from Puma::CTree.


Generated on Sat May 10 03:03:58 2008 for Puma by  doxygen 1.5.5