Puma Reference Manual Puma: Puma::CT_DesignatorSeq Class Reference



Puma::CT_DesignatorSeq Class Reference

Tree node representing a designator sequence. More...

#include <Puma/CTree.h>

Inherits Puma::CT_List, and Puma::CSemValue.

List of all members.

Public Member Functions

 CT_DesignatorSeq (int size=1)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CTypeInfoType () const
 Get the type of the entity to initialize.
CExprValueValue () const
 Get the value of the entity to initialize.
CSemValueSemValue () const
 Get the semantic value object.

Static Public Member Functions

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

Detailed Description

Tree node representing a designator sequence.

Example:

 .a.b.c 

Constructor & Destructor Documentation

Puma::CT_DesignatorSeq::CT_DesignatorSeq ( int  size = 1  )  [inline]

Constructor.

Parameters:
size Initial number of designators.

Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

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

Get the semantic value object.

Reimplemented from Puma::CTree.

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

Get the type of the entity to initialize.

Reimplemented from Puma::CTree.

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

Get the value of the entity to initialize.

Reimplemented from Puma::CTree.




Puma Reference Manual. Created on 24 Nov 2009.