Puma Reference Manual Puma: Puma::CT_ExprList Class Reference



Puma::CT_ExprList Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_ExprList:

Inheritance graph

List of all members.


Detailed Description

Tree node representing an expression list.


Public Member Functions

 CT_ExprList ()
 Constructor.
const char * NodeName () const
 Get the name of the node.
CTypeInfo * Type () const
 Get the type of the last expression in the expression list.
CExprValue * Value () const
 Get the value of the last expression in the expression list.
CSemValue * SemValue () const
 Get the semantic value of the node.
CSemObject * SemObject () const
 Get the semantic information about the node.

Static Public Member Functions

static const char * NodeId ()
 Get the identifier for this node type.


Constructor & Destructor Documentation

Puma::CT_ExprList::CT_ExprList (  )  [inline]

Constructor.


Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

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

Get the type of the last expression in the expression list.

Returns:
The type or NULL.

Reimplemented from Puma::CTree.

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

Get the value of the last expression in the expression list.

Returns:
The value of NULL.

Reimplemented from Puma::CTree.

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

Get the semantic value of the node.

Reimplemented from Puma::CTree.

CSemObject* Puma::CT_ExprList::SemObject (  )  const [inline, virtual]

Get the semantic information about the node.

Reimplemented from Puma::CTree.




Puma Reference Manual. Created on 11 Jul 2008.