Go to the documentation of this file.
23 #ifndef __CR_DECLARATION_H__
24 #define __CR_DECLARATION_H__
104 FILE *a_fp, glong a_indent,
105 gboolean a_one_per_line) ;
108 FILE *a_fp, glong a_indent) ;
116 const guchar *a_str) ;
126 gboolean a_one_decl_per_line) ;
CRDeclaration * cr_declaration_append(CRDeclaration *a_this, CRDeclaration *a_new)
cr_declaration_append: @a_this: the current declaration list.
CRDeclaration * cr_declaration_new(CRStatement *a_statement, CRString *a_property, CRTerm *a_value)
cr_declaration_new: @a_statement: the statement this declaration belongs to.
CRDeclaration * cr_declaration_get_from_list(CRDeclaration *a_this, int itemnr)
cr_declaration_get_from_list: @a_this: the current instance of CRDeclaration.
CRStatement * parent_statement
CRDeclaration * cr_declaration_append2(CRDeclaration *a_this, CRString *a_prop, CRTerm *a_value)
cr_declaration_append2: @a_this: the current declaration list.
CRTerm * value
The value of the property.
gint cr_declaration_nr_props(CRDeclaration const *a_this)
cr_declaration_nr_props: @a_this: the current instance of CRDeclaration.
CRDeclaration * cr_declaration_parse_list_from_buf(const guchar *a_str, enum CREncoding a_enc)
cr_declaration_parse_list_from_buf: @a_str: the input buffer that contains the list of declaration to...
typedefG_BEGIN_DECLS struct _CRString CRString
CRParsingLocation location
CRDeclaration * cr_declaration_prepend(CRDeclaration *a_this, CRDeclaration *a_new)
cr_declaration_prepend: @a_this: the current declaration list.
gboolean cr_declaration_unref(CRDeclaration *a_this)
cr_declaration_unref: @a_this: the current instance of CRDeclaration.
CRDeclaration * cr_declaration_get_by_prop_name(CRDeclaration *a_this, const guchar *a_str)
cr_declaration_get_by_prop_name: @a_this: the current instance of CRDeclaration.
gchar * cr_declaration_to_string(CRDeclaration const *a_this, gulong a_indent)
cr_declaration_to_string: @a_this: the current instance of CRDeclaration.
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec.
void cr_declaration_dump(CRDeclaration const *a_this, FILE *a_fp, glong a_indent, gboolean a_one_per_line)
cr_declaration_dump: @a_this: the current instance of CRDeclaration.
void cr_declaration_destroy(CRDeclaration *a_this)
cr_declaration_destroy: @a_this: the current instance of CRDeclaration.
CRString * property
The property.
CREncoding
Encoding values.
CRDeclaration * cr_declaration_unlink(CRDeclaration *a_decl)
cr_declaration_unlink: @a_decls: the declaration to unlink.
CRDeclaration * cr_declaration_parse_from_buf(CRStatement *a_statement, const guchar *a_str, enum CREncoding a_enc)
cr_declaration_parse_from_buf: @a_statement: the parent css2 statement of this this declaration.
An abstraction of a css2 term as defined in the CSS2 spec in appendix D.1: term ::= [ NUMBER S* | PER...
void cr_declaration_ref(CRDeclaration *a_this)
cr_declaration_ref: @a_this: the current instance of CRDeclaration.
guchar * cr_declaration_list_to_string2(CRDeclaration const *a_this, gulong a_indent, gboolean a_one_decl_per_line)
cr_declaration_list_to_string2: @a_this: the current instance of CRDeclaration.
void cr_declaration_dump_one(CRDeclaration const *a_this, FILE *a_fp, glong a_indent)
cr_declaration_dump_one: @a_this: the current instance of CRDeclaration.
guchar * cr_declaration_list_to_string(CRDeclaration const *a_this, gulong a_indent)
cr_declaration_list_to_string: @a_this: the current instance of CRDeclaration.