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

_CRString Struct Reference

This is a ship implementation of string based on GString. More...

#include <cr-string.h>


Data Fields

GString * stryng
 The GString where all the string operation happen.
CRParsingLocation location
 The parsing location storage area.


Detailed Description

This is a ship implementation of string based on GString.

Actually, the aim of CRString is to store the parsing location (line,column,byte offset) at which a given string has been parsed in the input CSS. So this class has a gstring field of type GString that users can freely manipulate, and also a CRParginLocation type where the parsing location is store. If you don't want to deal with parsing location stuffs, then use GString instead. If we were in C++ for example, CRString would just inherit GString and just add accessors to the CRParsingLocation data ... but we are not and we still have to provide the parsing location information.

Definition at line 50 of file cr-string.h.


Field Documentation

CRParsingLocation _CRString::location
 

The parsing location storage area.

Definition at line 59 of file cr-string.h.

Referenced by cr_string_dup(), and cr_tknzr_get_next_token().

GString* _CRString::stryng
 

The GString where all the string operation happen.

Definition at line 55 of file cr-string.h.

Referenced by cr_additional_sel_one_to_string(), cr_additional_sel_to_string(), cr_attr_sel_to_string(), cr_declaration_get_by_prop_name(), cr_declaration_to_string(), cr_prop_list_lookup_prop(), cr_pseudo_to_string(), cr_simple_sel_compute_specificity(), cr_simple_sel_one_to_string(), cr_simple_sel_to_string(), cr_string_destroy(), cr_string_dup(), cr_string_dup2(), cr_string_new(), cr_string_new_from_gstring(), cr_string_new_from_string(), cr_string_peek_raw_str(), cr_string_peek_raw_str_len(), cr_style_set_style_from_decl(), cr_term_one_to_string(), and cr_term_to_string().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 29 08:29:14 2004 for Libcroco by  doxygen 1.3.9.1