Puma Reference Manual Puma::CT_GnuLocalLabelStmt Class Reference



Puma::CT_GnuLocalLabelStmt Class Reference

Tree node representing a list of local labels. More...

#include <Puma/GnuCTree.h>

Inheritance diagram for Puma::CT_GnuLocalLabelStmt:
Inheritance graph

List of all members.

Public Member Functions

 CT_GnuLocalLabelStmt ()
 Constructor.
const char * NodeName () const
 Get the name of the node.
int Sons () const
 Get the number of sons.

Static Public Member Functions

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

Detailed Description

Tree node representing a list of local labels.

Example:

 __label__ L1, L2; 

Constructor & Destructor Documentation


Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

int Puma::CT_GnuLocalLabelStmt::Sons ( ) const [inline, virtual]

Get the number of sons.

Reimplemented from Puma::CT_List.