## cr-pseudo

cr-pseudo

## Synopsis

                        CRPseudo;
    CRPseudo *          cr_pseudo_new                       (void);
    guchar *            cr_pseudo_to_string                 (CRPseudo const *a_this);
    void                cr_pseudo_dump                      (CRPseudo const *a_this,
                                                             FILE *a_fp);
    void                cr_pseudo_destroy                   (CRPseudo *a_this);

## Description

## Details

### CRPseudo

    typedef struct {
            enum CRPseudoType type ;
            CRString *name ;
            CRString *extra ;
            CRParsingLocation location ;
    } CRPseudo;

### cr_pseudo_new ()

    CRPseudo *          cr_pseudo_new                       (void);

Returns : | the newly build instance.

### cr_pseudo_to_string ()

    guchar *            cr_pseudo_to_string                 (CRPseudo const *a_this);

`a_this` : | the current instance of CRPseud.
Returns : | the serialized pseudo. Caller must free the returned string using `g_free()`.

### cr_pseudo_dump ()

    void                cr_pseudo_dump                      (CRPseudo const *a_this,
                                                             FILE *a_fp);

Dumps the pseudo to a file.

`a_this` : | the current instance of pseudo
`a_fp` : | the destination file pointer.

### cr_pseudo_destroy ()

    void                cr_pseudo_destroy                   (CRPseudo *a_this);

destructor of the CRPseudo class.

`a_this` : | the current instance to destroy.