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

Fdecl Class Reference

In the Argument list for a function. More...

#include <state.h>

Inheritance diagram for Fdecl:

Inheritance graph
Collaboration diagram for Fdecl:

Collaboration graph
List of all members.

Public Member Functions

 ~Fdecl ()
 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

 Fdecl ()
 Set the name for this class.

Static Private Attributes

static Statemsp_instance = 0
 Singleton data pointer.

Detailed Description

In the Argument list for a function.

Here we are building up the argument list until the trailing ')'. When that is reached we switch to the CSTMT state
This class is a singleton. In this way we only construct one Fdecl object, no matter how many times we switch to the Fdecl 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: Logo