Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

cr-pseudo.h

Go to the documentation of this file.
00001 /* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
00002 
00003 /*
00004  * This file is part of The Croco Library
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of version 2.1 of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00018  * USA
00019  * 
00020  * See COPYRIGHTS file for copyright information
00021  */
00022 
00023 #ifndef __CR_PSEUDO_H__
00024 #define __CR_PSEUDO_H__
00025 
00026 #include <stdio.h>
00027 #include <glib.h>
00028 #include "cr-attr-sel.h"
00029 #include "cr-parsing-location.h"
00030 
00031 G_BEGIN_DECLS
00032 
00033 enum CRPseudoType
00034 {
00035         IDENT_PSEUDO = 0,
00036         FUNCTION_PSEUDO
00037 } ;
00038 
00039 typedef struct _CRPseudo CRPseudo ;
00040 
00041 /**
00042  *The CRPseudo Class.
00043  *Abstract a "pseudo" as defined by the css2 spec
00044  *in appendix D.1 .
00045  */
00046 struct _CRPseudo
00047 {
00048         enum CRPseudoType type ;
00049         CRString *name ;
00050         CRString *extra ;
00051         CRParsingLocation location ;
00052 } ;
00053 
00054 CRPseudo * cr_pseudo_new (void) ;
00055 
00056 guchar * cr_pseudo_to_string (CRPseudo *a_this) ;
00057 
00058 void cr_pseudo_dump (CRPseudo *a_this, FILE *a_fp) ;
00059 
00060 void cr_pseudo_destroy (CRPseudo *a_this) ;
00061 
00062 G_END_DECLS
00063 
00064 #endif /*__CR_PSEUDO_H__*/

Generated on Fri Oct 29 08:29:12 2004 for Libcroco by  doxygen 1.3.9.1