Puma Reference Manual Puma: Puma::CT_Error Class Reference



Puma::CT_Error Class Reference

#include <Puma/CTree.h>

Inheritance diagram for Puma::CT_Error:

Inheritance graph

List of all members.


Detailed Description

Error tree node that is inserted into the tree for syntactic constructs that could not be parsed.


Public Member Functions

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.


Member Function Documentation

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

Get the identifier for this node type.

Can be compared with NodeName().

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

Get the name of the node.

Can be compared with NodeId().

Implements Puma::CTree.

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

Get the number of sons.

Implements Puma::CTree.




Puma Reference Manual. Created on 11 Jul 2008.