Puma::CT_String Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_String:

Inheritance graph

List of all members.


Detailed Description

Tree node representing a string literal.

Public Member Functions

 CT_String (int size)
const char * NodeName () const
CTypeInfoType () const
CExprValueValue () const
CSemValueSemValue () const
virtual CT_StringIsString ()

Static Public Member Functions

static const char * NodeId ()

Constructor & Destructor Documentation

Puma::CT_String::CT_String ( int  size  )  [inline]

Constructor.

Parameters:
size The number of sub-strings.


Member Function Documentation

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

Get the identifier for this node type. Can be compared with NodeName().

Reimplemented in Puma::CT_WideString.

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

Get the name of the node. Can be compared with NodeId().

Implements Puma::CTree.

Reimplemented in Puma::CT_WideString.

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

Get the type of the string.

Returns:
The type or NULL.

Reimplemented from Puma::CTree.

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

Get the string value.

Returns:
The value or NULL.

Reimplemented from Puma::CTree.

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

Get the semantic value info object.

Returns:
The semantic value object or NULL.

Reimplemented from Puma::CTree.

virtual CT_String* Puma::CT_String::IsString (  )  [inline, virtual]

Get this.

Reimplemented from Puma::CTree.


Generated on Sat May 10 03:03:58 2008 for Puma by  doxygen 1.5.5