cr-pseudo.h File Reference

#include <stdio.h>
#include <glib.h>
#include "cr-attr-sel.h"
#include "cr-parsing-location.h"

Go to the source code of this file.

Data Structures

struct  _CRPseudo
 The CRPseudo Class. More...

Typedefs

typedef _CRPseudo CRPseudo

Enumerations

enum  CRPseudoType { IDENT_PSEUDO = 0, FUNCTION_PSEUDO }

Functions

CRPseudocr_pseudo_new (void)
 cr_pseudo_new: Constructor of the CRPseudo class.
guchar * cr_pseudo_to_string (CRPseudo *a_this)
 cr_pseudo_to_string: : the current instance of CRPseud.
void cr_pseudo_dump (CRPseudo *a_this, FILE *a_fp)
 cr_pseudo_dump: : the current instance of pseudo : the destination file pointer.
void cr_pseudo_destroy (CRPseudo *a_this)
 cr_pseudo_destroy: : the current instance to destroy.


Typedef Documentation

typedef struct _CRPseudo CRPseudo
 

Definition at line 39 of file cr-pseudo.h.


Enumeration Type Documentation

enum CRPseudoType
 

Enumerator:
IDENT_PSEUDO 
FUNCTION_PSEUDO 

Definition at line 33 of file cr-pseudo.h.


Function Documentation

void cr_pseudo_destroy CRPseudo a_this  ) 
 

cr_pseudo_destroy: : the current instance to destroy.

destructor of the CRPseudo class.

Definition at line 151 of file cr-pseudo.c.

References cr_string_destroy(), _CRPseudo::extra, and _CRPseudo::name.

Referenced by cr_additional_sel_destroy(), and cr_additional_sel_set_pseudo().

void cr_pseudo_dump CRPseudo a_this,
FILE *  a_fp
 

cr_pseudo_dump: : the current instance of pseudo : the destination file pointer.

Dumps the pseudo to a file.

Definition at line 130 of file cr-pseudo.c.

References cr_pseudo_to_string().

CRPseudo* cr_pseudo_new void   ) 
 

cr_pseudo_new: Constructor of the CRPseudo class.

Returns the newly build instance.

Definition at line 38 of file cr-pseudo.c.

guchar* cr_pseudo_to_string CRPseudo a_this  ) 
 

cr_pseudo_to_string: : the current instance of CRPseud.

Returns the serialized pseudo. Caller must free the returned string using g_free().

Definition at line 54 of file cr-pseudo.c.

References _CRPseudo::extra, FUNCTION_PSEUDO, IDENT_PSEUDO, _CRPseudo::name, and _CRPseudo::type.

Referenced by cr_additional_sel_one_to_string(), and cr_pseudo_dump().


Generated on Thu Mar 9 19:18:51 2006 for Libcroco by  doxygen 1.4.6