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>

Inheritance diagram for Puma::CT_DesignatorSeq:
Inheritance graph

List of all members.

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.

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:
sizeInitial 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.