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 struct _CRPseudo CRPseudo

Enumerations

enum  CRPseudoType { IDENT_PSEUDO = 0, FUNCTION_PSEUDO }

Functions

CRPseudocr_pseudo_new (void)
 : The definition of the CRPseudo class.
guchar * cr_pseudo_to_string (CRPseudo const *a_this)
 cr_pseudo_to_string: : the current instance of CRPseud.
void cr_pseudo_dump (CRPseudo const *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

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 152 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 const *  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 131 of file cr-pseudo.c.

References cr_pseudo_to_string().

CRPseudo* cr_pseudo_new ( void   ) 

: The definition of the CRPseudo class.

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 const *  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 55 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(), cr_additional_sel_to_string(), and cr_pseudo_dump().


Generated on Wed Feb 4 16:36:54 2009 for Libcroco by  doxygen 1.5.5