Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

Ident Class Reference

The Ident State: Just found an ID. More...

#include <state.h>

Inheritance diagram for Ident:

Inheritance graph
[legend]
Collaboration diagram for Ident:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~Ident ()
 do Nothing.
State_t execute (AddTraceString &ats, CxxScanner &scanner, Token *t)
 See Class description.

Static Public Member Functions

static StateInstance ()
 Return the singleton, uses lazy evaluation.

Protected Member Functions

 Ident ()
 Set the name for this class.

Static Private Attributes

static Statemsp_instance = 0
 Singleton data pointer.

Detailed Description

The Ident State: Just found an ID.

Description
By looking at the next token we determine if this id is a function or not.
This class is a singleton. In this way we only construct one Ident object, no matter how many times we switch to the Ident state.

There is almost no data assocated with this class, the state context class (in this case AddTraceString) has the data.


The documentation for this class was generated from the following files:



Project Hosted By:
SourceForge.net Logo