Puma Reference Manual Puma: Puma::CT_DesignatorSeq Class Reference



Puma::CT_DesignatorSeq Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_DesignatorSeq:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a designator sequence.

Example:

 .a.b.c 

Public Member Functions

 CT_DesignatorSeq (int size=1)
 Constructor.
const char * NodeName () const
 Get the name of the node.
CTypeInfo * Type () const
 Get the type of the entity to initialize.
CExprValue * Value () const
 Get the value of the entity to initialize.
CSemValue * SemValue () const
 Get the semantic value object.

Static Public Member Functions

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

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.

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.

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

Get the semantic value object.

Reimplemented from Puma::CTree.




Puma Reference Manual. Created on 11 Jul 2008.